How to regex to block this spammer ?

Discuss our MailScanner install script and MailScanner itself
Post Reply
altomarketing
Junior Member
Posts: 1
Joined: 28 Jun 2016, 16:48

How to regex to block this spammer ?

Post by altomarketing »

Hi !

Sorry im new at this , so i need your help.

I notice in my servers that spammers rotates ips, rotate domains, but all spam we receive are sent using Interinspire Email marketer AKA = IEM

I would like to block ANY inbound emails to the server that has this line:

Code: Select all

List-Unsubscribe: <http://%%MATCHANYDOMAIN%%/unsubscribe.php?M=
How can i do it ?
Sergio
Junior Member
Posts: 1687
Joined: 12 Dec 2006, 14:56

Re: How to regex to block this spammer ?

Post by Sergio »

What you are looking for is an Spamassassin rule to block that emails, the rule could be as follows:

Code: Select all

body        Check_Body   /List-Unsubscribe\: \<http\://%%MATCHANYDOMAIN%%/unsubscribe\.php\?M\=/i
describe  Check_Body   Unsubscribe List spam
score       Check_Body   5.0
Sergio
Post Reply