# Spam Control # See # 1. http://www.bagley.org/~doug/spam/postfix.shtml. # 2. http://www.mengwong.com/misc/postfix-uce-guide.txt # 3. http://www.zdnet.com.au/itmanager/technology/story/0,2000029587,20276680,00.htm # [3] agrees that reject_unknown_client tends to nuke legitimate mail. # Insert warn_if_reject immediately before rule to test it first. smtpd_soft_error_limit = 3 smtpd_hard_error_limit = 30 default_process_limit = 10 disable_vrfy_command = yes unknown_client_reject_code = 550 unknown_address_reject_code = 550 smtpd_helo_required = yes strict_rfc821_envelopes = yes local_recipient_maps = $alias_maps unix:passwd.byname smtpd_recipient_restrictions = permit_mynetworks check_recipient_access hash:/etc/postfix/access check_sender_access hash:/etc/postfix/access check_client_access hash:/etc/postfix/access check_client_access hash:/var/lib/pop-before-smtp/hosts reject_unknown_hostname reject_non_fqdn_hostname reject_invalid_hostname reject_non_fqdn_sender reject_unknown_sender_domain reject_unknown_recipient_domain reject_unauth_pipelining warn_if_reject reject_maps_rbl check_relay_domains