post...@corwyn.net wrote:
what I'd like to do is block all emails from individual contries based on
sender email address (.au, .jp, etc)
check_helo_access regexp:/etc/postfix/map_tld
check_reverse_client_hostname_access regexp:/etc/postfix/map_tld
check_sender_access regexp:/etc/postfix/map_tld
-----------
# map_tld
#
# stop testing on one of these matches
/\.(ca|com|edu|gov|mil|net|org|us)$/ DUNNO
#
# example specific rejection
/\.(info|vn|za)$/ REJECT
#
# example generic .cc rejection
/\.[a-z][a-z]$/ REJECT
#
# example additional restrictions, rather than reject
/\.(info|vn|za)$/
reject_unknown_helo_hostname,reject_unknown_client_hostname