Well, pretty much, the 'internal error' is just spamd's way of saying that
something went wrong.  In this case a debug ('spamassassin -D –lint' or
something like it) would be really useful to me.  Although I know of another
cause (besides the one that I fixed in -6) that could cause an internal error.
Per [1] it seems that an error (this is with -D --lint) such as

[26906] 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 169, in 
run\n    os.mkdir(homedir)\nOSError: [Errno 20] Not a directory: 
'/dev/null/.pyzor'
[26906] dbg: info: leaving helper-app run mode
[26906] warn: pyzor: check failed: internal error

could happen.  I'm not convinced that this is a pyzor flaw as it has to
do with pyzor not getting a valid home directory, which, to store servers
and configs, it pretty much needs.  If this is the case, I think that you
should run SA under a user that has a home directory, though I could be
convinced otherwise.

Anyways, this is all mute if the home directory issue is not really your
problem.  If you could get back to me with a debug log or some more
information that would be most helpful.

Thanks for bringing the issue to my attention.

Chris Sacca

[1] http://marc.theaimsgroup.com/?l=amavis-user&m=113439853805484&w=2


On Wed, 25 Jan 2006 12:53:35 +0100
Christer Mjellem Strand <[EMAIL PROTECTED]> wrote:

> Package: pyzor
> Version: 1:0.4.0+cvs20030201-6
> Followup-For: Bug #335424
> 
> I'm still getting the same error messages even after upgrading:
> 
> Wed Jan 25 12:48:57 2006 [1420] info: spamd: processing message <[EMAIL 
> PROTECTED]> for [EMAIL PROTECTED]:8
> 9
> Wed Jan 25 12:48:58 2006 [1420] error: internal error
> Wed Jan 25 12:48:58 2006 [1420] warn: pyzor: check failed: internal error
> Wed Jan 25 12:48:58 2006 [740] error: internal error
> Wed Jan 25 12:48:58 2006 [740] warn: pyzor: check failed: internal error
> Wed Jan 25 12:48:58 2006 [1420] info: spamd: identified spam (19.2/6.0) for 
> [EMAIL PROTECTED]:89 in 1.3 seconds, 1817 bytes.
> Wed Jan 25 12:48:58 2006 [1420] info: spamd: result: Y 19 - 
> BAYES_99,DATE_IN_PAST_03_06,EXTRA_MPART_TYPE,HELO_DYNAMIC_DHCP,HELO_DYNA
> MIC_IPADDR,HTML_90_100,HTML_IMAGE_ONLY_08,HTML_MESSAGE,RCVD_IN_BL_SPAMCOP_NET,RCVD_IN_SORBS_DUL
>  scantime=1.3,size=1817,user=x@
> x,uid=89,required_score=6.0,rhost=localhost,raddr=127.0.0.1,rport=/var/run/spamd.ctl,mid=<000d01c621a5$51390690$de4b1d18@
> DCTB1361>,bayes=0.999999989792983,autolearn=spam
> 
> 
>  - y
> 
> -- System Information:
> Debian Release: testing/unstable
>   APT prefers testing
>   APT policy: (500, 'testing')
> Architecture: i386 (i686)
> Shell:  /bin/sh linked to /bin/dash
> Kernel: Linux 2.6.14-2-686
> Locale: LANG=en_US, LC_CTYPE=en_US (charmap=ISO-8859-1)
> 
> Versions of packages pyzor depends on:
> ii  python                        2.3.5-3    An interactive high-level 
> object-o
> ii  python-gdbm                   2.3.5-3    GNU dbm database support for 
> Pytho
> 
> pyzor recommends no packages.
> 
> -- no debconf information
> 

Attachment: pgpJJ6o8Lqczd.pgp
Description: PGP signature

Reply via email to