[Dovecot] Dovecot antispam plugin bug: got an empty message
It is few months ago I requested help with combination dovecot - dovecot- antispam plugin and dspam.
Now I got into troubles with a lot of spam delivering to users inbox. Problem described bellow is now better hidden but stil remains:
When moving a message from INBOX to Junk, dspam got an empty message. I made a wrapper about dspamc and there is no input on stdio. The dspam was not trained (got an empty message).
Looking to source code of dspam and antispam plugin I suspect the dovecot not to sending any content to plugin when moving from inbox to junk.
Petr Bravenec
Dne Wednesday 25 of January 2012 17:19:18 Tom Hendrikx napsal(a):
It looks that I have misconfigured the dovecot plugin:
plugin {
antispam_dspam_binary = /usr/bin/dspam # should be dspam
antispam_dspam_binary = /usr/bin/dspamc # does not work
antispam_signature = X-DSPAM-Signature
antispam_signature_missing = move
antispam_spam_pattern_ignorecase = Junk;Junk.*
antispam_trash_pattern_ignorecase = Trash;Deleted Items
antispam_backend = dspam
antispam_dspam_args = --user;%u;--deliver=;--source=error;--
signature=%%s antispam_dspam_spam = --class=spam antispam_dspam_notspam = --class=innocent
}
Petr Bravenec
Dne So 9. června 2012 22:23:05 Petr Bravenec napsal(a):
participants (2)
-
Petr Bravenec
-
Petr Bravenec