Mail users cannot not receive messages: "Relay access denied"

Created:

2016-11-16 13:04:34 UTC

Modified:

2017-04-24 11:04:39 UTC

1

Was this article helpful?


Have more questions?

Submit a request

Mail users cannot not receive messages: "Relay access denied"

Applicable to:

  • Plesk 12.5 for Linux
  • Plesk Onyx for Linux
  • Plesk 11.0 for Linux
  • Plesk 11.5 for Linux
  • Plesk 12.0 for Linux

Symptoms

Messages are not being delivered to mail users in Plesk. The following error is shown in the /usr/local/psa/var/log/maillog log:

postfix/smtpd[9618]: connect from mail-ee0-f46.google.com
postfix/smtpd[9618]: NOQUEUE: reject: RCPT from mail-ee0-f46.google.com: 554 5.7.1 Relay access denied; from=<testmailforsmth@gmail.com> to=<admin@domain.tld> proto=ESMTP helo=<mail-ee0-f46.google.com>
postfix/smtpd[9618]: disconnect from mail-ee0-f46.google.com
/usr/lib64/plesk-9.0/psa-pc-remote[9425]: Message aborted.
/usr/lib64/plesk-9.0/psa-pc-remote[9425]: Message aborted.

Cause

There could be several possible causes for this issue:

  1. Postfix databases that contain information about the hosted mail domains\mailboxes are corrupted.
  2. The pc-remote service is not running:
    # /etc/init.d/pc-remote status
    psa-pc-remote is stopped

    In case of systemd:
    # systemctl restart pc-remote.service
  3. Mail service is switched off for a domain, or the domain itself is disabled in Plesk.

Resolution

Use one of the following solutions depending on the root cause of your issue from above:

  1. Run the mchk utility to rebuild Postfix databases from scratch:
    /usr/local/psa/admin/sbin/mchk --without-spam
    Start the service:
    # /etc/init.d/pc-remote start

    In case of systemd use:

    # systemctl restart pc-remote.service
  2. Check that 'Mail service' is enabled for the subscription at Subscription > Mail > Change Settings Activate mail service on domain . If it is not enabled, turn it on.

Have more questions? Submit a request

2 Comments

  • 0
    Avatar
    Greg Sims

    I'm running CentOS and 12.5.30 Update #60.  

    [root@ray06 log]# /etc/init.d/pc-remote start
    bash: /etc/init.d/pc-remote: No such file or directory

    This is not very useful.  Greg

     

  • 0
    Avatar
    Pavel Rozental

    Hello, I have updated article, you can use "service pc-remote restart" or "systemctl restart  pc-remote.service" to restart pc-remote

Please sign in to leave a comment.