From: "Bob George" <[EMAIL PROTECTED]>

> Martin Lyberg wrote:
>
> >I have the following rule in my local.cf:
> >
> >whitelist_to [EMAIL PROTECTED]
> >
> >Sometimes mail from this mailinglist is getting marked as spam, if i
check
> >the header i can see that the adjustment for the above rule is -6.0
points.
> >Can i increase this somehow?
> >
> >
> Probably, but are there high-scoring rules that are causing them to be
> marked spam? Whatever adjustment you add needs to more than offset that
> amount. What scores are they getting?
>
> Considering the amount of "spam-content" in this group, and not wanting
> to confuse bayes and AWL, I simply wrote a procmail rule to bypass SA
> scoring of this group.
>
> That said, I'm not a rules wiz, but I think:
>
> header LOCAL_SALIST   ListID =~ /[EMAIL PROTECTED]/
> describe LOCAL_SALIST spamassassin discussion list
> score LOCAL_SALIST    -6.0
>
> would do what you want.

We've found that to do it all the way you need something more like:
--8<--
# Find msgs to the stupid SA mailing list.  grrr...

header __SA_TO                  To =~ /[EMAIL PROTECTED]/i
header __SA_FROM                From =~ /[EMAIL PROTECTED]/i
header __SA_CC                  Cc =~ /[EMAIL PROTECTED]/i
header __SA__ID                 List-Id =~ /spamassassin\.apache\.org/i
meta SA_LIST_MAIL               ((__SA_TO || __SA_FROM || __SA_CC ||
__SA_ID)>0)
describe SA_LIST_MAIL           Mail from Spamassassin mailing list
score SA_LIST_MAIL              -50

header SA_TO                    To =~ /[EMAIL PROTECTED]/i
header SA_FROM                  From =~ /[EMAIL PROTECTED]/i
header SA_CC                    Cc =~ /[EMAIL PROTECTED]/i
header SA__ID                   List-Id =~ /spamassassin\.apache\.org/i
score SA_TO                     -0.01
score SA_FROM                   -0.02
score SA_CC                     -0.03
score SA_ID                     -0.04
describe SA_TO                  To SA list
describe SA_FROM                From SA list
describe SA_CC                  Cc SA list
describe SA_ID                  SA list ID
--8<--

Note that you had "List-ID" spelled incorrectly above.
{^_-}

Reply via email to