Multiple SpamAssassin Rule Actions in ruleset not obeyed??

Laskie, Norman NWL002 at
Thu Jan 22 17:13:35 GMT 2009

Thank you.  I'll try it in a few.  I believe I tried before in MailScanner.conf but it didn't want to cooperate for some reason, but that was many moons ago and I have slept quite a bit since then.


-----Original Message-----
From: mailscanner-bounces at [mailto:mailscanner-bounces at] On Behalf Of Julian Field
Sent: Thursday, January 22, 2009 10:40 AM
To: MailScanner discussion
Subject: Re: Multiple SpamAssassin Rule Actions in ruleset not obeyed??

I never defined the behaviour you might see if you have *2* "default" 
rules in the same ruleset. I hate to think what might happen.
What you probably meant was this (all on one line)
FromOrTo: default SHSU_PHISH=>not-deliver,store-spam,forward 
postmaster at, JKF_ANTI_PHISH=>not-deliver,store,forward 
postmaster at

There should be a comma and a space better "... at" and "JKF_ANTI...".

On 22/1/09 14:47, Laskie, Norman wrote:
> I have the following two rules defined in spamassassin.rule.actions.rules, but it appears that when both are enabled the actions aren't obeyed.  The messages in question still get tagged with the appropriate rule, but are still delivered to the end user (in this case me) and aren't forwarded onto the postmaster account.
> SpamAssassin Rule Actions = %rules-dir%/spamassassin.rule.actions.rules
> FromOrTo:      default SHSU_PHISH=>not-deliver,store-spam,forward postmaster at
> FromOrTo:      default JKF_ANTI_PHISH->not-deliver,store,forward postmaster at
> Oh yea, I hate phishers... HAHA
> Thanks in advance,
> Norman


Julian Field MEng CITP CEng
Buy the MailScanner book at

MailScanner customisation, or any advanced system administration help?
Contact me at Jules at Jules.FM

PGP footprint: EE81 D763 3DB0 0BFD E1DC 7222 11F6 5947 1415 B654
PGP public key:

This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.

MailScanner mailing list
mailscanner at

Before posting, read

Support MailScanner development - buy the book off the website! 

More information about the MailScanner mailing list