Spam rules

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


Valentin,

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

Denis

-----Message d'origine-----
De : mailscanner-bounces at lists.mailscanner.info [mailto:mailscanner-bounces at lists.mailscanner.info] 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 somewhere.com . I set this in my spam.blacklist.rules:

From:  someone at somewhere.com  yes

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

How can I mark this as spam ?

Regards!
Valentin Laskov 

-- 
MailScanner mailing list
mailscanner at lists.mailscanner.info
http://lists.mailscanner.info/mailman/listinfo/mailscanner

Before posting, read http://wiki.mailscanner.info/posting

Support MailScanner development - buy the book off the website! 


More information about the MailScanner mailing list