You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@spamassassin.apache.org by Lists <li...@colliniconsulting.it> on 2006/09/23 15:58:49 UTC

Assign a score to a tflag

Hello,

I have integrate some spamassassin rule (copied from
/usr/share/spamassassin) in order to use some blacklists in the world.

As example i copied this rule:

header RCVD_IN_SBL              eval:check_rbl_sub('sblxbl', '127.0.0.2')
describe RCVD_IN_SBL            Received via a relay in Spamhaus SBL
tflags RCVD_IN_SBL              net

Is there a way, automatically, to assign a score (as example 20.0 so it is
automatically detected as Spam) if the conditions is true? (Perhaps the
tflags has to be "net"?)

Thank you in advance for your kind interest, cheers!


Francesco

Re: Assign a score to a tflag

Posted by jdow <jd...@earthlink.net>.
From: "Loren Wilton" <lw...@earthlink.net>

> Assign a score to a tflag> header RCVD_IN_SBL 
> eval:check_rbl_sub('sblxbl', '127.0.0.2')
>> describe RCVD_IN_SBL            Received via a relay in Spamhaus SBL
>> tflags RCVD_IN_SBL              net
> 
>> Is there a way, automatically, to assign a score (as example 20.0 so it is 
>> automatically
>> detected as Spam) if the conditions is true? (Perhaps the tflags has to be 
>> "net"?)
> 
> score    RCVD_IN_SBL              20

At that point he should move the SBLXBL test outside of SpamAssassin
and save machine load. Experience suggests blocking on the basis of
one BL is unwise.

{^_^}

Re: Assign a score to a tflag

Posted by Loren Wilton <lw...@earthlink.net>.
Assign a score to a tflag> header RCVD_IN_SBL 
eval:check_rbl_sub('sblxbl', '127.0.0.2')
> describe RCVD_IN_SBL            Received via a relay in Spamhaus SBL
> tflags RCVD_IN_SBL              net

> Is there a way, automatically, to assign a score (as example 20.0 so it is 
> automatically
> detected as Spam) if the conditions is true? (Perhaps the tflags has to be 
> "net"?)

score    RCVD_IN_SBL              20