<div dir="ltr">True, it does look that way... I was more thinking the whole SA run, not the individual subcommand, but that'd likely look different...<div>Return 6 in the OS sense is "no such device or address" ... And looking at the code for pyzor, that seems pretty much to be it (... Not the strongest python coder there is, so I might well be wrong.). Question then becomes why, when it works from a "su - postfix -s /bin/bash" (or similar). If the host was wrong, it'd be an exit code of 2, likely, if it was a stranght FW/routing problem, likely a normal timeout. Hmmm.</div>
<div><br></div><div>Sorry, I'm out of ideas.</div><div>-- </div><div>-- Glenn</div></div><div class="gmail_extra"><br><br><div class="gmail_quote">On 8 April 2014 12:25, Stef Morrell <span dir="ltr"><<a href="mailto:stef@aoc-uk.com" target="_blank">stef@aoc-uk.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hi Glenn,<br>
<div class=""><br>
On 08 April 2014 10:22 Glenn Steen wrote:<br>
> So, to the problem... When you (Stef) do a discove/ping, does<br>
> it take ... a long while? ISTR there being some settings in<br>
> SA and/or MS for timeouts that are ... Very optimistic.<br>
> Upping them significantly used to be a given (and still am!)<br>
> for things like huge bayes files etc, so that they don't get<br>
> ... rudely interrupted:-). The returncode might lead in that<br>
> direction...<br>
<br>
</div>No, from command line (as postfix, or indeed as root) it's<br>
pretty much instant. SA is reporting Pyzor as giving exit 6,<br>
however my Google-fu fails me on getting any useful information<br>
about that (or any!) return code.<br>
<br>
Also if you look at the log fragment I posted it's less than a<br>
second for it to fail when running MS with debug.<br>
<div class="im HOEnZb"><br>
15:17:00 Apr 4 15:17:00.409 [3554] dbg: pyzor: pyzor is available: /usr/bin/pyzor<br>
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<br>
15:17:00 Apr 4 15:17:00.414 [3554] info: pyzor: [3574] error: exit 6<br>
15:17:00 Apr 4 15:17:00.414 [3554] dbg: pyzor: check failed: no response<br>
</div><div class="HOEnZb"><div class="h5">--<br>
MailScanner mailing list<br>
<a href="mailto:mailscanner@lists.mailscanner.info">mailscanner@lists.mailscanner.info</a><br>
<a href="http://lists.mailscanner.info/mailman/listinfo/mailscanner" target="_blank">http://lists.mailscanner.info/mailman/listinfo/mailscanner</a><br>
<br>
Before posting, read <a href="http://wiki.mailscanner.info/posting" target="_blank">http://wiki.mailscanner.info/posting</a><br>
<br>
Support MailScanner development - buy the book off the website!<br>
</div></div></blockquote></div><br><br clear="all"><div><br></div>-- <br>-- Glenn<br>email: glenn < dot > steen < at > gmail < dot > com<br>work: glenn < dot > steen < at > ap1 < dot > se
</div>