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

Johannes Rohr johannes at
Wed Apr 13 10:28:23 UTC 2016

Am 13.04.2016 um 11:54 schrieb Florian Mutter:
> 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.

I have just filed a bug with spamassassin,

I am not sure that they will act upon it, as it is an old version, and 
SA isn't the ultimate cause anyway.



> [1]
>> Cheers,
>> Johannes

More information about the dovecot mailing list