Hi,

I've a problem, and I'm stuck with it since 3 hours.
I hope I can find someone here that can help me.

When I'm using dspam webui, a mail is detected as ham. I want to
signal this mail to "spam". So I clic on the "As spam" words.
But nothing happens.


I've checked some thinks, like :
# ps axww -o ruser,euser,fsuser,rgroup,egroup,fsgroup,cmd | grep dspam
dspam    dspam    dspam    dspam    dspam    dspam    /usr/bin/dspam --daemon
root     root     root     root     root     root     grep dspam

I have some errors in /var/log/dspam/dspam.debug :

7512: [11/02/2008 03:54:19] input args: /usr/bin/dspam --source=error
--class=spam --signature=1,490cdb0257161646615799 --user
[EMAIL PROTECTED]
7512: [11/02/2008 03:54:19] pass-thru args:
7512: [11/02/2008 03:54:19] processing user [EMAIL PROTECTED]
7512: [11/02/2008 03:54:19] uid = 110, euid = 110, gid = 111, egid = 111
7512: [11/02/2008 03:54:19] loading preferences for user [EMAIL PROTECTED]
7512: [11/02/2008 03:54:19] _ds_pref_load: unable to
_mysql_drv_getpwnam([EMAIL PROTECTED])
7512: [11/02/2008 03:54:19] Loading preferences for uid 0
7512: [11/02/2008 03:54:19] Loading preferences for uid 0
7512: [11/02/2008 03:54:19] default preferences empty. reverting to
dspam.conf preferences.
7512: [11/02/2008 03:54:19] Loading preferences from dspam.conf
7512: [11/02/2008 03:54:19] using
/var/spool/dspam/opt-in/domain.tld/user.name.dspam as path
7512: [11/02/2008 03:54:19] using
/var/spool/dspam/opt-out/domain.tld/user.name.nodspam as path
7512: [11/02/2008 03:54:19] assigning user [EMAIL PROTECTED] to group dspam
7512: [11/02/2008 03:54:19] sedation level set to: 0
7512: [11/02/2008 03:54:19] loading preferences for user dspam
7512: [11/02/2008 03:54:19] Loading preferences for uid 1
7512: [11/02/2008 03:54:19] Loading preferences for uid 0
7512: [11/02/2008 03:54:19] Loading preferences for uid 0
7512: [11/02/2008 03:54:19] default preferences empty. reverting to
dspam.conf preferences.
7512: [11/02/2008 03:54:19] Loading preferences from dspam.conf
7512: [11/02/2008 03:54:19] processing signature.  length: 2988
7512: [11/02/2008 03:54:19] reversing 249 tokens
7512: [11/02/2008 03:54:19] Control: [10 10] [11 9] Delta: [1 -1]
7512: [11/02/2008 03:54:19] reclassifying iteration 1 result: 0
7512: [11/02/2008 03:54:19] libdspam returned probability of 1.000000
7512: [11/02/2008 03:54:19] message result: SPAM
7512: [11/02/2008 03:54:19] DSPAM Instance Shutdown.  Exit Code: 0


And when I clic on the webui, this line appear system.log :
1225594838      M       <None Specified>        1,490cdb0257161646615799        
<None
Specified>      0.027293        dspam   Retrained


But :
# ls /var/spool/dspam/opt-in/domain.tld/user.name.dspam is not found
My configuration use :
/var/spool/dspam/data/domain.tld/user.name/


Why dspam webUI don't work when I declare a mail to be a spam ?
Maybe it's because "opt-in" directory didn't exist... If it's that,
how can I change this ?


Thanks to you, if you have some tips & tricks.

PS : I use " StorageDriver /usr/lib/dspam/libmysql_drv.so " as is in
dspam.conf :
MySQLServer /var/run/mysqld/mysqld.sock
MySQLUser       username
MySQLPass       password
MySQLDb  databasename
MySQLCompress   true
MySQLUIDInSignature     on

Maybe it's something to had with _mysql_drv_getpwnam ?

!DSPAM:1011,490d1cff150921695213557!


Reply via email to