Hi,

I just installed dspam on a Ubuntu 8.04 server. I've configured it with global 
user by creating a file /var/spool/dspam/group with this entry:

groupname:classification:*globaluser

I configured it to use mysql. I wasn't really planning on doing per-user 
configurations (or per-user training) for this particular installation, I just 
wanted to use a global dictionary.

First question, do I need to setup a virtual_uid table in mysql if all I'm 
using is the global user?

Second, I'm having trouble getting dspam_train to work, pointing it to 2 
maildirs:

# dspam_train globaluser .SPAM/cur cur
Taking Snapshot...
globaluser        TP:     0 TN:     0 FP:     0 FN:     0 SC:     0 NC:     0
Training cur / .SPAM/cur corpora...
[test: nonspam] 1223870337.M62099P6448V000000000 result:
===== WOAH THERE =====
I was unable to parse the result. Test Broken.
======================

Third, if I manually feed corpus, I don't see mysql getting updated with any 
data whatsoever.

# dspam --debug --client --user globaluser --class=innocent --source=corpus < 
file
# dspam_stats
globaluser        TP:     0 TN:     0 FP:     0 FN:     0 SC:     0 NC:     0

I check mysql and all tables are still empty.

Here's from the debug log:
6311: [02/17/2009 08:27:26] No QuarantineAgent option found. Using standard 
quarantine.
6311: [02/17/2009 08:27:26] DSPAM Instance Startup
6311: [02/17/2009 08:27:26] input args: dspam --debug --client --user 
globaluser --class=innocent --source=corpus
6311: [02/17/2009 08:27:26] pass-thru args:
6311: [02/17/2009 08:27:26] processing user globaluser
6311: [02/17/2009 08:27:26] uid = 0, euid = 0, gid = 0, egid = 118
6311: [02/17/2009 08:27:26] loading preferences for user globaluser
6311: [02/17/2009 08:27:26] Loading preferences for uid 111
6311: [02/17/2009 08:27:26] Loading preferences for uid 0
6311: [02/17/2009 08:27:26] Loading preferences for uid 0
6311: [02/17/2009 08:27:26] default preferences empty. reverting to dspam.conf 
preferences.
6311: [02/17/2009 08:27:26] Loading preferences from dspam.conf
6311: [02/17/2009 08:27:26] using 
/var/spool/dspam/opt-in/local/globaluser.dspam as path
6311: [02/17/2009 08:27:26] using 
/var/spool/dspam/opt-out/local/globaluser.nodspam as path
6311: [02/17/2009 08:27:26] DSPAM Instance Shutdown.  Exit Code: 0

Thanks for any help.

Ricardo
------------------------------------------------------------------------------
Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA
-OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise
-Strategies to boost innovation and cut costs with open source participation
-Receive a $600 discount off the registration fee with the source code: SFAD
http://p.sf.net/sfu/XcvMzF8H
_______________________________________________
Dspam-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/dspam-user

Reply via email to