• Introducing WebPros Cloud - a fully managed infrastructure platform purpose-built to simplify the deployment of WebPros products !  WebPros Cloud enables you to easily deliver WebPros solutions — without the complexity of managing the infrastructure.
    Join the pilot program today!
  • Support for BIND DNS has been removed from Plesk for Windows due to security and maintenance risks.
    If a Plesk for Windows server is still using BIND, the upgrade to Plesk Obsidian 18.0.70 will be unavailable until the administrator switches the DNS server to Microsoft DNS.

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