Digging around in my dspam debug logs, I found these messages that
probably correspond:

12984: [12/31/2007 10:15:52] sedation level set to: 0
12984: [12/31/2007 10:15:52] _mysql_drv_getspamtotals: unable to
_mysql_drv_getpwnam((null))
12984: [12/31/2007 10:15:52] unable to load totals.  using zero values.
12984: [12/31/2007 10:15:52] _ds_getall_spamrecords: unable to
_mysql_drv_getpwnam((null))
12984: [12/31/2007 10:15:52] _ds_getall_spamrecords() failed

Dspam is working, but just occassionally the mysql driver is getting
some errors.  Some threading issue perhaps?

Oh, and it occurs on even mundane text emails so that isn't a factor. 
Looks like a bug in the mysql driver unrelated to the message contents.

-Jason

Jason Axley wrote:
> I've got the latest CVS version built on ubuntu and it seems to be
> better than the 3.8.0 version at telling me there is an error
> encountered instead of failing to completely tag messages it chokes on. 
> Several messages slipped through and I see this in the mail.log:
>
> Dec 31 10:15:53 void dspam[12984]: bailing on error -2
> Dec 31 10:15:53 void dspam[12984]: received invalid result (! DSR_ISSPAM
> || DSR_INNOCENT) : -2
> Dec 31 10:15:53 void dspam[12984]: process_message returned error -2. 
> delivering.
>
> Anyone seen this or have an idea offhand why dspam might error on this? 
> I'm using the mysql driver along with this group config:
>
> [EMAIL PROTECTED]:merged:*
> global-classification:classification:[EMAIL PROTECTED]
>
> The messages it failed on were really simple, short
> multipart/alternative messages with just a plaintext and html version.
>
> -Jason
>
> !DSPAM:4,47796046129841817296938!
>
>   

Reply via email to