On 30-04-13 17:14, Eugene Paskevich wrote: > On Tue, 30 Apr 2013 15:56:19 +0300, Ravi Kanchan > <ravi_kanchan2...@yahoo.com> wrote: > >> thank you for your valuable response >> >> >> I have changed the configuration as per your suggestion. > > Try putting it this way: > > plugin { > antispam_spam = Spam > antispam_allow_append_to_spam = YES > antispam_backend = dspam > antispam_dspam_args = > --client;--user;vmail;--source=error;--signature=%%s > antispam_dspam_result_header = X-DSPAM-Result > antispam_signature = X-DSPAM-Signature > } >
I run dovecot, dspam and antispam plugin on dovecot 2.1.16 with: plugin { antispam_backend = dspam antispam_dspam_args = --user;mail;--deliver=;--source=error;--signature=%%s antispam_dspam_binary = /usr/bin/dspamc antispam_dspam_notspam = --class=innocent antispam_dspam_spam = --class=spam antispam_signature = X-DSPAM-Signature antispam_signature_missing = move antispam_spam_pattern_ignorecase = Junk;Junk.* antispam_trash_pattern_ignorecase = Trash;Deleted Items;Deleted Messages } And it works great :) -- Tom