Sydney Bogaert said the following on 02/04/07 16:19:
>> dspam[67852]: Signature retrieval for 
>> '2,460fd257672191721785640' failed
>> dspam[67852]: Unable to find a valid signature. Aborting.
>> dspam[67852]: process_message returned error -5.  dropping message.
>>
>> Any ideas why it is happening?
> 
> Perhaps something to do with the broken linestripping ?
> If there is a CRLF just after the signature, dspam complains.
> Do you see something like "^M" appearing in the logs ?
> If so, try to set this option in dspam.conf : 
> Broken lineStripping

Seems that the problem has to do with the way the training aliases are
configured. The documentation says that if we use the mysql uid in the
signature we would be able have a single spam and ham training alias for
the system. It also points out that we MUST specify the user root so
that dspam doesn't bail out with an error and that the user will be
changed internally.

Well the problem has to do with that, dspam is actually trying to look
up the user in the system and is not changing to the user id in the
signature. See the logs below.

20308: [04/02/2007 09:10:33] No QuarantineAgent option found. Using
standard quarantine.
20308: [04/02/2007 09:10:33] DSPAM Instance Startup
20308: [04/02/2007 09:10:33] input args: /usr/local/bin/dspam --user
root --class=spam --source=error --debug
20308: [04/02/2007 09:10:33] pass-thru args:
20308: [04/02/2007 09:10:33] processing user root
20308: [04/02/2007 09:10:33] uid = 89, euid = 0, gid = 89, egid = 89
20308: [04/02/2007 09:10:33] loading preferences for user root
20308: [04/02/2007 09:10:33] _ds_pref_load: unable to
_mysql_drv_getpwnam(root)
20308: [04/02/2007 09:10:33] Loading preferences for uid 0
20308: [04/02/2007 09:10:33] Loading preferences for uid 0
20308: [04/02/2007 09:10:33] loaded default preferences externally
20308: [04/02/2007 09:10:33] using /var/db/dspam/opt-in/local/root.dspam
as path
20308: [04/02/2007 09:10:33] using
/var/db/dspam/opt-out/local/root.nodspam as path
20308: [04/02/2007 09:10:33] adding user *globaluser to classification
group global
20308: [04/02/2007 09:10:33] sedation level set to: 0
20308: [04/02/2007 09:10:33] _mysql_drv_get_spamtotals: unable to
_mysql_drv_getpwnam(root)
20308: [04/02/2007 09:10:33] unable to load totals.  using zero values.
20308: [04/02/2007 09:10:33] found signature '2,461057e9285802041212987'
20308: [04/02/2007 09:10:33] _ds_get_signature: unable to
_mysql_drv_getpwnam(root)
20308: [04/02/2007 09:10:33] _mysql_drv_get_spamtotals: unable to
_mysql_drv_getpwnam(root)
20308: [04/02/2007 09:10:33] DSPAM Instance Shutdown.  Exit Code: 0


--
Vini

Reply via email to