Spamassassin Greeting Card Question

Steve Freegard steve.freegard at fsl.com
Thu Jul 26 17:05:22 IST 2007


Julian Field wrote:
> Err... your rules have to have different names. You can't give a bunch 
> of rules the same name, or else how does it tell the difference between 
> which rule score (and description) applies to which rule?

And why don't you condense all these rules into a single rule?

header CBGREET99 Subjet =~ /^You've received (?:a|an) 
(?:greeting){0,1}\s{0,1}(?:e|post){0,1}card from a (?:.+)!$/
score CBGREET99 99
describe CBGREET99 Greeting card spam and virus

Would probably work (untested).

Cheers,
Steve.


More information about the MailScanner mailing list