• If you are still using CentOS 7.9, it's time to convert to Alma 8 with the free centos2alma tool by Plesk or Plesk Migrator. Please let us know your experiences or concerns in this thread:
    CentOS2Alma discussion

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