Weird problem with local SA tests

Matt Kettler mkettler at EVI-INC.COM
Mon Mar 28 20:01:31 IST 2005


    [ The following text is in the "ISO-8859-1" character set. ]
    [ Your display is set for the "US-ASCII" character set.  ]
    [ Some characters may be displayed incorrectly. ]

Robert Waldner wrote:

>Hi!
>
>Something tells me I haven't had enough coffee yet.
>
>I have a couple local tests defined in spam.assassin.prefs.conf, for
> example:
>
>header MAILSCANNER      Sender =~ /.*\<MAILSCANNER\@JISCMAIL\.AC\.UK\>.*/i
>describe MAILSCANNER    MailScanner mailing list
>score MAILSCANNER       -3
>
>This works as expected. However, any test I define after that one is
> ignored:
>
>header SPAM-L           Sender =~ /.*\<SPAM-L\@PEACH\.EASE\.LSOFT\.COM>.*/i
>describe SPAM-L         SPAM-L
>score SPAM-L            -5
>
>I tried reversing the order, and, yes, it's always only the first test
> that works. I bet it's just something I overlooked, but what?
>

Hmm, can you post an example "Sender" header for Spam-L? I'm not on that
list, so I can't begin to guess why it wouldn't match without looking at
the header you expect it would match..

------------------------ MailScanner list ------------------------
To unsubscribe, email jiscmail at jiscmail.ac.uk with the words:
'leave mailscanner' in the body of the email.
Before posting, read the MAQ (http://www.mailscanner.biz/maq/) and
the archives (http://www.jiscmail.ac.uk/lists/mailscanner.html).

Support MailScanner development - buy the book off the website!




More information about the MailScanner mailing list