Spam rules

Denis Beauchemin Denis.Beauchemin at
Thu Jul 17 13:21:40 IST 2014


Create a SpamAssassin rule in /etc/MailScanner/spam.assassin.prefs.conf:
Describe MYRULE01 Reply To: someone at
Header MYRULE01 ALL =~ /\bsomeone\@somewhere\.com\b/i
Score MYRULE01 10


-----Message d'origine-----
De : mailscanner-bounces at [mailto:mailscanner-bounces at] De la part de Valentin Laskov
Envoyé : 17 juillet 2014 07:35
À : MailScanner discussion
Objet : Spam rules

Hi all!

I'm receiving spam from (for ex.) someone at . I set this in my spam.blacklist.rules:

From:  someone at  yes

but this does not work because someone at is not From: address but Replay To: address in the letters headers. From: 
address changes frequently.

How can I mark this as spam ?

Valentin Laskov 

MailScanner mailing list
mailscanner at

Before posting, read

Support MailScanner development - buy the book off the website! 

More information about the MailScanner mailing list