[Dovecot] Have problem with antispam plugin

Johannes Berg johannes at sipsolutions.net
Thu Apr 8 09:35:42 EEST 2010


On Thu, 2010-04-08 at 10:23 +0400, gerasew at gmail.com wrote:
> I downloaded the source code plug-in version 1.3 from 
> http://johannes.sipsolutions.net/download/dovecot-antispam/
> Unpack and make from this .config file:
> 
>      BACKEND=mailtrain
>      DOVECOT=/usr/include/dovecot
>      INSTALLDIR=/usr/lib/dovecot/modules/imap
>      USER=root
>      GROUP=root
>      DEBUG=syslog
>      DEBUG_VERBOSE=1
>      PLUGINNAME=antispam
> 
> 
> Dovecot cofing file:
> 
>      protocol imap {
>        login_executable = /usr/lib/dovecot/imap-login
>        mail_executable = /usr/lib/dovecot/imap
>        mail_plugins = quota imap_quota antispam
>      }
> 
>      plugin {
>        antispam_mail_sendmail = /usr/bin/sa-learn
>        antispam_mail_spam = --spam
>        antispam_mail_notspam = --ham
>        antispam_mail_tmpdir = /tmp
>        antispam_trash_pattern_ignorecase = trash;Deleted *
>        antispam_spam_pattern_ignorecase = junk;spam
>      }
> 
> 
> When move message into\from "Spam" folder get error:
> 
>      [SERVERBUG] failed to send email

Are you using dovecot 1.2.11?

johannes



More information about the dovecot mailing list