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

2016-04-13 Thread deano-dovecot
Johannes - I'm running 2.2.9 under Ubuntu 14.04. I gave up on using the pipe backend, just could not get the damn thing to work. I would up using spool2dir and incron, which works perfectly. The issue was that sa-learn would cause a pthread_cancel error with libgcc_s.so.1 Below is an exce

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

2016-04-13 Thread Florian Mutter
> Am 13.04.2016 um 12:14 schrieb Johannes Rohr : > > 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 re

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

2016-04-13 Thread Johannes Rohr
Am 13.04.2016 um 11:54 schrieb Florian Mutter: Am 13.04.2016 um 10:35 schrieb Johannes Rohr : 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@vm10:/etc/dovecot/conf.d# cat /tmp/sa-learn-pip

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

2016-04-13 Thread Johannes Rohr
Am 13.04.2016 um 11:54 schrieb Florian Mutter: Am 13.04.2016 um 10:35 schrieb Johannes Rohr : 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@vm10:/etc/dovecot/conf.d# cat /tmp/sa-learn-pip

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

2016-04-13 Thread Johannes Rohr
Am 13.04.2016 um 11:31 schrieb Steffen Kaiser: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On Wed, 13 Apr 2016, Johannes Rohr wrote: tweaked the wrapper script to make it work. It seems like the sa-learn call See the page again. Can you kindly be more precise? The wrapper script at the p

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

2016-04-13 Thread Florian Mutter
Am 13.04.2016 um 10:35 schrieb Johannes Rohr : > > 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@vm10:/etc/dovecot/conf.d# cat /tmp/sa-learn-pipe.log > starting log > 25200-start (-

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

2016-04-13 Thread Steffen Kaiser
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On Wed, 13 Apr 2016, Johannes Rohr wrote: tweaked the wrapper script to make it work. It seems like the sa-learn call See the page again. silently fails: "/usr/local/bin/sa-learn-pipe.sh" 10L, 350C geschrieben root@vm10:/etc/dovecot/conf.d# cat

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

2016-04-13 Thread Johannes Rohr
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@vm10:/etc/dovecot/conf.d# cat /tmp/sa-learn-pipe.log starting log 25200-start (--username=johan...@rohr.org --spam) libgcc_s.so.1 must be insta

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

2016-04-13 Thread Johannes Rohr
Am 13.04.2016 um 09:17 schrieb Tom Hendrikx: On 13-04-16 08:27, Johannes Rohr wrote: Hi List, does the antispam plugin any way of actually seeing how it is calling the pipe program and how it is failing? I can't reproduce the failure when I call sa-learn manually. Can someone tell me, with whic

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

2016-04-13 Thread Tom Hendrikx
On 13-04-16 08:27, Johannes Rohr wrote: > Hi List, > > does the antispam plugin any way of actually seeing how it is > calling the pipe program and how it is failing? I can't reproduce the > failure when I call sa-learn manually. Can someone tell me, with > which UID the call happens, is it the UI

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

2016-04-12 Thread Johannes Rohr
Hi List, does the antispam plugin any way of actually seeing how it is calling the pipe program and how it is failing? I can't reproduce the failure when I call sa-learn manually. Can someone tell me, with which UID the call happens, is it the UID the current dovecot process is running under

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

2016-04-12 Thread Johannes Rohr
Hi Tom, Am 12.04.2016 um 22:26 schrieb Tom Hendrikx: On 12-04-16 20:14, Johannes Rohr wrote: Hi, my setup is a dovecot 2.0.19 IMAP server on Ubuntu Precise with the antispam plugin in version 2.0+20120225-2 and spamassassin at version 3.2.2 I have been trying and failed to get the pipe b

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

2016-04-12 Thread Tom Hendrikx
On 12-04-16 20:14, Johannes Rohr wrote: > Hi, my setup is a dovecot 2.0.19 IMAP server on Ubuntu Precise with > the antispam plugin in version 2.0+20120225-2 and spamassassin at > version 3.2.2 > > I have been trying and failed to get the pipe backend of the antispam > plugin to work. Spamas

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

2016-04-12 Thread Johannes Rohr
Hi Jürgen, what do you mean by "It's already integrated"? Of course I added the configuration, see my initial mail below. I still am struggling to understand what the reason for the wrapper script is and how the plugin is supposed to call he helper programme, is the message passed to it via

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

2016-04-12 Thread J. Echter
dovecot 2.2.10 Am 12.04.2016 um 20:18 schrieb J. Echter: > Hi, > > here (Centos 7) its already integrated... > > Just add something like this: > > plugin { > > > antispam_mail_sendmail = /usr/bin/sa-learn > antispam_mail_sendmail_args = -u amavis > antispam_mail_spam = --spam > antis

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

2016-04-12 Thread Johannes Rohr
Hi, my setup is a dovecot 2.0.19 IMAP server on Ubuntu Precise with the antispam plugin in version 2.0+20120225-2 and spamassassin at version 3.2.2 I have been trying and failed to get the pipe backend of the antispam plugin to work. Spamassin by itself works, a manual call of sa-learn w

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

2016-04-12 Thread J. Echter
Hi, here (Centos 7) its already integrated... Just add something like this: plugin { antispam_mail_sendmail = /usr/bin/sa-learn antispam_mail_sendmail_args = -u amavis antispam_mail_spam = --spam antispam_mail_notspam = --ham } to dovecot.conf Cheers Jürgen Am 12.04.2016 um 20:14