- Plesk for Linux
- firstname.lastname@example.org is hosted on an external mail server.
- Mail list is working correctly with mailboxes hosted on Plesk server.
An attempt to send a messages through the Mail list (mailman) to a mailboxes on
example.comfails with the following error in
postfix/smtpd: NOQUEUE: reject: RCPT from localhost[127.0.0.1]: 554 5.7.1
<email@example.com>: Relay access denied; from=<firstname.lastname@example.org> to=<example.com> proto=ESMTP helo=<localhost.localdomain>
(21084) ras: email@example.com current bounce score: 2.0
delivery to firstname.lastname@example.org failed with code -1: Server not connected
delivery to email@example.com failed with code -1: [Errno 104] Connection reset by peer
delivery to firstname.lastname@example.org 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.
localhostIPv4 and IPv6 addresses are both white listed in Plesk:
Plesk > Tools & Settings > Mail Server Settings > White List tab > Add Network .
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
# service postfix reload
IPv4 and IPv6 addresses into the white list will fix issue with mail lists. But mails sent from
will not be checked: neither webmail and php scripts nor mail lists.
Outgoing mail messages sent from IP addresses that are not in white list are still processed by mail handlers.
For instructions about configuring mailing lists please check Mailing Lists section in Administrator's Guide.