> On 20 Sep 2016, at 21:10, li...@lazygranch.com wrote:
> What is the simplest way to block a TLD?
Put the offending TLD in a map and have that map referenced through
check_sender_access and/or check_client_access.
smtpd_client_restrictions = permit_mynetworks
mtpd_sender_restrictions = permit_mynetworks
and in /etc/postfix/spamsources:
xyz 500 This TLD sends spam - get lost.