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

Johannes Rohr johannes at rohr.org
Wed Apr 13 10:14:04 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.

Yikes! Our server is running a fairly dated Ubuntu Precise, what's your 
version? Did an upgrade fail to fix it? I am not seeing this error on 
Debian Sid but I am not using virtual users over here, so that might be 
the cause. Did you report the bug to the Spamassassin bugzilla?

Cheers,

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



More information about the dovecot mailing list