From: Andreas F. <fo...@tc...> - 2009-05-01 07:33:22
|
Hi Im testing with the following test (from http://wiki.apache.org/spamassassin/UsingPyzor): echo "test" | spamassassin -D pyzor 2>&1 | less and get the following output: [935] dbg: pyzor: network tests on, attempting Pyzor [935] dbg: pyzor: pyzor is available: /usr/local/bin/pyzor [935] dbg: pyzor: opening pipe: /usr/local/bin/pyzor check < /tmp/.spamassassin935TAIZ9Ttmp [935] dbg: pyzor: [947] finished: exit=0x0100 [935] dbg: pyzor: got response: Traceback (most recent call last):\n File "/usr/local/bin/pyzor", l ine 4, in ?\n pyzor.client.run()\n File "/usr/local/lib/python2.4/site-packages/pyzor/client.py", l ine 934, in run\n ExecCall().run()\n File "/usr/local/lib/python2.4/site-packages/pyzor/client.py", line 188, in run\n if not apply(dispatch, (self, args)):\n File "/usr/local/lib/python2.4/site-pac kages/pyzor/client.py", line 264, in check\n response = runner.run(server, (digest, server))\n File "/usr/local/lib/python2.4/site-packages/pyzor/client.py", line 725, in run\n response = apply(self .routine, varargs, kwargs)\n File "/usr/local/lib/python2.4/site-packages/pyzor/client.py", line 57 , in check\n msg = CheckRequest(digest)\n File "/usr/local/lib/python2.4/site-packages/pyzor/__init __.py", line 381, in __init__\n typecheck(digest, str)\n File "/usr/local/lib/python2.4/site-packag es/pyzor/__init__.py", line 494, in typecheck\n raise TypeError\nTypeError [935] warn: pyzor: check failed: internal error Is there something wrong or is it cause i'm not testing with a valid email? How can i test with a valid email, as i'm in a maildir environment i'm not shure how to save a single mail in the correct format in a file? Or what else could be wrong? thanks Andi |