spamassassin-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Julian Yap <julianok...@gmail.com>
Subject Re: Low scores
Date Wed, 17 Mar 2010 19:15:33 GMT
On Fri, Mar 12, 2010 at 3:44 PM, Julian Yap <julianokyap@gmail.com> wrote:

> On Thu, Mar 11, 2010 at 7:58 AM, micah anderson <micah@riseup.net> wrote:
>
>> On Tue, 9 Mar 2010 11:56:56 -1000, Julian Yap <julianokyap@gmail.com>
>> wrote:
>> > Just wanted to add that this particular line is incorrect:
>> > meta SC_HAM (USER_IN_WHITELIST||USER_IN_DEF_WHITELIST||
>> > USER_IN_ALL_SPAM_TO||NO_RELAYS||ALL_TRUSTED||USER_IN_BLACKLIST_TO||
>> > USER_IN_BLACKLIST)
>> >
>> > That will have Blacklisted email filters classified as ham.
>>
>> Interesting, thanks for the reply from an old thread.
>>
>> I got this list from:
>> http://wiki.apache.org/spamassassin/ShortcircuitingRuleset which seems
>> to be something that Justin Mason put together. I have CC'd Justin on
>> this email.
>>
>> This list specifies that this was a good shortcircuit rule to have first
>> because these are non-network-based whitelists, locally-generated
>> messages, messages via a trusted relay chain, simple non-network based
>> blacklists.
>>
>> Mine now reads:
>>
>> meta SC_HAM
>> (USER_IN_WHITELIST||USER_IN_DEF_WHITELIST||USER_IN_ALL_SPAM_TO||SUBJECT_IN_WHITELIST||NO_RELAYS||ALL_TRUSTED||USER_IN_BLACKLIST_TO||USER_IN_BLACKLIST||SUBJECT_IN_BLACKLIST)
>> priority SC_HAM -1000
>> shortcircuit SC_HAM ham
>> score SC_HAM -20
>>
>> Which has the difference of also including "SUBJECT_IN_WHITELIST", and
>> "SUBJECT_IN_BLACKLIST"... but now I am wondering if this is the right
>> thing to do.
>>
>> I'm very curious about resolving this, it does seem like a bad setup and
>> it is being taken as gospel from the spamassassin wiki, but perhaps
>> there is something that we are not understanding here that Justin can
>> clarify?
>>
>
> I'm pretty sure yours is wrong.  You need to take out the the rules which
> apply to Spam in spam short circuiting.
>
> Here's what I have for my 'ham' section:
> meta SC_HAM (USER_IN_WHITELIST||USER_IN_ALL_SPAM_TO||ALL_TRUSTED)
>
> priority SC_HAM -1000
> shortcircuit SC_HAM ham
> score SC_HAM -1
>
> Here is my 'spam' section:
> meta SC_SPAM (USER_IN_BLACKLIST_TO||USER_IN_BLACKLIST)
> priority SC_SPAM -950
> shortcircuit SC_SPAM spam
> score SC_SPAM 1
>

As an update to this, I rewrote the rules section of this Wiki page:
http://wiki.apache.org/spamassassin/ShortcircuitingRuleset

- Julian

Mime
View raw message