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 this:
# spamassassin  -D  2>&1 </email.eml |grep -i pyzor
and this is what i get:
 Oct 19 04:48:28.562 [9566] dbg: plugin: loading 
Mail::SpamAssassin::Plugin::Pyzor from @INC Oct 19 04:48:28.564 [9566] dbg: 
pyzor: network tests on, attempting Pyzor. Oct 19 04:48:29.711 [9566] info: 
rules: meta test DIGEST_MULTIPLE has dependency 'PYZOR_CHECK' with a zero score
It seems PYZOR_CHECK rule does not work because it has zero score.I have found 
that PYZOR_CHECK scoring is set in file 50_scores.cf  but modifying it does not 
seem to help. Setting score in local.cf like this:
  score     PYZOR_CHECK    2
does not help either...

If i create a new rule like this:
 full            PYZOR_CHECK_2    eval:check_pyzor() describe    PYZOR_CHECK_2  
  Listed in Pyzor (http://pyzor.sf.net/) score         PYZOR_CHECK_2    2
Then it works perfectly and debug mode shows:
 Oct 19 05:09:03.691 [32318] dbg: plugin: loading 
Mail::SpamAssassin::Plugin::Pyzor from @INC Oct 19 05:09:03.693 [32318] dbg: 
pyzor: network tests on, attempting Pyzor. Oct 19 05:09:04.830 [32318] dbg: 
util: executable for pyzor was found at /usr/bin/pyzor Oct 19 05:09:04.830 
[32318] dbg: pyzor: pyzor is available: /usr/bin/pyzor Oct 19 05:09:04.831 
[32318] dbg: pyzor: opening pipe: /usr/bin/pyzor check < 
/tmp/.spamassassin32318YfxiqRtmp Oct 19 05:09:05.032 [32318] dbg: pyzor: 
[32321] finished successfully Oct 19 05:09:05.032 [32318] dbg: pyzor: got 
response: public.pyzor.org:24441 (200, 'OK') 125 0 Oct 19 05:09:05.032 [32318] 
dbg: check: tagrun - tag PYZOR is now ready, value: Reported 125 times. Oct 19 
05:09:05.032 [32318] dbg: pyzor: listed: COUNT=125/5 WHITELIST=0 Oct 19 
05:09:05.033 [32318] dbg: rules: ran eval rule PYZOR_CHECK2 ======> got hit (1) 
Oct 19 05:09:06.184 [32318] info: rules: meta test DIGEST_MULTIPLE has 
dependency 'PYZOR_CHECK' with a zero score
So Pyzor seems to be OK!... the problem is somehow related to PYZOR_CHECK rule 
but why??? 
Any idea, please??
Thanks in Advance.
Pedro.

Reply via email to