thaks Axb, i agree with you but   
tflags      MY_URIBL_BLACK    net
clearly sets the rule as a "net check rule", exactly what i am trying to avoid, 
and according to documentation there is no flag to mark the rule a "local check 
rule".
My understanding was that "if there is no net flag, then it could work in local 
mode", but i was wrong..
Thanks again,
PedroD.
      From: Axb <axb.li...@gmail.com>
 To: users@spamassassin.apache.org 
 Sent: Monday, September 5, 2016 7:12 AM
 Subject: Re: Local mode with some URI checks. Possible??
  

this should read

urirhssub  MY_URIBL_BLACK    multi.uribl.com.        A  2
body        MY_URIBL_BLACK    eval:check_uridnsbl('MY_URIBL_BLACK')
describe    MY_URIBL_BLACK    Contains an URL listed in the URIBL blacklist
tflags      MY_URIBL_BLACK    net
score      MY_URIBL_BLACK    3.0

Syntax is well documented.


On 09/05/2016 06:59 AM, Pedro David Marco wrote:
> Bill you are absolutely right... i have modified it: urirhssub
> MY_URIBL_BLACK  multi.uribl.com.        A  2 body
> MY_URIBL_BLACK  eval:check_uridnsbl('URIBL_BLACK') describe
> MY_URIBL_BLACK  URL listed in uribl.com score
> MY_URIBL_BLACK  3 but still not working... maybe the function
> "check_uridnsbl" in the eval is considered a net check despite
> anything else... (it would make sense according to its name, i know,
> but...) Thank to all trying to help me!! PedroD
>
> From: Bill Cole <sausers-20150...@billmail.scconsult.com> To:
> "users@spamassassin.apache.org" <users@spamassassin.apache.org> Sent:
> Sunday, September 4, 2016 9:52 PM Subject: Re: Local mode with some
> URI checks. Possible??
>
> On 3 Sep 2016, at 5:32, Pedro David Marco wrote:
>
>> there is a Flag to indicate when a rule is net related or not, so
>> my understanding was thatas my rule did not have that flag, it
>> could work in local only mode.
>
> BUT: URIBL_BLACK is not YOUR rule. It is your redefinition of a rule
> in the default set:
>
> bigsky:updates_spamassassin_org root# grep -r URIBL_BLACK .
> ./25_uribl.cf:urirhssub      URIBL_BLACK    multi.uribl.com.        A
>  2 ./25_uribl.cf:body            URIBL_BLACK
> eval:check_uridnsbl('URIBL_BLACK') ./25_uribl.cf:describe
> URIBL_BLACK    Contains an URL listed in the URIBL blacklist
> ./25_uribl.cf:tflags          URIBL_BLACK    net ./25_uribl.cf:reuse
> URIBL_BLACK ./30_text_pt_br.cf:lang pt_BR describe URIBL_BLACK Cont?m
> uma URL listada na blacklist URIBL ./50_scores.cf:score URIBL_BLACK 0
> 1.7 0 1.7 # n=0 n=2
>
> So "your" rule is just restating exactly what that rule already was,
> but you gave it a new score and description. You did not give it a
> new tflags setting.
>
>
>
>



   

Reply via email to