Multiple SpamAssassin Rule Actions in ruleset not obeyed??

Laskie, Norman NWL002 at shsu.edu
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.

Thanks,
Norman

-----Original Message-----
From: mailscanner-bounces at lists.mailscanner.info [mailto:mailscanner-bounces at lists.mailscanner.info] 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 shsu.edu, JKF_ANTI_PHISH=>not-deliver,store,forward 
postmaster at shsu.edu

There should be a comma and a space better "... at shsu.edu" 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 shsu.edu
> FromOrTo:      default JKF_ANTI_PHISH->not-deliver,store,forward postmaster at shsu.edu
>
>
> Oh yea, I hate phishers... HAHA
>
>
> Thanks in advance,
> Norman
>    

Jules

-- 
Julian Field MEng CITP CEng
www.MailScanner.info
Buy the MailScanner book at www.MailScanner.info/store

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: http://www.jules.fm/julesfm.asc


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

-- 
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