Pyzor not working within MS, fine from command line

Stef Morrell stef at aoc-uk.com
Tue Apr 8 11:25:17 IST 2014


Hi Glenn,

On 08 April 2014 10:22 Glenn Steen wrote:
> So, to the problem... When you (Stef) do a discove/ping, does 
> it take ... a long while? ISTR there being some settings in 
> SA and/or MS for timeouts that are ... Very optimistic. 
> Upping them significantly used to be a given (and still am!) 
> for things like huge bayes files etc, so that they don't get 
> ... rudely interrupted:-). The returncode might lead in that 
> direction...

No, from command line (as postfix, or indeed as root) it's 
pretty much instant. SA is reporting Pyzor as giving exit 6, 
however my Google-fu fails me on getting any useful information 
about that (or any!) return code.

Also if you look at the log fragment I posted it's less than a 
second for it to fail when running MS with debug.

15:17:00 Apr  4 15:17:00.409 [3554] dbg: pyzor: pyzor is available: /usr/bin/pyzor 
15:17:00 Apr  4 15:17:00.410 [3554] dbg: pyzor: opening pipe: /usr/bin/pyzor --homedir /var/spool/postfix/.pyzor check < /var/spool/MailScanner/incoming/SpamAssassin-Temp/.spamassassin3554JjLLoPtmp
15:17:00 Apr  4 15:17:00.414 [3554] info: pyzor: [3574] error: exit 6 
15:17:00 Apr  4 15:17:00.414 [3554] dbg: pyzor: check failed: no response


More information about the MailScanner mailing list