I'm running postfix, dspam version 3.10.2, and dovecot with the dspam plugin
but it doesn't seem to be classifying email or training properly.  I've
configured everything according to the documentation and have been pulling
my hair out for the past two days trying to figure out why it's not working. 
I've attached the relevant configuration files and would be very grateful if
someone here could explain what's wrong.

dspam.conf
<http://dspam-users.2290790.n4.nabble.com/file/n4641961/dspam.conf>  
20-imap.conf
<http://dspam-users.2290790.n4.nabble.com/file/n4641961/20-imap.conf>  
master.cf <http://dspam-users.2290790.n4.nabble.com/file/n4641961/master.cf>  
main.cf <http://dspam-users.2290790.n4.nabble.com/file/n4641961/main.cf>  

I'm confused about what to expect from dspam on the command line.  Using the
training corpuses, I get the following results:

dspam --user <username> --classify <
ham/00250.c7603b27a45284d12b49adf767b2b6fa
X-DSPAM-Result: <username>; result="Innocent"; class="Innocent";
probability=0.0000; confidence=1.00; signature=N/A

dspam --user <username> --classify <
spam/00500.85b72f09f6778a085dc8b6821965a76f
X-DSPAM-Result: <username>; result="Innocent"; class="Innocent";
probability=0.0000; confidence=1.00; signature=N/A

I would expect to get a result of Spam for a message in the SPAM corpus but
dspam is giving it an Innocent result.  Also, when I run this command on a
known clean message in my inbox with a tag of X-dspam-result: Innocent, I
get the following:

dspam --user <username> --classify <
1436832517.M373995P7093.www,S=117373,W=120324:2,
X-DSPAM-Result: <username>; result="Spam"; class="Spam"; probability=1.0000;
confidence=1.00; signature=55a4530550068593316169

Now, I know this is not SPAM!  Here are the current stats for this user:

Training Snapshot:
<username>          TP:     0 TN:   752 FP:     0 FN:     0 SC:     0 NC:    
0
                  SHR:  100.00%       HSR:    0.00%       OCA:  100.00%

Overall Statistics:
<username>          TP:    64 TN: 14985 FP:     0 FN:  5710 SC:     0 NC:    
0
                  SHR:    1.11%       HSR:    0.00%       OCA:   72.49%

Also, it doesn't seem like the dovecot antispam plugin is working either.  I
get repeated junk mail that I move into my Junk folder but more of the same
continues to get delivered to my inbox everyday.



--
View this message in context: 
http://dspam-users.2290790.n4.nabble.com/dspam-not-training-tp4641961.html
Sent from the dspam users mailing list archive at Nabble.com.

------------------------------------------------------------------------------
Don't Limit Your Business. Reach for the Cloud.
GigeNET's Cloud Solutions provide you with the tools and support that
you need to offload your IT needs and focus on growing your business.
Configured For All Businesses. Start Your Cloud Today.
https://www.gigenetcloud.com/
_______________________________________________
Dspam-user mailing list
Dspam-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspam-user

Reply via email to