# SPAM FILTER SECTION STARTS
#
# Review restrictions that they are suitable for your use and
# add this file for example to top of main.cf file.
#
# Look more info about spam filtering options at
# http://www.postfix.org/uce.html
#
# SpamCop Blocklist
# http://www.spamcop.net/bl.shtml
#
# Spamhaus
# http://www.spamhaus.org/
#
# Anonymous Postmasters Early Warning System
# http://www.apews.org/
#
# Author: Petri.Koistinen@iki.fi
# Comments and improvements are welcome.
# (This is filter is for Postfix 1.1 release.)
# (See also new filter for Postfix 2.1 and later.)

header_checks = regexp:/etc/postfix/header_checks

maps_rbl_domains =
        bl.spamcop.net
        zen.spamhaus.org
        l2.apews.org

disable_vrfy_command = yes
smtpd_helo_required = yes

smtpd_recipient_restrictions =
        permit_mynetworks
        reject_unauth_destination
	check_recipient_access hash:/etc/postfix/recipient_access
        reject_non_fqdn_recipient
        reject_non_fqdn_sender
        reject_non_fqdn_hostname
        reject_invalid_hostname
        reject_unknown_recipient_domain
        reject_unknown_sender_domain
        reject_unknown_hostname
        reject_unknown_client
        reject_maps_rbl

# SPAM FILTER SECTION ENDS
# last modified: Sunday, 10-Mar-2013 00:48:07 EET