similar to: Sa-learn-pipe.sh script modification

Displaying 20 results from an estimated 10000 matches similar to: "Sa-learn-pipe.sh script modification"

2013 Sep 11
1
Antispam plugin / sa-learn
Hello, Sorry for posting on both list spamassassin and dovecot : my question is on dovecot antispam plugin, used to learn spamassassin with sa-learn. I wonder if there is a way to confirme sa-learn is correctly feeded by the antispam plugin. dovecot version : 2.1.7 spamassassin version : 3.3.2 (both packaged in debian stable, with postfix and amavis) i configured dovecot's antispam plugin
2015 Aug 21
2
plugin antispam sa-learn run program failed with exit code -1
Le 21/08/2015 16:21, Steffen Kaiser a ?crit : > > - -1 usually means exec() failed, that is: > > /usr/bin/sa-learn does not exist or the process thinks so at least. Hello Steffen, thanks for your reply. I've tried to use an external script sa-learn-pipe.sh : > #!/bin/bash > echo /usr/bin/sa-learn $* /tmp/sendmail-msg-$$.txt echo "$$-start > ($*)" >>
2019 Jun 04
0
failed to pipe to program sa-learn-spam.sh
Op 30-5-2019 om 9:46 schreef @lbutlr via dovecot: > Error: program `/usr/lib/dovecot/sieve/sa-learn-spam.sh' terminated abnormally, signal 11 > Error: sieve: pipe action: failed to pipe message to program `sa-learn-spam.sh': refer to server log for more information. [2019-05-29 17:59:12] > > What server log? This is all that get logged. Output from dovecot -n is needed to
2018 Apr 14
1
imapsieve fail to pipe to sa-learn-spam.sh
Hello, I'm trying to get Dovecot 2.31, pidgeonhole 0.51 going with imapsieve and rspamd. I'm getting the below in my errorlog: cat dovecot.log 2018-04-13 17:35:34 imap-login: Info: Login: user=<testuser at domain.com>, method=PLAIN, rip=127.0.0.1, lip=127.0.0.1, mpid=57977, secured, session=<o4T2psFpje5/AAAB> 2018-04-13 17:35:34 imap(testuser at
2019 Jun 06
2
failed to pipe to program sa-learn-spam.sh
On Jun 6, 2019, at 1:03 PM, @lbutlr via dovecot <dovecot at dovecot.org> wrote: > On Jun 6, 2019, at 4:45 AM, @lbutlr via dovecot <dovecot at dovecot.org> wrote: >> imapsieve_mailbox2_before = file:/usr/lib/dovecot/sieve/report-ham.sieve >> imapsieve_mailbox2_causes = COPY >> imapsieve_mailbox2_from = Junk >> imapsieve_mailbox2_name = * > > One other
2019 Jun 06
0
failed to pipe to program sa-learn-spam.sh
On Jun 6, 2019, at 1:18 PM, @lbutlr via dovecot <dovecot at dovecot.org> wrote: > Hang on. I think this might be sa-learn that is crashing. Fixing sa-learn eliminated the error dovecot was reporting. -- When the stars threw down their spears And watered heaven with their tears, Did He smile his work to see? Did He who made the Lamb make thee?
2019 Jun 06
2
failed to pipe to program sa-learn-spam.sh
On Jun 4, 2019, at 1:43 PM, Stephan Bosch via dovecot <dovecot at dovecot.org> wrote: > Op 30-5-2019 om 9:46 schreef @lbutlr via dovecot: >> Error: program `/usr/lib/dovecot/sieve/sa-learn-spam.sh' terminated abnormally, signal 11 >> Error: sieve: pipe action: failed to pipe message to program `sa-learn-spam.sh': refer to server log for more information. [2019-05-29
2019 May 30
2
failed to pipe to program sa-learn-spam.sh
Error: program `/usr/lib/dovecot/sieve/sa-learn-spam.sh' terminated abnormally, signal 11 Error: sieve: pipe action: failed to pipe message to program `sa-learn-spam.sh': refer to server log for more information. [2019-05-29 17:59:12] What server log? This is all that get logged. # pwd /usr/lib/dovecot/sieve # ls -lsa > total 96 > 8 drwxrwxrwx 3 root wheel 512 Jun 18 2018
2016 Apr 13
5
antispam plugin, pipe backend, how to make it work?
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
2016 Apr 12
2
antispam plugin, pipe backend, how to make it work?
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 backend of the antispam >> plugin to work.
2016 Apr 13
2
antispam plugin, pipe backend, how to make it work?
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 UID the current dovecot process > is running under (which would be vmail, as
2019 Jun 06
0
failed to pipe to program sa-learn-spam.sh
On Jun 6, 2019, at 4:45 AM, @lbutlr via dovecot <dovecot at dovecot.org> wrote: > imapsieve_mailbox2_before = file:/usr/lib/dovecot/sieve/report-ham.sieve > imapsieve_mailbox2_causes = COPY > imapsieve_mailbox2_from = Junk > imapsieve_mailbox2_name = * One other note, this sieve works just fine. -- A closed mouth gathers no feet.
2015 Apr 10
0
sa-learn with remote Dovecot folders
On 04/09/2015 11:37 AM, Andreas Kasenides wrote: > You got me thinking towards the antispam plugin which I have nto used > before, but can you elaborate if my users are system users and the > training is done only via a cron entry? I always used the antispam plugin, as a way to initiate training via IMAP. Is your bayes database central (system-wide) or per user? Is it SQL or separate
2019 Nov 16
2
Learning ham/spam with IMAPSieve: sa-learn-ham.sh terminated abnormally, signal 11
Hello, I am trying to get rspam to learn what is spam and what is ham. After following the IMAPSieve guide in the dovecot wiki (https://wiki2.dovecot.org/HowTo/AntispamWithSieve), the mail.log shows the following, whenever I move a mail from the Spam folder to my inbox and vice versa: sieve: Opening script 1 of 1 from `/usr/lib/dovecot/sieve/report-ham.sieve' sieve: Loading script
2015 Aug 21
0
plugin antispam sa-learn run program failed with exit code -1
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On Fri, 21 Aug 2015, Guillaume Lakano - DOVECOT wrote: > Aug 20 20:21:14 mail imap: antispam: running mailtrain backend program > /usr/bin/sa-learn > Aug 20 20:21:14 mail imap: antispam: running mailtrain backend program > /usr/bin/sa-learn > Aug 20 20:21:14 mail imap: antispam: running mailtrain backend program > parameter 1 -D
2015 Aug 21
4
plugin antispam sa-learn run program failed with exit code -1
Hello ! I've installed iRedMail on an Ubuntu Server 14.04.1 I'm not the only one on the iRedMail forum to have the problem, but the developpers of iRedMail doesn't found the problem and advice me to ask you directly. When I want to move an email directly to /Junk/ this not works. In Thunderbird, the error is : "[SERVERBUG] failed to send mail" In RoundCube, the error is
2019 Nov 17
0
Learning ham/spam with IMAPSieve: sa-learn-ham.sh terminated abnormally, signal 11
Jens Rey via dovecot skrev den 2019-11-17 00:51: > $ cat sa-learn-ham.sh > #!/bin/sh > exec /usr/bin/rspamc learn_ham rspamc is not spamc is rspamd installed ?, is spamassassn installed ? make sa-laern-ham.sh change name to rspamd-learn-ham.sh and addopt sieve to that name change i cant se other error on what you have
2013 Jan 16
1
Reviewing end-user ham/spam submissions before feeding them to sa-learn via Dovecot Antispam plug-in
Currently, I'm using the Dovecot Antispam plug-in with great success. Everything works as expected. However, I would like to change the plug-in's behavior such that it simply sends a copy of a message that is moved from Inbox -> Junk (or Junk -> Inbox) to an administrator, instead of calling sa-learn (I'm using SpamAssassin) automatically. Basically, I would like to be able to
2014 Jul 15
1
Dovecot2 Antispam MAILTRAIN backend with SpamAssassin
Hi there, I've already asked this question on FreeBSD forums without getting any response. So, I thought it's a good idea to ask it again here. I've setup Dovecote2 (2.2.13) + Postfix + SpamAssassin on my FreeBSD 10 VPS and it works flawlessly. Though, I couldn't setup the Dovecot Antispam plugin to train SpamAssassin when I move mails to the Junk folder. I installed the
2008 Jul 08
3
antispam plugin, amavis and sa-learn
Hello, I would like to use the Dovecot antispam plugin to train SpamAssassin via sa-learn. I compiled the plugin and got it to work with the sendmail backend, which I tested by having it send a message to me. As I'm calling SpamAssassin with amavisd-new, I have a system-wide Bayes db, maintained by the amavis user. As expected, the antispam plugin calls the configured binary as the mail user