Pyzor not working within MS, fine from command line
stef at aoc-uk.com
Tue Apr 8 11:25:17 IST 2014
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
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  dbg: pyzor: pyzor is available: /usr/bin/pyzor
15:17:00 Apr 4 15:17:00.410  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  info: pyzor:  error: exit 6
15:17:00 Apr 4 15:17:00.414  dbg: pyzor: check failed: no response
More information about the MailScanner