- Plesk for Linux
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 "email@example.com" (5.7.1 <firstname.lastname@example.org>: Relay access denied)."
One of the following error messages appears in
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
CONFIG_TEXT: postfix/smtpd: connect from localhost[::1]
postfix/smtpd: NOQUEUE: reject: RCPT from localhost[::1]: 554 5.7.1 <email@example.com>: Relay access denied; from=<firstname.lastname@example.org> to=<email@example.com> proto=ESMTP helo=<webmail.example.com>
postfix/smtpd: disconnect from localhost[::1]
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.
Go to Tools & Settings > Mail Server Settings.
Switch Relaying option to the authorization is required: SMTP.
Click OK to apply the changes.
Please sign in to leave a comment.