LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Server (http://www.linuxquestions.org/questions/linux-server-73/)
-   -   Postfix Configuration: smtpd_recipient_restrictions parameter sanity check (http://www.linuxquestions.org/questions/linux-server-73/postfix-configuration-smtpd_recipient_restrictions-parameter-sanity-check-659786/)

Ghostwheel 08-01-2008 12:51 PM

Postfix Configuration: smtpd_recipient_restrictions parameter sanity check
 
I am setting up postfix as a store & forward server for my main mail domain. I am fairly satisfied with the rest of the configuration but I wanted to run this past other people.

My goal: stop spam at the backup server before it is relayed.

snip of main.cf
Code:

smtpd_recipient_restrictions =
        reject_unauth_destination,
        permit_mynetworks,
        reject_invalid_hostname,
        reject_non_fqdn_hostname,
        reject_non_fqdn_sender,
        reject_non_fqdn_recipient,
        reject_unknown_sender_domain,
        reject_unknown_recipient_domain,
        reject_rbl_client list.dsbl.org,
        reject_rbl_client zen.spamhaus.org,
        reject_rbl_client cbl.abuseat.org,
        reject_rbl_client dul.dnsbl.sorbs.net,
        check_relay_domains,
        permit

Thoughts? Suggestions?

Mr. C. 08-01-2008 01:07 PM

See my comments in the first scrolling box here:
http://www.linuxquestions.org/questi...t_restrictions

Usually you have (the default order):

Code:

        permit_mynetworks,
        reject_unauth_destination,



All times are GMT -5. The time now is 09:05 AM.