On Mon, Oct 25, 2010 at 11:51:08AM +0200, Julien Vehent wrote:
> On Mon, 25 Oct 2010 11:06:40 +0200, Lars Stavholm <st...@telcotec.se> wrote:
> > Hi All,
> > 
> Hi,
> 
> > I'm trying to test dspam 3.9.1-RC1 using the instructions at 
> > http://wiki.ledhed.net/index.php/DSpam_TESTING.
> > Everything seems to work alright, postfix -> dspam -> postfix -> dovecot -> 
> > mailbox, but dspam_stats shows
> > nothing. According to the test instructions I should see the TI (Total 
> > Innocent) counter increase with each
> > mail sent, and it doesn't.
> > 
> > Any input appreciated.
> 
> What storage driver are you using ? Hash ? Postgres ?

hash

> Do you have any log produced in mail.info or syslog ?

Yes, everything points to the fact that mails are in fact processed by dspam.

This is the complete log for the first mail after installation:

Oct 25 12:08:24 nwinnie postfix/pickup[7149]: 03CF8204D: uid=0 from=<root>
Oct 25 12:08:24 nwinnie postfix/cleanup[7166]: 03CF8204D: 
message-id=<20101025100824.03cf82...@nwinnie.domain.tld>
Oct 25 12:08:24 nwinnie postfix/qmgr[7150]: 03CF8204D: 
from=<r...@nwinnie.domain.tld>, size=471, nrcpt=1 (queue active)
Oct 25 12:08:24 nwinnie postfix/smtpd[7171]: connect from localhost[127.0.0.1]
Oct 25 12:08:24 nwinnie postfix/smtpd[7171]: 381D62047: 
client=localhost[127.0.0.1]
Oct 25 12:08:24 nwinnie postfix/cleanup[7166]: 381D62047: 
message-id=<20101025100824.03cf82...@nwinnie.domain.tld>
Oct 25 12:08:24 nwinnie postfix/qmgr[7150]: 381D62047: 
from=<r...@nwinnie.domain.tld>, size=885, nrcpt=1 (queue active)
Oct 25 12:08:24 nwinnie postfix/smtpd[7171]: disconnect from 
localhost[127.0.0.1]
Oct 25 12:08:24 nwinnie postfix/lmtp[7168]: 03CF8204D: 
to=<st...@nwinnie.domain.tld>, orig_to=<stava>, 
relay=nwinnie.domain.tld[/var/run/dspam.sock], delay=0.53, 
delays=0.3/0.01/0/0.22, dsn=2.6.0, status=sent (250 2.6.0 
<st...@nwinnie.domain.tld> Message accepted for delivery)
Oct 25 12:08:24 nwinnie postfix/qmgr[7150]: 03CF8204D: removed
Oct 25 12:08:24 nwinnie dovecot: lda(stava): sieve: 
msgid=<20101025100824.03cf82...@nwinnie.domain.tld>: stored mail into mailbox 
'INBOX'
Oct 25 12:08:24 nwinnie postfix/local[7174]: 381D62047: 
to=<st...@nwinnie.domain.tld>, relay=local, delay=0.47, delays=0.16/0.01/0/0.3, 
dsn=2.0.0, status=sent (delivered to command: /usr/lib64/dovecot/dovecot-lda)
Oct 25 12:08:24 nwinnie postfix/qmgr[7150]: 381D62047: removed

> Can you list the content and permissions of this directory ? 

Sure. Im using a global shared group called 'users'.

dspam home directory /var/lib/dspam after initial installation:

/var/lib/dspam
├── [drwxrwxr-x 4.0K]  data
│   └── [drwxrwxr-x 4.0K]  users
├── [-rw-r--r--   15]  group
└── [-rw-r--r--    0]  system.log

After dspam has been started first time:

/var/lib/dspam
├── [drwxrwxr-x 4.0K]  data
│   └── [drwxrwxr-x 4.0K]  users
│       └── [-rw-rw---- 2.2M]  users.css
├── [-rw-r--r--   15]  group
└── [-rw-r--r--    0]  system.log

After dspam_stats has been run for the first time:

/var/lib/dspam
├── [drwxrwxr-x 4.0K]  data
│   └── [drwxrwxr-x 4.0K]  users
│       ├── [-rw-rw---- 2.2M]  users.css
│       └── [-rw-r--r--    0]  users.lock
├── [-rw-r--r--   15]  group
└── [-rw-r--r--    0]  system.log

After the first mail has been processed:

/var/lib/dspam
├── [drwxrwxr-x 4.0K]  data
│   └── [drwxrwxr-x 4.0K]  users
│       ├── [-rw-rw---- 2.2M]  users.css
│       ├── [-rw-r--r--    0]  users.lock
│       ├── [drwxrwx--- 4.0K]  users.sig
│       │   └── [-rw-rw---- 1.2K]  4cc5571871201097412168.sig
│       └── [-rw-rw----   12]  users.stats
├── [-rw-r--r--   15]  group
└── [-rw-r--r--  153]  system.log

And this is what dspam_stats gives me at this point:

dspam_stats -H
users:
                TP True Positives:                     0
                TN True Negatives:                     0
                FP False Positives:                    0
                FN False Negatives:                    0
                SC Spam Corpusfed:                     0
                NC Nonspam Corpusfed:                  0
                TL Training Left:                   2500
                SHR Spam Hit Rate                100.00%
                HSR Ham Strike Rate:             100.00%
                PPV Positive predictive value:   100.00%
                OCA Overall Accuracy:            100.00%

I.e. indicating nothing has happened.

The test instructions indicates that one of the counters should have increased 
by one.

I'm at a loss.
/L


------------------------------------------------------------------------------
Nokia and AT&T present the 2010 Calling All Innovators-North America contest
Create new apps & games for the Nokia N8 for consumers in  U.S. and Canada
$10 million total in prizes - $4M cash, 500 devices, nearly $6M in marketing
Develop with Nokia Qt SDK, Web Runtime, or Java and Publish to Ovi Store 
http://p.sf.net/sfu/nokia-dev2dev
_______________________________________________
Dspam-user mailing list
Dspam-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspam-user

Reply via email to