1. Please take a little time for this simple survey! Thank you for participating!
    Dismiss Notice
  2. Dear Pleskians, please read this carefully! New attachments and other rules Thank you!
    Dismiss Notice
  3. Dear Pleskians, I really hope that you will share your opinion in this Special topic for chatter about Plesk in the Clouds. Thank you!
    Dismiss Notice

Postfix do not reject mail for non-existent domains

Discussion in 'Plesk 10.x for Linux Issues, Fixes, How-To' started by metalalisa, Oct 10, 2011.

  1. metalalisa

    metalalisa Basic Pleskian

    18
    85%
    Joined:
    Dec 9, 2010
    Messages:
    61
    Likes Received:
    0
    I have a lot of SPAM, I suggest. There are a lot of messages from MAILER-DAEMON for non-existent users (for example gunshotre14@fede-hiero.com) 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
    
    
     
  2. metalalisa

    metalalisa Basic Pleskian

    18
    85%
    Joined:
    Dec 9, 2010
    Messages:
    61
    Likes Received:
    0
    Igor? Are you here?
     
Loading...