non spam actions ruleset not working

Leif Neland mailscanner-user at NELAND.DK
Sat Jun 26 06:31:15 IST 2004


Peter Bonivart <peter at UCGBOOK.COM> wrote:
> mailscanner-user wrote:
>> I've tried different actions in a ruleset for non spam actions, but
>> none works; the mail just gets delivered
>>
>> in MailScanner.conf:
>>
>> Non Spam Actions = %rules-dir%/clean.send.rules
>>
>> in /etc/MailScanner/rules/clean.send.rules:
>>
>> ToOrFrom:       default         deliver
>> From:   some at dom.ain  forward other at dom.ain
>> To:    else at dom.ain    store
>
> Have you tried putting the default line last? Think of default as *@*
> and the rules are read from the top.

I didn't think of that, because the default is at top of other rules, and
they stil work as expected.
But in "Non Spam Actions" it helped I put the default at last.
I hate inconsistencies...

Leif

-------------------------- MailScanner list ----------------------
To leave, send    leave mailscanner    to jiscmail at jiscmail.ac.uk
Before posting, please see the Most Asked Questions at
http://www.mailscanner.biz/maq/     and the archives at
http://www.jiscmail.ac.uk/lists/mailscanner.html



More information about the MailScanner mailing list