- Plesk for Linux
- Unable to send messages through the Mail list (mailman) to mailboxes on
example.com.The following error appears in
NOQUEUE: reject: RCPT from localhost[::1]: 454 4.7.1 <email@example.com>: Relay access denied; from=<firstname.lastname@example.org> to=<email@example.com> proto=ESMTP helo=<mail.example.com>or:
NOQUEUE: reject: RCPT from localhost[127.0.0.1]: 554 5.7.1 <firstname.lastname@example.org>: Relay access denied; from=<email@example.com> to=<example.com> proto=ESMTP helo=<localhost.localdomain>
(21084) ras: firstname.lastname@example.org current bounce score: 2.0
delivery to email@example.com failed with code -1: Server not connected
delivery to firstname.lastname@example.org failed with code -1: [Errno 104] Connection reset by peer
delivery to email@example.com failed with code 553: sorry, that domain isn't in my list of allowed rcpthosts (#5.7.1)
localhostIPv4 and IPv6 addresses are not added in server white list.
- Ensure that
localhostIPv4 and IPv6 addresses are both whitelisted in Plesk:
Plesk > Tools & Settings > Mail Server Settings > White List tab > Add Network. The following IPv4 should be added for a localhost: 127.0.0.1. The following IPv6 should be added for a localhost: ::1/128
- Connect to the server using SSH/RDP.
- Add permit_mynetworks parameter into the smtpd_recipient_restrictions in
/etc/postfix/main.cf. By default it should be:
smtpd_recipient_restrictions = permit_mynetworks, permit_sasl_authenticated, reject_unauth_destination
- Reload postfix:
# service postfix reload
IPv4 and IPv6 addresses into the white list makes it impossible to use Outgoing Mail Control.
Outgoing mail messages sent from IP addresses that are not in the white list are still processed by mail handlers.
For instructions about configuring mailing lists please check Mailing Lists section in Administrator's Guide.