Re: rejecting emails so that only the mx can accept mails

From: Noel Jones (no email)
Date: Fri Sep 16 2005 - 16:27:31 EDT

  • Next message: Robert Felber: "backup MX pointing to 127.0.0.1"

    At 02:50 PM 9/16/2005, Gordon Thagard wrote:
    >Postfix 2.2.5 on shell-access machine
    >
    ># cat /etc/postfix/main.cf
    >...
    >smtpd_recipient_restrictions =
    > check_recipient_access dbm:/etc/postfix/block_mysubdomains,
    > reject_unauth_destination,
    > permit
    >...
    >
    ># cat /etc/postfix/block_mysubdomains
    >eng.fsu.edu DUNNO
    >.eng.fsu.edu REJECT

    The syntax ".example.com" only works if you set
    parent_domain_matches_subdomains =
    (empty value)
    http://www.postfix.org/postconf.5.html#parent_domain_matches_subdomains

    An alternative is to use the regexp table as suggested earlier, but
    with check_recipient_access.

    -- 
    Noel Jones 
    

  • Next message: Robert Felber: "backup MX pointing to 127.0.0.1"





    Hosted Email Solutions

    Invaluement Anti-Spam DNSBLs



    Powered By FreeBSD   Powered By FreeBSD