Re: PYZOR_CHECK always have zero score, why?

2016-10-24 Thread Matus UHLAR - fantomas
The 'net' tflag exists to allow SA to know what tests to disable when it  is told to run only local tests. That is usually done when messages are being checked well after their arrival, because network-dependent tests are generally dynamic. There are also places where policy or network architectur

Re: PYZOR_CHECK always have zero score, why?

2016-10-23 Thread Pedro David Marco
Thanks! >The 'net' tflag exists to allow SA to know what tests to disable when it  >is told to run only local tests. That is usually done when messages are >being checked well after their arrival, because network-dependent tests >are generally dynamic. There are also places where policy or networ

Re: PYZOR_CHECK always have zero score, why?

2016-10-23 Thread John Hardin
On Sun, 23 Oct 2016, Bill Cole wrote: On 23 Oct 2016, at 1:01, Pedro David Marco wrote: This takes me to and old question: How does SA know which are network rules and which are not? tflags because it does itright even if "tflag net" is not set for the rule... The 'net' tflag exists t

Re: PYZOR_CHECK always have zero score, why?

2016-10-23 Thread Bill Cole
On 23 Oct 2016, at 1:01, Pedro David Marco wrote: I have tested it in a new Debian box and as expected PYZOR_CHECK worked. So it is obvious that i have something odd  in my Debibox. Thanks to all who helped me gently!! This takes me to and old question: How does SA know which are network rul

Re: PYZOR_CHECK always have zero score, why?

2016-10-22 Thread Pedro David Marco
I have tested it in a new Debian box and as expected PYZOR_CHECK worked. So it is obvious that i have something odd  in my Debibox. Thanks to all who helped me gently!! This takes me to and old question: How does SA know which are network rules and which are not? because it does itright even if

Re: PYZOR_CHECK always have zero score, why?

2016-10-20 Thread Bill Cole
On 19 Oct 2016, at 23:23, Pedro David Marco wrote: Hmmm... Relevant context of those lines is lost with grep, but they confirm something odd is going on. Bill, your remark is welcome, what lines/info should i pay attention to or event post here? The full output of the Dumper. As John said,

Re: PYZOR_CHECK always have zero score, why?

2016-10-19 Thread John Hardin
On Wed, 19 Oct 2016, Bill Cole wrote: This is a print Dumper of permsgstatus with a grep -i PYZOR: [snip] Hmmm... Relevant context of those lines is lost with grep, but they confirm something odd is going on. Perhaps dump the entire thing to a text file and post it (gzipped if large) to p

Re: PYZOR_CHECK always have zero score, why?

2016-10-19 Thread Pedro David Marco
>Hmmm... Relevant context of those lines is lost with grep, but they >confirm something odd is going on. Bill, your remark is welcome, what lines/info should i pay attention to or event post here? Pedro

Re: PYZOR_CHECK always have zero score, why?

2016-10-19 Thread Pedro David Marco
Thanks in any case Bill... Really appreciate all your help and time... Bill, John, Matus... Pedro From: Bill Cole To: "users@spamassassin.apache.org" Cc: Pedro David Marco Sent: Thursday, October 20, 2016 5:03 AM Subject: Re: PYZOR_CHECK always have zero score, why?

Re: PYZOR_CHECK always have zero score, why?

2016-10-19 Thread Bill Cole
On 19 Oct 2016, at 22:41, Pedro David Marco wrote: Thanks Bill... I wish it had been more helpful. tested... 1. Add to local.cf, along with the other PYZOR_CHECK_2 lines you had:>>    tflags PYZOR_CHECK_2 net>>Does that change whether the rule is hit?>>>2. Change the PYZOR_CHECK score line

Re: PYZOR_CHECK always have zero score, why?

2016-10-19 Thread Pedro David Marco
Thanks Bill... tested... >1. Add to local.cf, along with the other PYZOR_CHECK_2 lines you had:>>     >tflags PYZOR_CHECK_2 net>>Does that change whether the rule is hit?>>>2. >Change the PYZOR_CHECK score line in 50_scores.cf to:>>    score PYZOR_CHECK >0.001 1.985 0.001 1.392>>Does that quiet t

Re: PYZOR_CHECK always have zero score, why?

2016-10-19 Thread Bill Cole
On 19 Oct 2016, at 12:16, Pedro David Marco wrote: IIRC I've seen this warning on meta rule dependencies with a non-zero scores. Unless you have a better reason to think Pyzor isn't working, I>'d just ignore it. Well... you are right, in fact i have no problem in ignoring it, but i do not li

Re: PYZOR_CHECK always have zero score, why?

2016-10-19 Thread Pedro David Marco
>IIRC I've seen this warning on meta rule dependencies with a non-zero >scores. Unless you have a better reason to think Pyzor isn't working, I>'d just ignore it. Well... you are right, in fact i have no problem in ignoring it, but i do not like tohave unresolved issues in something that is goi

Re: PYZOR_CHECK always have zero score, why?

2016-10-19 Thread Matus UHLAR - fantomas
??? score         PYZOR_CHECK         2 and sets score 0?  you haven't answered my question, see below. From: Matus UHLAR - fantomas To: users@spamassassin.apache.org Sent: Wednesday, October 19, 2016 9:42 AM Subject: Re: PYZOR_CHECK always have zero score, why? On 19.10.16 04:28, Pedro

Re: PYZOR_CHECK always have zero score, why?

2016-10-19 Thread RW
On Wed, 19 Oct 2016 03:22:13 + (UTC) Pedro David Marco wrote: > Hi! > > It seems PYZOR_CHECK rule is not being used in my SA Just > installed SA and Pyzor in a Debian and executed  "pyzor discover."In > Debian pyzor is enabled by default so nothing to add in > local.cf. Command "pyzor che

Re: PYZOR_CHECK always have zero score, why?

2016-10-19 Thread Pedro David Marco
ets score 0?  i am stuck...  -Pedro From: Matus UHLAR - fantomas To: users@spamassassin.apache.org Sent: Wednesday, October 19, 2016 9:42 AM Subject: Re: PYZOR_CHECK always have zero score, why? On 19.10.16 04:28, Pedro David Marco wrote: >i already did but still no clues...

Re: PYZOR_CHECK always have zero score, why?

2016-10-19 Thread Matus UHLAR - fantomas
On 19.10.16 04:28, Pedro David Marco wrote: i already did but still no clues... Files in my Debian SA package (3.4.1) containing the string PYZOR_CHECK: # for i in `dpkg -L spamassassin`; do grep -l PYZOR_CHECK $i 2>/dev/null ; done/usr/share/spamassassin/30_text_fr.cf/usr/share/spamassassin/30_

Re: PYZOR_CHECK always have zero score, why?

2016-10-18 Thread Pedro David Marco
ssassin_org/regression_tests.cf" for included file only 50_scores.cf contains string PYZOR_CHECK ------Pedro From: John Hardin To: SA Mailing List Sent: Wednesday, October 19, 2016 6:41 AM Subject: Re: PYZOR_CHECK always have zero score, why? On Wed, 19 Oct 2016, Pedro David Ma

Re: PYZOR_CHECK always have zero score, why?

2016-10-18 Thread John Hardin
On Wed, 19 Oct 2016, Pedro David Marco wrote: Files in my Debian SA package (3.4.1) containing the string PYZOR_CHECK: Run debug mode and look for the list of config files it's actually reading. What comes after the default 50_scores.cf? i have even looked for the string PYZOR_CHECK through

Re: PYZOR_CHECK always have zero score, why?

2016-10-18 Thread Pedro David Marco
ent: Wednesday, October 19, 2016 6:04 AM Subject: Re: PYZOR_CHECK always have zero score, why? On 18 Oct 2016, at 23:22, Pedro David Marco wrote: > So Pyzor seems to be OK!... the problem is somehow related to > PYZOR_CHECK rule but why???  Some config file is being loaded that sets the

Re: PYZOR_CHECK always have zero score, why?

2016-10-18 Thread Bill Cole
On 18 Oct 2016, at 23:22, Pedro David Marco wrote: So Pyzor seems to be OK!... the problem is somehow related to PYZOR_CHECK rule but why???  Some config file is being loaded that sets the score of PYZOR_CHECK to 0. It is NOT 0 in the current default ruleset: 50_scores.cf:score PYZOR_CHECK

PYZOR_CHECK always have zero score, why?

2016-10-18 Thread Pedro David Marco
Hi! It seems PYZOR_CHECK rule is not being used in my SA Just installed SA and Pyzor in a Debian and executed  "pyzor discover."In Debian pyzor is enabled by default so nothing to add in local.cf. Command "pyzor check < emailfile.eml" works ok. .. now i try to test SA in debug mode like thi