<html><body bgcolor="#FFFFFF"><div>Problems with pyzor?<br><br>---<div><br></div><div>Alex Neuman</div><div>Reliant Technologies</div><div>+507 6781-9505</div><div>Skype: alexneuman</div></div><div><br>On Sep 12, 2008, at 4:03 AM, "Swati Meghanand" <<a href="mailto:swati.meghanand@gmail.com">swati.meghanand@gmail.com</a>> wrote:<br><br></div><div></div><blockquote type="cite"><div><div dir="ltr"><p>hi ram,</p><p>Thanks for ur help, running spamassassin in debugging mode helped me a lot.</p><p>I figured out that its not DNS related issue as spamassassin -D -t /path/to/mail gave me.</p><p>[2646] dbg: dns: name server: xxx.xxx.xxx.xxx, family: 2, ipv6: 0<br>
[2646] dbg: dns: testing resolver nameservers: xxx.xxx.xxx.xxx, xxx.xxx.xxx.xxx<br>[2646] dbg: dns: trying (3) xxx.xxx...<br>[2646] dbg: dns: looking up NS for 'xxx.xxx'<br><span style="background-color:#ffff99">[2646] dbg: dns: NS lookup of xxx.xxx using xxx.xxx.xxx.xxx succeeded => DNS available (set dns_available to override)</span><br>
[2646] dbg: dns: is DNS available? 1</p><p>possibly not even RAZOR issue</p><p>[2646] dbg: razor2: part=0 engine=4 contested=0 confidence=0<br>[2646] dbg: razor2: results: spam? 0<br>[2646] dbg: razor2: results: engine 8, highest cf score: 0<br>
[2646] dbg: razor2: results: engine 4, highest cf score: 0<br><br>yes i got some trouble with Pyzor, but not always</p><p>sometimes i get following errors</p><p>[17573] dbg: util: executable for pyzor was found at /usr/bin/pyzor<br>
[17573] dbg: pyzor: pyzor is available: /usr/bin/pyzor<br>[17573] dbg: info: entering helper-app run mode<br>[17573] dbg: pyzor: opening pipe: /usr/bin/pyzor check < /tmp/.spamassassin17573LkAPartmp<br>[17778] dbg: util: setuid: ruid=0 euid=0<br>
[17573] dbg: pyzor: [17778] finished: exit=0x0100<br><span style="background-color: #ffff99;">[17573] dbg: pyzor: got response: Traceback (most recent call last):\n File "/usr/bin/pyzor", line 4, in ?\n pyzor.client.run()\n File "/usr/lib/python2.3/site-packages/pyzor/client.py", line 934, in run\n ExecCall().run()\n File "/usr/lib/python2.3/site-packages/pyzor/client.py", line 188, in run\n if not apply(dispatch, (self, args)):\n File "/usr/lib/python2.3/site-packages/pyzor/client.py", line 264, in check\n response = runner.run(server, (digest, server))\n File "/usr/lib/python2.3/site-packages/pyzor/client.py", line 725, in run\n response = apply(self.routine, varargs, kwargs)\n File "/usr/lib/python2.3/site-packages/pyzor/client.py", line 57, in check\n msg = CheckRequest(digest)\n File "/usr/lib/python2.3/site-packages/pyzor/__init__.py", line 381, in __init__\n typecheck(digest, str)\n File "/usr/lib/python2.3/site-packages/pyzor/__init__.py", line 494, in typecheck\n raise TypeError\nTypeError</span><br>
[17573] dbg: info: leaving helper-app run mode<br>[17573] warn: pyzor: check failed: internal error<br><br>still not able to finget out the exact reason since this error is not coming always...</p><p></p><p>Regards,</p><p>
Swati Meghanand<br><br><br></p><br><div class="gmail_quote">2008/9/11 ram <span dir="ltr"><<a href="mailto:ram@netcore.co.in" target="_blank"><a href="mailto:ram@netcore.co.in">ram@netcore.co.in</a></a>></span><br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div><div><br>
On Wed, 2008-09-10 at 14:24 +0530, Swati Meghanand wrote:<br>
> Hi,<br>
><br>
><br>
> I'm using mailscanner on a busy mail gateways from serveral months,<br>
> which was working fine so far.From last few days I noticed incresed no<br>
> of spam mails as well log Filtering queues (ofcourse slow processing<br>
> of mailscanner).In log file of mailscanner I found following lines,<br>
><br>
> Sep 10 04:47:29 localhost MailScanner[11027]: Virus and Content<br>
> Scanning: Starting<br>
> Sep 10 04:47:37 localhost MailScanner[8400]: SpamAssassin timed out<br>
> and was killed, failure 8 of 20<br>
> Sep 10 04:47:37 localhost MailScanner[8680]: SpamAssassin timed out<br>
> and was killed, failure 14 of 20<br>
> Sep 10 04:47:38 localhost MailScanner[8680]: Message 1KdL6x-0005q5-L3<br>
> from xx.xx.xx.xx (<a href="mailto:xxx@xxx.x">xxx@xxx.x</a>) to xxx.xx is not spam, SpamAssassin (not<br>
> cached, timed out)<br>
> Sep 10 04:47:38 localhost MailScanner[8400]: Message 1KdLDG-0006se-Ox<br>
> from xx.xx.xx.xx (<a href="mailto:xxx@xx.xxx">xxx@xx.xxx</a>) to xxx.xx is not spam, SpamAssassin (not<br>
> cached, timed out)<br>
><br>
> it clealy indicates mailscanner is not (able to) scanning messages.<br>
<br>
</div></div>Hi Swati,<br>
MailScanner Spamassassin timing out can be due to multiple reasons most<br>
likely this is a DNS issue like others have said. It could also be a<br>
huge BAYES file or a blocked RAZOR port etc<br>
<br>
Just check if your SA is still quering all the Dead DNS lists<br>
( secuirtysage , ORDB , OPM BLITZED , DOB etc )<br>
<br>
I would suggest take any mail and run<br>
spamassassin -D -t < /path/mail<br>
(test with a mail with multiple urls and one that has passed thru<br>
different mail hops )<br>
<br>
That test would most probably give you enough results to find what is<br>
taking time.<br>
<br>
<br>
<br>
<br>
<br>
<br>
<br>
<br>
<br>
<br>
<br>
<br>
<br>
<br>
<br>
</blockquote></div><br></div>
</div></blockquote><blockquote type="cite"><div><span>-- </span><br><span>MailScanner mailing list</span><br><span><a href="mailto:mailscanner@lists.mailscanner.info">mailscanner@lists.mailscanner.info</a></span><br><span><a href="http://lists.mailscanner.info/mailman/listinfo/mailscanner">http://lists.mailscanner.info/mailman/listinfo/mailscanner</a></span><br><span></span><br><span>Before posting, read <a href="http://wiki.mailscanner.info/posting"><a href="http://wiki.mailscanner.info/posting">http://wiki.mailscanner.info/posting</a></a></span><br><span></span><br><span>Support MailScanner development - buy the book off the website! </span><br></div></blockquote></body></html>