M.Lewis wrote:
Is there a way to check that Pyzor (and Razor) are working? I'm running SA 3.1.1.

I never see any Razor or Pyzor information in the headers of spam.

spamassassin -D --lint  shows in part:

[8310] dbg: plugin: registering glue method for check_pyzor (Mail::SpamAssassin::Plugin::Pyzor=HASH(0x9dfdd80)) [8310] dbg: util: current PATH is: /usr/kerberos/sbin:/usr/kerberos/bin:/opt/jre1.5.0_06/bin:/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin:/root/bin
[8310] dbg: util: executable for pyzor was found at /usr/bin/pyzor
[8310] dbg: pyzor: pyzor is available: /usr/bin/pyzor
[8310] dbg: info: entering helper-app run mode
[8310] dbg: pyzor: opening pipe: /usr/bin/pyzor check < /tmp/.spamassassin8310IHD3gbtmp
[8312] dbg: util: setuid: ruid=0 euid=0
[8310] dbg: pyzor: killed stale helper [8312]
[8310] dbg: pyzor: [8312] terminated:  exit=0x000f
[8310] dbg: info: leaving helper-app run mode
[8310] dbg: pyzor: check timed out after 5 seconds



There is only one pyzor server and it does tend to timeout a lot even if you are configured correctly. I've set my pyzor_timeout to 1 second to avoid the wasted lookups.

To make sure you are configured correctly, login as the same user spamd runs as and run 'pyzor discover'. Then run 'pyzor ping' a couple of times. If you get: 66.250.40.33:24441 (200, 'OK'), then it is working.

-Stuart

  • Re: Pyzor Stuart Johnston

Reply via email to