[Dovecot] dovecot antispam plugin is not woking

Ravi Kanchan ravi_kanchan2004 at yahoo.com
Wed May 1 10:11:31 EEST 2013


Dear Tom,

I have upgrade dovecot to 2.1.15 and change configuration as per your guidance. but the problem is still remain. can you share your dspam.conf  file.
  

 
Regard's

Ravi Kanchan Sharma
Sr. System Administrator
Infinite Computer Solutions (I) Ltd. Bglr.
Mo. 9997154666
 

________________________________
 From: Tom Hendrikx <tom at whyscream.net>
To: dovecot at dovecot.org 
Sent: Wednesday, 1 May 2013 2:39 AM
Subject: Re: [Dovecot] dovecot antispam plugin is not woking
 

On 30-04-13 17:14, Eugene Paskevich wrote:
> On Tue, 30 Apr 2013 15:56:19 +0300, Ravi Kanchan
> <ravi_kanchan2004 at 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


More information about the dovecot mailing list