[Dovecot] Plugin antispam - mailtrain realtime sa-learn

Hans Spaans hans at dailystuff.nl
Thu Sep 12 18:55:56 EEST 2013


Hi,

On Dovecot Wiki2[1] it is written that you need a wrapper script for 
sa-learn as it shouldn't support pipped input, but that is supported 
since SpamAssassin 2.6 at least. As far as I can see and test, the 
following config makes it work without a wrapper script. Can someone 
confirm it before the wiki is updated?

   plugins {
     antispam_backend = pipe
     antispam_trash = Trash
     antispam_spam = Junk
     antispam_mail_spam  = --spam
     antispam_mail_notspam  = --ham
     antispam_mail_sendmail = /usr/bin/sa-learn
   }

Hans

[1] http://wiki2.dovecot.org/Plugins/Antispam


More information about the dovecot mailing list