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

Johannes Rohr johannes at rohr.org
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 rohr.org>:
>> tweaked the wrapper script to make it work. It seems like the sa-learn call silently fails:
>>
>> "/usr/local/bin/sa-learn-pipe.sh" 10L, 350C geschrieben
>> root at vm10:/etc/dovecot/conf.d# cat /tmp/sa-learn-pipe.log
>> starting log
>> 25200-start (--username=johannes at rohr.org --spam)
>> libgcc_s.so.1 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, 
https://bz.apache.org/SpamAssassin/show_bug.cgi?id=7309

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

Cheers,

Johannes


>
> [1] http://www.dovecot.org/list/dovecot/2013-November/093378.html
>
>> Cheers,
>>
>> Johannes



More information about the dovecot mailing list