On Jun 15, 2012, at 1:08 AM, Manel Gimeno Zaragozá wrote:
> hello,
>
> I'm trying to configure an installation of dspam with postfix setup in
> Centos6. My problem is that I'm not able to train dspam succesfully. I've
> installed dspam from rpm, so I've not compiled it.
> Here is my configuration:
>
> Postfix(25)-->Dspam(dspam.sock)-->postfix(10026)------->Remote
> Postfix(25)-->Cyrus
>
> But when I try to report an spam message, I forward this message to
> s...@pre.ddol.es and in maillog I got:
> Jun 15 10:03:15 mx-test postfix/smtpd[2629]: connect from
> localhost.ddol-test.com[127.0.0.1]
> Jun 15 10:03:15 mx-test postfix/smtpd[2629]: D68ED228891:
> client=localhost.ddol-test.com[127.0.0.1]
> Jun 15 10:03:15 mx-test postfix/cleanup[2626]: D68ED228891:
> message-id=<4fdaecef.50...@pre.ddol.es>
> Jun 15 10:03:15 mx-test postfix/qmgr[2600]: D68ED228891:
> from=<mgime...@pre.ddol.es>, size=7817, nrcpt=1 (queue active)
> Jun 15 10:03:15 mx-test dspam[2635]: Signature retrieval for
> '4fdaec4326141540413857' failed
> Jun 15 10:03:15 mx-test dspam[2635]: Unable to find a valid signature.
> Aborting.
> Jun 15 10:03:15 mx-test dspam[2635]: process_message returned error -5.
> dropping message.
> Jun 15 10:03:15 mx-test postfix/pipe[2633]: D68ED228891:
> to=<s...@pre.ddol.es>, relay=dspam-retrain, delay=0.16,
> delays=0.12/0.01/0/0.03, dsn=2.0.0, status=sent (delivered via dspam-retrain
> service)
> Jun 15 10:03:15 mx-test postfix/qmgr[2600]: D68ED228891: removed
> Jun 15 10:03:16 mx-test postfix/smtpd[2629]: disconnect from
> localhost.ddol-test.com[127.0.0.1]
> Jun 15 10:03:16 mx-test postfix/lmtp[2627]: B4A83228890:
> to=<s...@pre.ddol.es>,
> relay=mx-test.ddol-test.com[/var/run/dspam/dspam.sock], delay=0.28,
> delays=0.04/0/0/0.24, dsn=2.6.0, status=sent (250 2.6.0 <s...@pre.ddol.es>
> Message accepted for delivery)
> Jun 15 10:03:16 mx-test postfix/qmgr[2600]: B4A83228890: removed
>
>
> It looks like the mail is going again to "dspam" and a new "Signature" is
> created. Anyway, I think dspam is not learning anything because the
> "X-DSPAM-Probability" is always 0.0000.
>
> I'm not sure If I'm misunderstand something or I'm doing something wrong.
> Other thing i'm worried about is, I'm using thunderbird to read and forward
> messages and I don't if this is the correct way to do it.
>
> If you need more information, please tell me.
Hello,
I am by no means an expert. It seems to me though that your issue is that you
want that transport to take effect the first postfix instance (in your diagram
the one listening to port 25). Based on the log it seems that the message goes
from postfix to dspam to postfix which then gives it to dspam-retrain. So a new
signature is added before retrain sees the message. Not sure how to fix that
however you want the first postfix instance to follow the transport before
passing to dspam so that it passes to the dspam-retrain script instead which
will then retrain and discard.
Just my thoughts. Also I maintain the rpms for fedora and centos so if there is
a bug let me know.
------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and
threat landscape has changed and how IT managers can respond. Discussions
will include endpoint security, mobile security and the latest in malware
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
Dspam-user mailing list
Dspam-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspam-user