Auteur: Phillip Carroll Date: À: exim-users Sujet: [exim] "python traceback" warning from pyzor on every SA-scanned
email
Running exim i386 4.72-41.el5 with the scanning extensions, on CentOS 5.5.
spamd.log is filled with lines like:
===============snip=============================
Mon Jul 26 12:30:31 2010 [28924] info: prefork: child states: II
Mon Jul 26 12:50:15 2010 [28928] info: spamd: got connection over /var/run/spamd/spamd.sock
Mon Jul 26 12:50:15 2010 [28928] info: spamd: checking message <559962319.36024619262132@???> for nobody:505
Mon Jul 26 12:50:17 2010 [28928] warn: pyzor: check failed: internal error, python traceback seen in response
Mon Jul 26 12:50:17 2010 [28928] info: spamd: identified spam (33.9/5.0) for nobody:505 in 2.0 seconds, 1083 bytes.
Mon Jul 26 12:50:17 2010 [28928] info: spamd: result: Y 33 - BAYES_99,FH_FAKE_RCVD_LINE_B,FH_HELO_EQ_D_D_D_D,HELO_DYNAMIC_IPADDR2,JM_SOUGHT_2,KB_DATE_CONTAINS_TAB,KB_FAKED_THE_BAT,RCVD_IN_BL_SPAMCOP_NET,RCVD_IN_PBL,RCVD_IN_PSBL,RCVD_IN_RP_RNBL,RCVD_IN_XBL,TAB_IN_FROM,TVD_RCVD_IP scantime=2.0,size=1083,user=nobody,uid=505,required_score=5.0,rhost=localhost,raddr=127.0.0.1,rport=/var/run/spamd/spamd.sock,mid=<559962319.36024619262132@???>,bayes=1.000000,autolearn=spam
Mon Jul 26 12:50:17 2010 [28924] info: prefork: child states: II
===============snip=============================
Notice the "internal error" line for pyzor. I can't figure out how to get rid of this issue.
All I can find on Google is:
"enable UDP port 24441"
Well, that UDP port is enabled. Not the issue.
and:
"run the following test:
# spamassassin -D pyzor -t < some.msg
When the debug test is run from the console, no problem appears.
===============snip=============================
Jul 26 12:45:22.275 [1139] dbg: pyzor: network tests on, attempting Pyzor
Jul 26 12:45:24.790 [1139] dbg: pyzor: pyzor is available: /usr/bin/pyzor
Jul 26 12:45:24.791 [1139] dbg: pyzor: opening pipe: /usr/bin/pyzor check < /tmp
/.spamassassin1139jQFf0Etmp
Jul 26 12:45:25.001 [1139] dbg: pyzor: [1140] finished successfully
Jul 26 12:45:25.001 [1139] dbg: pyzor: got response: public.pyzor.org:24441 (200
, 'OK') 191 0
Jul 26 12:45:25.002 [1139] dbg: pyzor: listed: COUNT=191/5 WHITELIST=0
===============snip=============================
I know next to nothing about Python, and have no clue what "python traceback" means.
Two questions:
(1) Does the warning mean pyzor is not doing anything for me?
(2) How do I find out what is causing this error, since it obviously works under debug.