[Maia-users] somewhat OT: pyzor config error
Aaron Bennett
abennett at clarku.edu
Thu Aug 24 11:06:20 PDT 2006
Robert has inspired me to check out Razor / Pyzor / DCC. Razor was
quite simple to get working. Pyzor, however, seems a bit more of a
pain. Be it from spamassassin or from the command line, I can't get
pyzor to produce anything.
from the command line:
[amavis at malt ~]$ cat gtube.txt | pyzor check
Traceback (most recent call last):
File "/usr/bin/pyzor", line 4, in ?
pyzor.client.run()
File "/usr/lib/python2.4/site-packages/pyzor/client.py", line 934, in run
ExecCall().run()
File "/usr/lib/python2.4/site-packages/pyzor/client.py", line 188, in run
if not apply(dispatch, (self, args)):
File "/usr/lib/python2.4/site-packages/pyzor/client.py", line 264, in
check
response = runner.run(server, (digest, server))
File "/usr/lib/python2.4/site-packages/pyzor/client.py", line 725, in run
response = apply(self.routine, varargs, kwargs)
File "/usr/lib/python2.4/site-packages/pyzor/client.py", line 57, in check
msg = CheckRequest(digest)
File "/usr/lib/python2.4/site-packages/pyzor/__init__.py", line 381,
in __init__
typecheck(digest, str)
File "/usr/lib/python2.4/site-packages/pyzor/__init__.py", line 494,
in typecheck
raise TypeError
TypeError
from spamassassin:
cat gtube.txt | spamassassin -t -D ....
[13804] dbg: pyzor: opening pipe: /usr/bin/pyzor --homedir /var/amavisd
check < /tmp/.spamassassin138046WHpLktmp
[13806] dbg: util: setuid: ruid=502 euid=502
[13804] dbg: pyzor: [13806] finished: exit=0x0100
[13804] 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.4/site-packages/pyzor/client.py", line 934, in run\n
ExecCall().run()\n File
"/usr/lib/python2.4/site-packages/pyzor/client.py", line 188, in run\n
if not apply(dispatch, (self, args)):\n File
"/usr/lib/python2.4/site-packages/pyzor/client.py", line 264, in check\n
response = runner.run(server, (digest, server))\n File
"/usr/lib/python2.4/site-packages/pyzor/client.py", line 725, in run\n
response = apply(self.routine, varargs, kwargs)\n File
"/usr/lib/python2.4/site-packages/pyzor/client.py", line 57, in check\n
msg = CheckRequest(digest)\n File
"/usr/lib/python2.4/site-packages/pyzor/__init__.py", line 381, in
__init__\n typecheck(digest, str)\n File
"/usr/lib/python2.4/site-packages/pyzor/__init__.py", line 494, in
typecheck\n raise TypeError\nTypeError
[13804] dbg: info: leaving helper-app run mode
[13804] warn: pyzor: check failed: internal error
A few things I've found on spamassassin lists indicate a pyzor bug, but
I'm guessing I just have something wrong?
I've got "pyzor_options --homedir /var/amavisd " in local.cf and I've
got a valid servers file in /var/amavisd that I created with pyzor
--homedir=/var/amavisd discover.
Anyone know off-hand what's wrong?
Thanks,
Aaron
--
Aaron Bennett
Sr. Unix Systems Administrator
Clark University ITS
abennett at clarku.edu | 508.781.7315
More information about the Maia-users
mailing list