Tell ya what. Let's hold the suggestions here. This one looks like something I 
can handle. (I really need things spelled out.)

BTW, the SpamAssassin enlist trick caught about 20% of this flavor of spam. But 
I'm really OK will killing the TLD. 

I did some googling on this and some claim Baracuda has this spam style licked, 
but I don't find that to be the case. I do have Baracuda as my first RBL.

I didn't mention it but the odd thing is this .stream spam goes to one email 
account. Perhaps in a daze I clicked unsubscribe. 

Thanks all for the suggestions.

  Original Message  
From: Jim Reid
Sent: Tuesday, September 20, 2016 1:56 PM
Cc: Postfix Users
Subject: Re: TLD blocking revisited

> On 20 Sep 2016, at 21:10, 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
check_client_access hash:/etc/postfix/spamsources

mtpd_sender_restrictions = permit_mynetworks
check_sender_access hash:/etc/postfix/spamsources

and in /etc/postfix/spamsources:

xyz     500 This TLD sends spam - get lost.

Reply via email to