Sounds like the training is working with your patch :
Nov 15 11:13:59 ks29138 imap: antispam: plugin initialising (1.1-notgit)
Nov 15 11:13:59 ks29138 imap: antispam: "Trash" is trash folder
Nov 15 11:13:59 ks29138 imap: antispam: "Spam" is spam folder
Nov 15 11:13:59 ks29138 imap: antispam: no unsure folders
Nov 15 11:13:59 ks29138 imap: antispam: dspam binary set to /usr/bin/dspam
Nov 15 11:13:59 ks29138 imap: antispam: signature header line is
"X-DSPAM-Signature"
Nov 15 11:13:59 ks29138 imap: antispam: will silently move mails with
missing signature
Nov 15 13:05:37 ks29138 imap: antispam: mailbox_is_unsure(Spam): 0
Nov 15 13:05:37 ks29138 imap: antispam: mailbox_is_trash(INBOX): 0
Nov 15 13:05:37 ks29138 imap: antispam: mailbox_is_trash(Spam): 0
Nov 15 13:05:37 ks29138 imap: antispam: mail copy: from trash: 0, to
trash: 0
Nov 15 13:05:37 ks29138 imap: antispam: mailbox_is_spam(INBOX): 0
Nov 15 13:05:37 ks29138 imap: antispam: mailbox_is_spam(Spam): 1
Nov 15 13:05:37 ks29138 imap: antispam: mailbox_is_unsure(INBOX): 0
Nov 15 13:05:37 ks29138 imap: antispam: mail copy: src spam: 0, dst
spam: 1, src unsure: 0
Nov 15 13:05:37 ks29138 imap: antispam: /usr/bin/dspam --source=error
--class=spam --signature=491eb6f2313798800310897
And without the patch :
Nov 15 13:18:42 ks29138 imap: antispam: plugin initialising (1.1-3-g03a1d10)
Nov 15 13:18:42 ks29138 imap: antispam: "Trash" is trash folder
Nov 15 13:18:42 ks29138 imap: antispam: "Spam" is spam folder
Nov 15 13:18:42 ks29138 imap: antispam: no unsure folders
Nov 15 13:18:42 ks29138 imap: antispam: dspam binary set to /usr/bin/dspam
Nov 15 13:18:42 ks29138 imap: antispam: signature header line is
"X-DSPAM-Signature"
Nov 15 13:18:45 ks29138 imap: antispam: mailbox_is_unsure(Spam): 0
Nov 15 13:18:45 ks29138 imap: antispam: mailbox_is_trash(INBOX): 0
Nov 15 13:18:45 ks29138 imap: antispam: mailbox_is_trash(Spam): 0
Nov 15 13:18:45 ks29138 imap: antispam: mail copy: from trash: 0, to
trash: 0
Nov 15 13:18:45 ks29138 imap: antispam: mailbox_is_spam(INBOX): 0
Nov 15 13:18:45 ks29138 imap: antispam: mailbox_is_spam(Spam): 1
Nov 15 13:18:45 ks29138 imap: antispam: mailbox_is_unsure(INBOX): 0
Nov 15 13:18:45 ks29138 imap: antispam: mail copy: src spam: 0, dst
spam: 1, src unsure: 0
Nov 15 13:18:45 ks29138 imap: antispam: /usr/bin/dspam --source=error
--class=spam --signature=491eb6f2313798800310897
I tried with some new mails this time.
Guillaume HILT a écrit :
Not really, I haven't tried it with some new mails.
I had this problem with some old one I imported from my previous
server (i used spamassassin and courier-imap).
I'll try to test the training and if it's not working, I'll revert to
the svn version.
It's not a big deal anyway if I can't use some old mails to train the
plugin.
Johannes Berg a écrit :
On Fri, 2008-11-14 at 16:53 +0100, Guillaume HILT wrote:
Ok, i updated the files by hand, and it's working like a charm :)
Thanks for the patch Johannes.
Umm, you realise that now it's not training at all, right? That's why
the docs there say "don't use this patch unless you verified that it
works first". Unless you really had this problem only with some large
emails?
johannes
--
Guillaume Hilt