antispam plugin, pipe backend, how to make it work?

Florian Mutter elm at
Wed Apr 13 09:54:56 UTC 2016

Am 13.04.2016 um 10:35 schrieb Johannes Rohr <johannes at>:
> tweaked the wrapper script to make it work. It seems like the sa-learn call silently fails:
> "/usr/local/bin/" 10L, 350C geschrieben
> root at vm10:/etc/dovecot/conf.d# cat /tmp/sa-learn-pipe.log
> starting log
> 25200-start (--username=johannes at --spam)
> must be installed for pthread_cancel to work
> 25200-end
> Does the above error message have anything to do with it? Running the script & sa-learn manually works fine. do virtual users change something how dovecot calls programs, such as chrooting them?

Here [1] is an old thread about that problem.In short: It seems to be a problem in sa-learn that is triggered by the privilege drop that dovecot does when starting.

I have the same problem and I have not found a solution yet.


> Cheers,
> Johannes

More information about the dovecot mailing list