Re: Replacing antispam plugin with IMAPSieve not 100% correct?

2022-10-04 Thread hi
On 2022-09-25 14:35, Christian Kivalo wrote: On September 25, 2022 1:27:23 PM GMT+02:00, Marc wrote: I think this page[1] is not correct If you configure this option: imapsieve_mailbox1_before = file:/usr/lib/dovecot/sieve/report-spam.sieve the file report-spam.svbin cannot be created bec

Re: Replacing antispam plugin with IMAPSieve not 100% correct?

2022-09-25 Thread Christian Kivalo
On September 25, 2022 1:27:23 PM GMT+02:00, Marc wrote: > >I think this page[1] is not correct > >If you configure this option: > >imapsieve_mailbox1_before = file:/usr/lib/dovecot/sieve/report-spam.sieve > >the file report-spam.svbin cannot be created because users cannot write there. You hav

Replacing antispam plugin with IMAPSieve not 100% correct?

2022-09-25 Thread Marc
I think this page[1] is not correct If you configure this option: imapsieve_mailbox1_before = file:/usr/lib/dovecot/sieve/report-spam.sieve the file report-spam.svbin cannot be created because users cannot write there. [1] https://doc.dovecot.org/configuration_manual/howto/antispam_with_si

Re: Antispam plugin

2021-01-17 Thread Håkon Alstadheim
Den 17.01.2021 02:15, skrev Toni Mueller: Hi, On Tue, Sep 22, 2020 at 02:01:21PM +0300, Aki Tuomi wrote: You don't need antispam plugin: https://doc.dovecot.org/configuration_manual/howto/antispam_with_sieve/ I also don't see any docs about the plugin on the wiki. Does it mean

Re: Antispam plugin

2021-01-16 Thread Toni Mueller
Hi, On Tue, Sep 22, 2020 at 02:01:21PM +0300, Aki Tuomi wrote: > You don't need antispam plugin: > > https://doc.dovecot.org/configuration_manual/howto/antispam_with_sieve/ I also don't see any docs about the plugin on the wiki. Does it mean that this plugin is deprecated? Thanks, Toni

antispam plugin again

2020-10-23 Thread Maciej Milaszewski
Hello I have a problem with migrating dovecot from 2.2.36 to 2.3.8 - everything works fine, but a problem with migrating anti-spam plugins New dovecot 2.3.x has implemented own antispam-plugin like: new from dovecot 2.3.8 - # From elsewhere to Spam folder   imapsieve_mailbox1_name

Re: Antispam plugin

2020-09-22 Thread Aki Tuomi
> >  I need "Antispam plugin". What antispam-plugin I must use ? > > In older version dovecot-2.2.36.4 i use "dovecot-antispam-plugin" but in > centos I had a problem with configure  - probably toold wersion > > "./configure: line 3193: DC_DOVECOT: co

Antispam plugin

2020-09-22 Thread Maciej Milaszewski
Hi System centos8 + dovecot-2.3.8 from repo # 2.3.8 (9df20d2db): /etc/dovecot/dovecot.conf # Pigeonhole version 0.5.8 (b7b03ba2) # OS: Linux 4.18.0-193.19.1.el8_2.x86_64 x86_64 CentOS Linux release 8.2.2004 (Core)  I need "Antispam plugin". What antispam-plugin I must use ? In old

Re: Dovecot With DSpam AntiSpam Plugin Replacement With Sieve

2018-02-24 Thread Trever L. Adams
Thank you for this. I have a DSPAM setup that did work with the suggested scrips, but I used the old dovecot antispam plugin and enjoyed the signature method. I am going to try this out next week to see if it works for me. If it does, I will love this. Thanks again. Trever On 02/24/2018 02:02 PM

Dovecot With DSpam AntiSpam Plugin Replacement With Sieve

2018-02-24 Thread colinh
Dovecot 2.2.33.2 with PigeonHole 4.21, it runs DSpam 3.10.2 to scan and tag all incoming mails as Spam or not then a Sieve rule to put the Spam emails into the Spam folder, I was also using the DSpam Antispam plugin to enable moving messages from one folder to another to teach failures to DSpam

Re: antispam plugin with IMAPSieve

2017-10-31 Thread Stephan Bosch
Op 31-10-2017 om 15:33 schreef j.emerlik: Hi, my dovecot is configured with IMAP Sieve antispam plugin (sa-learn), everything seems to be working correctly but in debug mode in my log file I noticed "dovecot: imap: Error". Last 14 lines od my log file: Oct 31 15:05:25 mnode1 dov

antispam plugin with IMAPSieve

2017-10-31 Thread j.emerlik
Hi, my dovecot is configured with IMAP Sieve antispam plugin (sa-learn), everything seems to be working correctly but in debug mode in my log file I noticed "dovecot: imap: Error". Last 14 lines od my log file: Oct 31 15:05:25 mnode1 dovecot: imap: Error: Oct 31 15:05:25.040 [10743]

Re: Replacement for antispam plugin

2017-03-01 Thread Tanstaafl
On Wed Mar 01 2017 03:11:48 GMT-0500 (Eastern Standard Time), Aki Tuomi wrote: >> But, if the imapsieve is only matching to literal foldernames, should >> I just duplicate the trigger lines for each type of junk folder or is >> there a method to have the sieve script enumerate all the options >> l

Re: Replacement for antispam plugin

2017-03-01 Thread Aki Tuomi
is > there a method to have the sieve script enumerate all the options > listed by 'special use' or is there a better method for this? I want > to put the spam-mail-filing script as a global sieve script as all > users will need it, rather than duplicating out for each user

Re: Replacement for antispam plugin

2017-02-28 Thread Andy R
ed it, rather than duplicating out for each user. Many thanks , Andy R On 10/02/2017 09:06, Aki Tuomi wrote: Hi! Since antispam plugin is deprecated and we would really prefer people not to use it, we wrote instructions on how to replace it with IMAPSieve. Comments and suggestions are most welcome. https://wiki.dovecot.org/HowTo/AntispamWithSieve --- Aki Tuomi Dovecot oy

Re: Replacement for antispam plugin

2017-02-27 Thread Jeff Kletsky
e the successfully processed messages. Sieve doesn't look like it can handle asynchronous processing, but I'd certainly be interested if I'm missing something there. One less thing to configure and maintain! Jeff On 2/12/17 5:52 AM, Aki Tuomi wrote: On February 10, 2017

Re: Replacement for antispam plugin

2017-02-24 Thread Trever L. Adams
; For DSPAM, with --client, one also needs a --user set. http://hg.dovecot.org/dovecot-antispam-plugin/file/5ebc6aae4d7c/src/dspam.c did this. Is there a way to feed this into the scripts mentioned? I imagine this is imap.user or imap.email, but how would one pass it to the script? Thank you.

Re: Replacement for antispam plugin

2017-02-12 Thread Håkon Alstadheim
Den 12. feb. 2017 23:56, skrev Marcus Rueckert: > On 2017-02-12 23:00:49 +0100, Håkon Alstadheim wrote: >> Just follow the wiki and replace sa-learn scripts with calling dspam. >> Dspam direct pipe needs mail-line-endings (\r\n) translated into unix >> line-endings (\r). I had a typo here, (\r\n)

Re: Replacement for antispam plugin

2017-02-12 Thread Stephan Bosch
Op 2/12/2017 om 11:00 PM schreef Håkon Alstadheim: > > Den 12. feb. 2017 21:44, skrev ebr...@whitehorsetc.com: >> >> Any opinion on dspam's interoperability with this? >> >> > Just follow the wiki and replace sa-learn scripts with calling dspam. > Dspam direct pipe needs mail-line-endings (\r\n) tr

Re: Replacement for antispam plugin

2017-02-12 Thread Marcus Rueckert
On 2017-02-12 23:00:49 +0100, Håkon Alstadheim wrote: > Just follow the wiki and replace sa-learn scripts with calling dspam. > Dspam direct pipe needs mail-line-endings (\r\n) translated into unix > line-endings (\r). tbh ... what do you do about mails which just use \r as separator? s|\r\n|\n|

Re: Replacement for antispam plugin

2017-02-12 Thread Håkon Alstadheim
Den 12. feb. 2017 21:44, skrev ebr...@whitehorsetc.com: > > > Any opinion on dspam's interoperability with this? > > Just follow the wiki and replace sa-learn scripts with calling dspam. Dspam direct pipe needs mail-line-endings (\r\n) translated into unix line-endings (\r). like so: -

Re: Replacement for antispam plugin

2017-02-12 Thread Håkon Alstadheim
Den 12. feb. 2017 15:12, skrev Ralph Seichter: > On 12.02.2017 13:25, Stephan Bosch wrote: > >> The "imap.mailbox" environment is the empty string in this case. Why? >> Well, the Sieve interpreter does not know about it, since the >> "imapsieve" extension is not activated in the require line. >

Re: Replacement for antispam plugin

2017-02-12 Thread ebroch
Any opinion on dspam's interoperability with this? On Fri, Feb 10, 2017 at 1:07 AM -0700, "Aki Tuomi" wrote: Hi! Since antispam plugin is deprecated and we would really prefer people not to use it, we wrote instructions on how to replace it with IMAPSieve. Comments

Re: Replacement for antispam plugin

2017-02-12 Thread George Kontostanos
On Sun, Feb 12, 2017 at 8:56 PM, Stephan Bosch wrote: > Op 2/12/2017 om 5:36 PM schreef George Kontostanos: >> On Sun, Feb 12, 2017 at 3:52 PM, Aki Tuomi wrote: >> >>>> On February 10, 2017 at 10:06 AM Aki Tuomi wrote: >>>> >>>> >>>

Re: Replacement for antispam plugin

2017-02-12 Thread Ralph Seichter
On 12.02.17 19:05, George Kontostanos wrote: > Actually I think that sa-learn is invoked as user vmail. But of course > I might be wrong. It might depend on system configuration. On my servers, Sieve scripts are definitely executed as the OS user that matches the current IMAP user. > Do you have

Re: Replacement for antispam plugin

2017-02-12 Thread Stephan Bosch
Op 2/12/2017 om 5:36 PM schreef George Kontostanos: > On Sun, Feb 12, 2017 at 3:52 PM, Aki Tuomi wrote: > >>> On February 10, 2017 at 10:06 AM Aki Tuomi wrote: >>> >>> >>> Hi! >>> Since antispam plugin is deprecated and we would really prefer

Re: Replacement for antispam plugin

2017-02-12 Thread George Kontostanos
On Sun, Feb 12, 2017 at 7:52 PM, Ralph Seichter wrote: > On 12.02.2017 17:36, George Kontostanos wrote: > >> it automatically creates a .spamassassin/ folder in the user > > That happens because sa-learn is invoked as the user who is logged into > IMAP. If you want all users to contribute to a glo

Re: Replacement for antispam plugin

2017-02-12 Thread Ralph Seichter
On 12.02.2017 17:36, George Kontostanos wrote: > it automatically creates a .spamassassin/ folder in the user That happens because sa-learn is invoked as the user who is logged into IMAP. If you want all users to contribute to a global SpamAssassin database (like I do), you'll need to create your

Re: Replacement for antispam plugin

2017-02-12 Thread George Kontostanos
On Sun, Feb 12, 2017 at 3:52 PM, Aki Tuomi wrote: > > > On February 10, 2017 at 10:06 AM Aki Tuomi wrote: > > > > > > Hi! > > Since antispam plugin is deprecated and we would really prefer people > > not to use it, we wrote instructions on how to repl

Re: Replacement for antispam plugin

2017-02-12 Thread Ralph Seichter
On 12.02.2017 13:25, Stephan Bosch wrote: > The "imap.mailbox" environment is the empty string in this case. Why? > Well, the Sieve interpreter does not know about it, since the > "imapsieve" extension is not activated in the require line. Now there's a facepalm moment. ;-) Thank you, with a modi

Re: Replacement for antispam plugin

2017-02-12 Thread Aki Tuomi
> On February 10, 2017 at 10:06 AM Aki Tuomi wrote: > > > Hi! > Since antispam plugin is deprecated and we would really prefer people > not to use it, we wrote instructions on how to replace it with > IMAPSieve. Comments and suggestions are most welcome. > > htt

Re: Replacement for antispam plugin

2017-02-12 Thread Stephan Bosch
Op 2/10/2017 om 10:15 PM schreef George Kontostanos: > On Fri, Feb 10, 2017 at 9:59 PM, Ralph Seichter > wrote: > > > Same problem here. As a workaround I tried the following: > > # From Spam folder to Inbox > imapsieve_mailbox2_name = Inbox > imapsieve_mailbox2_from = Spam > imapsieve_mailb

Re: Replacement for antispam plugin

2017-02-12 Thread Stephan Bosch
Op 2/10/2017 om 8:59 PM schreef Ralph Seichter: > On 10.02.17 20:34, Michael Slusarz wrote: > >> When you move a message to a new mailbox, that is a "new message" >> event (a new UID in the target mailbox is created; the message count >> increases). So imap.mailbox is set to the name of the *target

Re: antispam plugin pipe backend error when moving multiple emails

2017-02-12 Thread Sergey Urushkin
I'm bumping this because it still occurs with dovecot 2.2.22. my dovecot-antispam plugin configuration : antispam_allow_append_to_spam = no antispam_backend = pipe antispam_pipe_program = /usr/bin/rspamc antispam_pipe_program_args = -h;127.0.0.

Re: Replacement for antispam plugin

2017-02-12 Thread Stephan Bosch
Op 2/10/2017 om 8:46 PM schreef David Mehler: > Hello, > > Chiming in on this with a question, and will be getting to it over the > weekend or later this evening time permitting. > > Does retraining a message as either spam or ham alter message headers > for example x-spam or the spamassassin-modif

Re: Replacement for antispam plugin

2017-02-12 Thread Aki Tuomi
> On February 12, 2017 at 1:32 PM Stephan Bosch wrote: > > > Op 2/10/2017 om 2:20 PM schreef Alessio Cecchi: > > Il 10/02/2017 09:06, Aki Tuomi ha scritto: > >> Hi! > >> Since antispam plugin is deprecated and we would really prefer people > >> n

Re: Replacement for antispam plugin

2017-02-12 Thread Stephan Bosch
Op 2/10/2017 om 2:20 PM schreef Alessio Cecchi: > Il 10/02/2017 09:06, Aki Tuomi ha scritto: >> Hi! >> Since antispam plugin is deprecated and we would really prefer people >> not to use it, we wrote instructions on how to replace it with >> IMAPSieve. Comments and s

Re: Replacement for antispam plugin

2017-02-10 Thread George Kontostanos
On Fri, Feb 10, 2017 at 9:59 PM, Ralph Seichter wrote: > On 10.02.17 20:34, Michael Slusarz wrote: > > > When you move a message to a new mailbox, that is a "new message" > > event (a new UID in the target mailbox is created; the message count > > increases). So imap.mailbox is set to the name of

Re: Replacement for antispam plugin

2017-02-10 Thread Ralph Seichter
On 10.02.17 20:34, Michael Slusarz wrote: > When you move a message to a new mailbox, that is a "new message" > event (a new UID in the target mailbox is created; the message count > increases). So imap.mailbox is set to the name of the *target* mailbox. My tests seem to indicate otherwise. Delet

Re: Replacement for antispam plugin

2017-02-10 Thread David Mehler
Hello, Chiming in on this with a question, and will be getting to it over the weekend or later this evening time permitting. Does retraining a message as either spam or ham alter message headers for example x-spam or the spamassassin-modified subject header? If not is it possible to do so after

Re: Replacement for antispam plugin

2017-02-10 Thread Michael Slusarz
> On February 10, 2017 at 12:13 PM Ralph Seichter wrote: > > On 10.02.17 18:34, Michael Slusarz wrote: > > > Can we add an exception for the Trash folder? > > This is handled in the sieve script. E.g.: > > > > require "environment"; > > if environment "imap.mailbox" "Trash" { > > stop; > > } >

Re: Replacement for antispam plugin

2017-02-10 Thread Ralph Seichter
On 10.02.17 18:34, Michael Slusarz wrote: > > Can we add an exception for the Trash folder? > > This is handled in the sieve script. E.g.: > > require "environment"; > if environment "imap.mailbox" "Trash" { > stop; > } This does not work for me, and I don't really expect it to work either. htt

Re: Replacement for antispam plugin

2017-02-10 Thread Ralph Seichter
On 10.02.17 18:22, Zhang Huangbin wrote: > My concern is, will you experience any lag while moving message? I don't use direct calls to sa-learn, but store the piped e-mails on disk, and a periodic cron-job picks them up and invokes sa-learn. This way, there is no noticeable lag. -Ralph

Re: Replacement for antispam plugin

2017-02-10 Thread Michael Slusarz
> On February 10, 2017 at 9:25 AM George Kontostanos > wrote: [snip] > I think that this needs some change: > > # From Spam folder to elsewhere > imapsieve_mailbox2_name = * > imapsieve_mailbox2_from = Spam > imapsieve_mailbox2_causes = COPY > imapsieve_mailbox2_before = file:/usr/lib

Re: Replacement for antispam plugin

2017-02-10 Thread Zhang Huangbin
> On Feb 11, 2017, at 12:50 AM, Ralph Seichter wrote: > > Check out https://wiki.dovecot.org/Pigeonhole/Sieve/Plugins/IMAPSieve, My concern is, will you experience any lag while moving message? According to the doc, this plugin works like “pipe” backend of old “antispam” plugin,

Re: Replacement for antispam plugin

2017-02-10 Thread Ralph Seichter
On 10.02.2017 16:09, Darac Marjal wrote: > Check out https://wiki.dovecot.org/Pigeonhole/Sieve/Plugins/IMAPSieve, > which explains that sieve is normally only used at delivery time, but > the sieve_imapsieve plugin runs a *different* sieve script based on > IMAP actions (for example, COPY). Thank

Re: Replacement for antispam plugin

2017-02-10 Thread George Kontostanos
On Fri, Feb 10, 2017 at 6:25 PM, George Kontostanos wrote: > > > On Fri, Feb 10, 2017 at 5:09 PM, Darac Marjal > wrote: > >> On Fri, Feb 10, 2017 at 03:52:52PM +0100, Ralph Seichter wrote: >> >>> On 10.02.2017 09:06, Aki Tuomi wrote: >>> >>

Re: Replacement for antispam plugin

2017-02-10 Thread George Kontostanos
On Fri, Feb 10, 2017 at 5:09 PM, Darac Marjal wrote: > On Fri, Feb 10, 2017 at 03:52:52PM +0100, Ralph Seichter wrote: > >> On 10.02.2017 09:06, Aki Tuomi wrote: >> >> Since antispam plugin is deprecated and we would really prefer people >>> not to use it, we wro

Re: Replacement for antispam plugin

2017-02-10 Thread Darac Marjal
On Fri, Feb 10, 2017 at 03:52:52PM +0100, Ralph Seichter wrote: On 10.02.2017 09:06, Aki Tuomi wrote: Since antispam plugin is deprecated and we would really prefer people not to use it, we wrote instructions on how to replace it with IMAPSieve. In my setup, I use the following sieve script

Re: Replacement for antispam plugin

2017-02-10 Thread Ralph Seichter
On 10.02.2017 09:06, Aki Tuomi wrote: > Since antispam plugin is deprecated and we would really prefer people > not to use it, we wrote instructions on how to replace it with IMAPSieve. In my setup, I use the following sieve script globally for all users: if header :is "X-Spam

Re: Replacement for antispam plugin

2017-02-10 Thread Alessio Cecchi
Il 10/02/2017 09:06, Aki Tuomi ha scritto: Hi! Since antispam plugin is deprecated and we would really prefer people not to use it, we wrote instructions on how to replace it with IMAPSieve. Comments and suggestions are most welcome. https://wiki.dovecot.org/HowTo/AntispamWithSieve Hi

Re: Replacement for antispam plugin

2017-02-10 Thread Tamsy
Aki Tuomi wrote on 10.02.2017 15:06: Hi! Since antispam plugin is deprecated and we would really prefer people not to use it, we wrote instructions on how to replace it with IMAPSieve. Comments and suggestions are most welcome. https://wiki.dovecot.org/HowTo/AntispamWithSieve --- Aki Tuomi

Re: Replacement for antispam plugin

2017-02-10 Thread Håkon Alstadheim
Nice. Finally got around to switching. Had to add filter to my dspam pipe (another one I'm overdue for replacing) . Antispam plugin seems to have automatically converted line endings from "mail-type" '\r\n' into linux plain '\n' . Like so: sed -e 's/\r$/

Re: Replacement for antispam plugin

2017-02-10 Thread Aki Tuomi
On 10.02.2017 10:35, Tom Hendrikx wrote: > > On 10-02-17 09:06, Aki Tuomi wrote: >> Hi! >> Since antispam plugin is deprecated and we would really prefer people >> not to use it, we wrote instructions on how to replace it with >> IMAPSieve. Comments and suggestions

Re: Replacement for antispam plugin

2017-02-10 Thread Tom Hendrikx
On 10-02-17 09:06, Aki Tuomi wrote: > Hi! > Since antispam plugin is deprecated and we would really prefer people > not to use it, we wrote instructions on how to replace it with > IMAPSieve. Comments and suggestions are most welcome. > > https://wiki.dovecot.org/HowTo

Replacement for antispam plugin

2017-02-10 Thread Aki Tuomi
Hi! Since antispam plugin is deprecated and we would really prefer people not to use it, we wrote instructions on how to replace it with IMAPSieve. Comments and suggestions are most welcome. https://wiki.dovecot.org/HowTo/AntispamWithSieve --- Aki Tuomi Dovecot oy

Re: Antispam plugin: insufficent error messages

2016-12-18 Thread Timo Sirainen
> the behavior in 2.2.24, though I'm not sure if it was in .25 or .26. > I haven't tracked down the details further. > > Anyway, the antispam plugin uses this API to find the X-DSPAM-Signature > header, and the change causes the plugin to abort. This happens in the > pl

Re: Antispam plugin: insufficent error messages

2016-12-17 Thread Volker Wysk
s wasn't > the behavior in 2.2.24, though I'm not sure if it was in .25 or .26. > I haven't tracked down the details further. > > Anyway, the antispam plugin uses this API to find the X-DSPAM-Signature > header, and the change causes the plugin to abort. This happens in the &

Re: Antispam plugin: insufficent error messages

2016-12-17 Thread Tom Talpey
antispam: mail copy: src spam: 0, dst spam: 1, src unsure: 0 There are no log entries about how dspam is called, or what goes on. Indeed, dspam doesn't get called at all. I know, because I've examined the antispam- plugin source code. There would be a log message if dspam was called.

Re: Antispam plugin: insufficent error messages

2016-11-30 Thread Volker Wysk
Am Mittwoch, 30. November 2016, 16:23:13 CET schrieb Volker Wysk: > Do you know any documentation about the Dovecot > plugin API? I couldn't find any. I've found it. No need to tell me. Volker

Re: Antispam plugin: insufficent error messages

2016-11-30 Thread Volker Wysk
the past and contributed a few small > fixes, but nothing more. Also, it doesn't look like it is actively > maintained at the moment. So, if I would debug the antispam plugin, adding more log messages, finding the reason it doesn't work now, would my changes be included in the antispa

Re: Antispam plugin: insufficent error messages

2016-11-29 Thread Stephan Bosch
Op 28-11-2016 om 21:28 schreef Volker Wysk: Hi! "Dovecot always logs a detailed error message if something goes wrong. If it doesn't, it's considered a bug and will be fixed." (http:// wiki2.dovecot.org/Logging) Yes, that is indeed what Dovecot and Pigeonhole do. However, AntiSpam is not pa

Re: Antispam plugin: insufficent error messages

2016-11-28 Thread Volker Wysk
One more point: The spam message, which has been moved to the Spam folder for training dspam, doesn't get moved. When I refresh (in KMail), the message reappears in INBOX. Bye V.W.

Antispam plugin: insufficent error messages

2016-11-28 Thread Volker Wysk
1, src unsure: 0 There are no log entries about how dspam is called, or what goes on. Indeed, dspam doesn't get called at all. I know, because I've examined the antispam- plugin source code. There would be a log message if dspam was called. It's hard to study the source code, b

Patch for dovecot-antispam-plugin to support IMAP Flags indicating Junk status

2016-11-25 Thread Jonas Wielicki
-BEGIN PGP SIGNED MESSAGE- Hash: SHA512 Dear list, I made a patch which extends dovecot-antispam-plugin with support to take the addition and removal of a specific set of flags as trigger for learning. This allows for very tight integration with Thunderbird and KMail, which both set

antispam plugin not working correctly

2016-11-23 Thread Felix Zielcke
Hi, I've configured the antispam plugin like in the wiki to use the sa- learn-pipe.sh shell script. But it's not creating the log file in /tmp. Even if I add a "touch /tmp/x" in sa-learn-pipe.sh it's not created. So how I can check if it works correctly? dovecot version

Re: dovecot-antispam plugin not work

2016-11-04 Thread basti
Restarting dovecot (via systemctl): dovecot.service. >> root@vsrv78105:/etc/dovecot# tail -f /var/log/syslog | grep imap >> Nov 3 20:02:45 vsrv78105 dovecot: imap-login: Warning: Killed with >> signal 15 (by pid=1 uid=0 code=kill) >> Nov 3 20:02:48 vsrv78105 dovecot: ma

Re: dovecot-antispam plugin not work

2016-11-04 Thread Tom Hendrikx
3 20:03:03 vsrv78105 dovecot: imap-login: Login: user=, > method=PLAIN, rip=xxx, lip=xxx, mpid=14954, TLS, session= > Nov 3 20:03:03 vsrv78105 imap: antispam: plugin initialising (2.0-notgit) > Nov 3 20:03:03 vsrv78105 imap: antispam: verbose debug enabled > Nov 3 20:03:03 vsrv78105

dovecot-antispam plugin not work

2016-11-03 Thread basti
3 vsrv78105 imap: antispam: mail copy: src spam: 0, dst spam: 0, src unsure: 0 Nov 3 20:03:14 vsrv78105 dovecot: imap-login: Login: user=, method=PLAIN, rip=xxx, lip=xxx, mpid=14959, TLS, session= Nov 3 20:03:14 vsrv78105 imap: antispam: plugin initialising (2.0-notgit) Nov 3 20:03:14 vsrv78105 ima

Re: [patch] Improved error checking for the dovecot-antispam-plugin

2016-09-30 Thread Robert Munteanu
Hi, Has this slipped off the radar or is it somehow not suitable for inclusion? Thanks, Robert On Thu, Aug 18, 2016 at 6:16 PM, Robert Munteanu wrote: > (snip) > >> I have no issue in resending a new version of the patch with better >> error reporting, will do so in the following days. >> >> R

Re: [patch] Improved error checking for the dovecot-antispam-plugin

2016-08-19 Thread Harlan Stenn
Robert, First, thanks! Second, I'm not a committer on the dovecot project. But I've written a lot of software where if an end user has a problem and either they want to know why or if they report it and ask for help, I've found it is MUCH better to have enough info in the message given to the

Re: antispam plugin pipe script seems not to be called when it "should be"

2016-08-19 Thread Edgar Pettijohn
Sent from my iPhone > On Aug 19, 2016, at 11:17 AM, b...@indietorrent.org wrote: > >> On 2016-08-18 22:58, Edgar Pettijohn wrote: >>> On 16-08-18 22:43:32, Ben Johnson wrote: >>> On 8/18/2016 10:26 PM, Ben Johnson wrote: >>> > Hello, >>> > >>> > (Full "doveconf -n" output is at the end of this

Re: antispam plugin pipe script seems not to be called when it "should be"

2016-08-19 Thread ben
On 2016-08-18 22:58, Edgar Pettijohn wrote: On 16-08-18 22:43:32, Ben Johnson wrote: On 8/18/2016 10:26 PM, Ben Johnson wrote: > Hello, > > (Full "doveconf -n" output is at the end of this message.) > > I'm attempting to recreate a "recipe" I had used successfully for quite > some time (in Ubunt

Re: antispam plugin pipe script seems not to be called when it "should be"

2016-08-18 Thread Edgar Pettijohn
On 16-08-18 22:43:32, Ben Johnson wrote: > On 8/18/2016 10:26 PM, Ben Johnson wrote: > > Hello, > > > > (Full "doveconf -n" output is at the end of this message.) > > > > I'm attempting to recreate a "recipe" I had used successfully for quite > > some time (in Ubuntu 12.04 LTS), which allowed me

Re: antispam plugin pipe script seems not to be called when it "should be"

2016-08-18 Thread Ben Johnson
On 8/18/2016 10:26 PM, Ben Johnson wrote: > Hello, > > (Full "doveconf -n" output is at the end of this message.) > > I'm attempting to recreate a "recipe" I had used successfully for quite > some time (in Ubuntu 12.04 LTS), which allowed me to train > SpamAssassin's Bayes database when someone d

antispam plugin pipe script seems not to be called when it "should be"

2016-08-18 Thread Ben Johnson
Hello, (Full "doveconf -n" output is at the end of this message.) I'm attempting to recreate a "recipe" I had used successfully for quite some time (in Ubuntu 12.04 LTS), which allowed me to train SpamAssassin's Bayes database when someone dragged an email message from one sub-folder of the accou

Re: [patch] Improved error checking for the dovecot-antispam-plugin

2016-08-18 Thread Robert Munteanu
(snip) > I have no issue in resending a new version of the patch with better > error reporting, will do so in the following days. > > Robert I've attached a second version of the patch, feel free to consider any of them for inclusion. Thanks, Robert -- http://robert.muntea.nu/ changeset: 5

Re: [patch] Improved error checking for the dovecot-antispam-plugin

2016-08-18 Thread Robert Munteanu
Hi Harlan, On Wed, Aug 17, 2016 at 2:18 AM, Harlan Stenn wrote: > On 8/16/16 1:24 PM, Robert Munteanu wrote: >> Hi, >> >> Hopefully this is the right channel for such a patch. I have a minor >> enhancement to submit for the antispam plugin >> >> http:/

Re: [patch] Improved error checking for the dovecot-antispam-plugin

2016-08-16 Thread Aki Tuomi
On 17.08.2016 02:18, Harlan Stenn wrote: > On 8/16/16 1:24 PM, Robert Munteanu wrote: >> Hi, >> >> Hopefully this is the right channel for such a patch. I have a minor >> enhancement to submit for the antispam plugin >> >> http://hg.dovecot.org/doveco

Re: [patch] Improved error checking for the dovecot-antispam-plugin

2016-08-16 Thread Harlan Stenn
On 8/16/16 1:24 PM, Robert Munteanu wrote: > Hi, > > Hopefully this is the right channel for such a patch. I have a minor > enhancement to submit for the antispam plugin > > http://hg.dovecot.org/dovecot-antispam-plugin > > It adds minimal error checking for the sendma

[patch] Improved error checking for the dovecot-antispam-plugin

2016-08-16 Thread Robert Munteanu
Hi, Hopefully this is the right channel for such a patch. I have a minor enhancement to submit for the antispam plugin http://hg.dovecot.org/dovecot-antispam-plugin It adds minimal error checking for the sendmail_binary, otherwise the reported error in case of a missing binary or one with

Suggested improvement for antispam plugin documentation

2016-07-21 Thread Ralph Seichter
Hello, I struggled a bit with getting the antispam plugin to work, because the plugin configuration in http://wiki2.dovecot.org/Plugins/Antispam is incomplete. After some twiddling, I ended up with this: # /etc/dovecot/conf.d/90-plugin.conf plugin { antispam_backend = mailtrain

Re: antispam plugin pipe backend error when moving multiple emails

2016-04-18 Thread Stéphane Cottin
Hello, I'm bumping this because it still occurs with dovecot 2.2.22. my dovecot-antispam plugin configuration : antispam_allow_append_to_spam = no antispam_backend = pipe antispam_pipe_program = /usr/bin/rspamc antispam_pipe_program_args = -h;127.0.0.1:113

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

2016-04-13 Thread deano-dovecot
chmod 660 /var/log/sa-learn-pipe.log cat > /etc/logrotate.d/sa-learn-pipe.log << EOFLOG /var/log/sa-learn-pipe.log { daily missingok rotate 10 compress delaycompress notifempty create 660 ${VMAIL_ID} dovecot } EOFLOG fi # spamassassin ###

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
t go away by upgrading Cheers, Johannes Cheers, Johannes Am 13.04.2016 um 09:45 schrieb 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 an

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
nes 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

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

2016-04-13 Thread Johannes Rohr
09:45 schrieb 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.

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,

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

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

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

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 &

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

2016-04-12 Thread Johannes Rohr
assed to it via stdout? This is what I find in the syslog: Apr 12 21:54:32 vm10 imap: antispam: plugin initialising (2.0-notgit) Apr 12 21:54:32 vm10 imap: antispam: verbose debug enabled Apr 12 21:54:32 vm10 imap: antispam: "SPAM" is exact match spam folder Apr 12 21:54:32 vm10 imap:

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

2016-04-12 Thread J. Echter
> antispam_mail_spam = --spam > antispam_mail_notspam = --ham > } > > to dovecot.conf > > Cheers > > Jürgen > > Am 12.04.2016 um 20:14 schrieb Johannes Rohr: >> Hi, my setup is a dovecot 2.0.19 IMAP server on Ubuntu Precise with >> the antispam

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

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

2016-04-12 Thread J. Echter
:14 schrieb 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. S

  1   2   3   4   5   >