Hello everybody,

I have a problem with my dspam installation.

Here is what I want to do:

Let's say that my MX is mailsystem.com and that I have a test user
[EMAIL PROTECTED]
The MTA (postfix) is hosted on a machine mta.mydomain.com
The MDA (cyrus) is hosted on a machine mda.mydomain.com and communicates
with postfix via lmtp.

What I wanted to do basically was something like this:

SMTP                     lmtp                     lmtp
-----> MTA.mydomain.com -----> DSPAM.mydomain.com ----->
MDA.mydomain.com

DSPAM is using a mysql backend and postfix is using DSPAM as a
content_filter:
content_filter = lmtp:[dspam.mydomain.com]:24

What I could see with dspam_stats -H [EMAIL PROTECTED] was something
like this

[EMAIL PROTECTED]:
              TP True Positives:              0
              TN True Negatives:              100
              FP False Positives:             0
              FN False Negatives:             0
              SC Spam Corpusfed:              0
              NC Nonspam Corpusfed:           0
              TL Training Left:            2400
              SHR Spam Hit Rate         100.00%
              HSR Ham Strike Rate:        0.00%
              OCA Overall Accuracy:     100.00%
        
The point is that no spam were detected, and I'm sure there was...

So I decided to do a training of dspam this way:
I've downloaded 20021010_spam.tar.bz2 and 20030228_easy_ham.tar.bz2 from
http://spamassassin.apache.org/publiccorpus/
untar, and the run

# dspam_train [EMAIL PROTECTED] spam/ easy_ham/

every single spam was failed and detected as innocent e.g: 
[test: spam   ] 00013.d3f0b591a65f116ea5d9d4ad91 result: FAIL (Innocent)
  [fn] Subject: Get the Child Support You Deserve
11.180

Retraining didn't help, and dspam_stats gave me the following results:

[EMAIL PROTECTED]:
              TP True Positives:              0
              TN True Negatives:             65
              FP False Positives:             0
              FN False Negatives:            14
              SC Spam Corpusfed:              0
              NC Nonspam Corpusfed:           0
              TL Training Left:            2435
              SHR Spam Hit Rate           0.00%
              HSR Ham Strike Rate:        0.00%
              OCA Overall Accuracy:      82.28%

I was getting mad so I've decided to change my configuration in a more
standard one, in order to reinject the mails back to postfix via SMTP.
Of course the result is the same.

I may have missed something... Is there something special with virtual
users or something. I've already RTFM or STFW ;-)

Don't think this have any importance but dspam is hosted on FreeBSD.

Thank you for your help

 Olivier W.

Reply via email to