• We value your experience with Plesk during 2026
    Please help us understand which Plesk features made your work easier this year, what is still missing and how AI should help you in Plesk ?
    Take this short 5-minutes survey. Your answers go straight into the Plesk roadmap for 2027.

Postfix do not reject mail for non-existent domains

metalalisa

Basic Pleskian
I have a lot of SPAM, I suggest. There are a lot of messages from MAILER-DAEMON for non-existent users (for example [email protected]) in mail queue.

My configuration is:
psa v10.3.1_build1013110726.09 os_CentOS 5

/etc/postfix/main.cf contents rules:
Code:
smtpd_sender_restrictions =
    check_sender_access hash:/var/spool/postfix/plesk/blacklists,
    permit_sasl_authenticated,
    check_client_access pcre:/var/spool/postfix/plesk/non_auth.re,
    reject_unknown_sender_domain,
    warn_if_reject reject_unverified_sender
smtp_send_xforward_command = yes
smtpd_authorized_xforward_hosts = 127.0.0.0/8 [::1]/128
smtpd_sasl_auth_enable = yes
smtpd_recipient_restrictions =
    permit_mynetworks,
    check_client_access pcre:/var/spool/postfix/plesk/no_relay.re,
    permit_sasl_authenticated,
    reject_unauth_destination,
    reject_unknown_recipient_domain,
    reject_unverified_recipient,
    reject_unknown_sender_domain,
    reject_non_fqdn_sender,
    reject_non_fqdn_recipient
 
Back
Top