Applicable to:
- Plesk for Linux
Symptoms
-
When sending an email via Roundcube webmail, the operation fails with:
PLESK_INFO: SMTP Error (250): Authentication failed.
PLESK_INFO: SMTP Error (554): Failed to add recipient "john_doe@example.com" (5.7.1 <john_doe@example.com>: Relay access denied)."
-
One of the following error messages appears in
/var/log/plesk-roundcube/errors
:CONFIG_TEXT: SMTP Error: Authentication failure: SMTP server does not support authentication (Code: ) in /usr/share/psa-roundcube/program/lib/Roundcube/rcube.php
CONFIG_TEXT: SMTP Error: Authentication failure: Invalid response code received from server (Code: 502) in /usr/share/psa-roundcube/program/lib/Roundcube/rcube.php on line 1667
-
The following error messages appear in
/var/log/maillog
:CONFIG_TEXT: postfix/smtpd[104223]: connect from localhost[::1]
postfix/smtpd[104223]: NOQUEUE: reject: RCPT from localhost[::1]: 554 5.7.1 <john_doe@example.org>: Relay access denied; from=<john_doe@example.com> to=<john_doe@example.org> proto=ESMTP helo=<webmail.example.com>
postfix/smtpd[104223]: disconnect from localhost[::1]
Cause
The Relaying option is set to closed in Plesk at Plesk > Tools & Settings > Mail Server Settings.
With closed relay, the mail server accepts only messages addressed to the users who have mailboxes on this server. The customers will not be able to send any mail through the outgoing SMTP server, therefore, it is not recommended to close the mail relay.
Resolution
-
Go to Tools & Settings > Mail Server Settings.
-
Switch Relaying option to the authorization is required: SMTP.
-
Click OK to apply the changes.
Comments
0 comments
Please sign in to leave a comment.