|
From: Kyle W. <ky...@me...> - 2003-06-03 17:16:08
|
Hello,
Like Jonathan Micheal Hawkins and Jeff Jackson, I'm having problems with
Pyzor and SpamAssassin. Namely, on some messages I get the following
error message:
Pyzor -> report failed: Received error code 256 at
/usr/lib/perl5/site_perl/5.8.0/Mail/SpamAssassin/Reporter.pm line 327.
Sometimes this is simply because Pyzor timed out (which happens with
alarming frequency, and doesn't seem to be handled very well). The Pyzor
protocol seems based around UDP, which makes it have occasional problems
with the iptables firewall that I go through (the UDP packets get denied on
the return trip from the Pyzor server sometimes).
Other times I get this error much more consistently for a specific
message. It will work fine if I pipe the mail directly to Pyzor, but not
when through SpamAssassin. I had SpamAssassin save off the stderr of
Pyzor when this happens. Anyone have any ideas as to why it might be
happening? It *looks* like the spam message is somehow shorter than
Pyzor is expecting...
Here's the stderr:
Traceback (most recent call last):
File "/usr/bin/pyzor", line 4, in ?
pyzor.client.run()
File "/usr/lib/python2.2/site-packages/pyzor/client.py", line 934, in run
ExecCall().run()
File "/usr/lib/python2.2/site-packages/pyzor/client.py", line 188, in run
if not apply(dispatch, (self, args)):
File "/usr/lib/python2.2/site-packages/pyzor/client.py", line 282, in rep=
ort
for digest in FileDigester(sys.stdin, self.digest_spec, do_mbox):
File "/usr/lib/python2.2/site-packages/pyzor/client.py", line 615, in __i=
nit__
self.digester =3D iter(get_file_digester(fp, spec, mbox))
File "/usr/lib/python2.2/site-packages/pyzor/client.py", line 632, in get=
_file_digester
return (DataDigester(rfc822BodyCleaner(fp),
File "/usr/lib/python2.2/site-packages/pyzor/client.py", line 679, in __i=
nit__
self.curfile =3D self.__class__(self.multifile)
File "/usr/lib/python2.2/site-packages/pyzor/client.py", line 671, in __i=
nit__
mimetools.decode(msg.fp, self.curfile, encoding)
File "//usr/lib/python2.2/mimetools.py", line 137, in decode
return base64.decode(input, output)
File "//usr/lib/python2.2/base64.py", line 29, in decode
line =3D input.readline()
File "//usr/lib/python2.2/multifile.py", line 80, in readline
raise Error, 'sudden EOF in MultiFile.readline()'
multifile.Error: sudden EOF in MultiFile.readline()
--=20
Well, I've wrestled with reality for over thirty five years, doctor, and I'm
happy to say I've finally won out over it.
-- Jimmy Stewart, in "Harvey"
|