PDA

View Full Version : DSPAM training problem


SirLancelot
2nd March 2008, 04:32
I've followed the guide at :-

http://www.howtoforge.com/postfix_mysql_dovecot_dspam_clamav_postgrey_rbl_de bian_etch

I've created a spam training directory and downloaded the training files and decompress them.
Now when I run from the spam training directory
# dspam_train test spam_2/ easy_ham_2/

I get

Taking Snapshot...
test TP: 0 TN: 0 FP: 0 FN: 0 SC: 0 NC: 0
Training easy_ham_2/ / spam_2/ corpora...
[test: nonspam] 00349.335e1da552568724040e799bf3 result:
===== WOAH THERE =====
I was unable to parse the result. Test Broken.
======================

Anyone have any ideas?
many thanks

c4rdinal
4th April 2008, 13:20
I had the same problem. I hope you anyone will finally put an answer to this post.

TIA

ru4r34l
7th April 2008, 22:46
make sure your variables ion /etc/dspam/dspam.d/mysql_conf are correct? and that the db your gint to use exist and db_user exist.

Also make sure all these values are filled:

MySQLServer 127.0.0.1
MySQLPort 3306
MySQLUser dspam_user
MySQLPass dspam_user_password
MysqLDb dspam_db
MySQLVirtualTable dspam_virtual_uids
MySQLVirtualUIDField uid
MySQLVirtualUsernameField username


regards,

SirLancelot
8th April 2008, 23:21
make sure your variables ion /etc/dspam/dspam.d/mysql_conf are correct? and that the db your gint to use exist and db_user exist.

Also make sure all these values are filled:

MySQLServer 127.0.0.1
MySQLPort 3306
MySQLUser dspam_user
MySQLPass dspam_user_password
MysqLDb dspam_db
MySQLVirtualTable dspam_virtual_uids
MySQLVirtualUIDField uid
MySQLVirtualUsernameField username


regards,
Thanks I'll check this when I get the new xen server up and running. next week hopefully.
I'll post the results here.