From: Mark H. <he...@sc...> - 2009-03-25 19:45:19
|
On Fri, 20 Mar 2009, Benny Pedersen wrote: > > > I have these options in SpamAssassin's local.cf: > > > > use_pyzor 1 > > pyzor_path /usr/bin/pyzor > > pyzor_options -d --homedir /etc/mail/pyzor > > > > Where does the debugging output go? I see no info in > > the logs in /var/log/sa/mylogname.log. (We run multiple > > SA instances on different ports with different logs but > > they all share the local.cf. I do see inbound mail > > processed in the log, but nothing about pyzor.) > > spamassassin 2>&1 -D -t msg | less Awesome Benny thank you that is so helpful. [25201] dbg: razor2: part=0 engine=4 contested=0 confidence=0 [25201] dbg: razor2: results: spam? 0 [25201] dbg: razor2: results: engine 8, highest cf score: 0 [25201] dbg: razor2: results: engine 4, highest cf score: 0 [25201] dbg: pyzor: pyzor is available: /usr/bin/pyzor [25201] dbg: info: entering helper-app run mode [25201] dbg: pyzor: opening pipe: /usr/bin/pyzor -d --homedir /var/cache/pyzor check < /tmp/.spamass assin25201Zgm3MAtmp [25203] dbg: util: setuid: ruid=96 euid=96 [25201] dbg: pyzor: [25203] finished: exit=0x0100 [25201] dbg: info: leaving helper-app run mode [25201] dbg: pyzor: check failed: no response So it exits with error code 256. This is run as the user that is running spamassassin. DCC check works.... This is the same whether I use public.pyzor.org or the IP. And when I am logged in as that user and try ping it works fine... -bash-3.2$ pyzor -d --homedir /var/cache/pyzor ping sending: 'User: anonymous\nTime: 1238010461\nSig: c8da5a2464cdf9cfd280bc3831500984c8dd4780\n\nOp: ping\nThread: 6680\nPV: 2.0\n\n' received: 'Code: 200\nDiag: OK\nPV: 2.0\nThread: 6680\n' public.pyzor.org:24441 (200, 'OK') and if I do this: -bash-3.2$ pyzor -d --homedir /var/cache/pyzor check < ~hedges/lame/hedges && echo lame -bash-3.2$ it apparently exit(0)'s just fine. Hrmm. Is it working? Thanks for the help. Mark |