Re: Dict quota calculation errors "remote disconnected"/"broken pipe" on 2.22.

2017-02-12 Thread ygrishin-lists
On 2017-02-08 00:10, Steffen Kaiser wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On Sun, 5 Feb 2017, ygrishin-li...@mail2.ca wrote: service dict { unix_listener dict { mode = 0660 user = Debian-exim group = Debian-exim } } dovecot-lda-erros.log: ** Feb 04

Re: dovecot config for 1500 simultaneous connection

2017-02-12 Thread Christian Balzer
Hello, On Sun, 12 Feb 2017 08:27:21 -0500 KT Walrus wrote: > Thanks for the info. I do have one further question for you. On your servers > that are currently handling 50k IMAP sessions, how many users does that > correspond to? Since many users will have multiple IMAP sessions on multiple >

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,

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)

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.

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

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 people

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

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

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

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

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

Re: dovecot config for 1500 simultaneous connection

2017-02-12 Thread KT Walrus
Thanks for the info. I do have one further question for you. On your servers that are currently handling 50k IMAP sessions, how many users does that correspond to? Since many users will have multiple IMAP sessions on multiple devices, I’d like to hear about some real-world numbers that could be

Re: Maildirsize not updated

2017-02-12 Thread chaouche yacine
Now this is interesting : du, doveadm quota get and maildirsize have three different values for this particular user : Max Quota is : 1G du :883M (86%) maildirsize : 1048M (102%) doveadm : 34402? (32%) Trace -

Re: Maildirsize not updated

2017-02-12 Thread chaouche yacine
I am using dovecot lmtp root@messagerie[10.10.10.19] ~ # grep virtual_transport /etc/postfix/main.cf # transport_maps = hash:/var/lib/mailman/data/transport-mailman, proxy:mysql:/etc/postfix/mysql-virtual_transports.cf # virtual_transport = maildrop virtual_transport =

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 =

Re: Plugin sieve vs. imap_sieve

2017-02-12 Thread Stephan Bosch
Op 2/12/2017 om 1:15 PM schreef Matthias Fechner: > Dear all, > > > I just saw that a "new" plugin imap_sieve is available: > https://wiki2.dovecot.org/Pigeonhole/Sieve/Plugins/IMAPSieve > > I configured everything using the plugin sieve. > > Was the plugin sieve just renamed to imap_sieve or is

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

Re: antispam plugin pipe backend error when moving multiple emails

2017-02-12 Thread Sergey Urushkin
Hello, wondering why it's still an issue with current git, while this old working solution exists (tested with dovecot 2.22 and rspamd 1.4) : https://www.dovecot.org/list/dovecot/2013-November/093810.html --- Best regards, Sergey Urushkin Stéphane Cottin писал 2016-04-18 15:44: Hello, I'm

Plugin sieve vs. imap_sieve

2017-02-12 Thread Matthias Fechner
Dear all, I just saw that a "new" plugin imap_sieve is available: https://wiki2.dovecot.org/Pigeonhole/Sieve/Plugins/IMAPSieve I configured everything using the plugin sieve. Was the plugin sieve just renamed to imap_sieve or is it completely different? Thanks a lot for explaining what had

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

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 > >> not to use it, we wrote

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 suggestions are most welcome. >>

Re: Managesieve cannot access script store

2017-02-12 Thread Stephan Bosch
Op 2/11/2017 om 3:24 PM schreef dovelist: > OK, I've figured it out: > > In the dovecot profile for apparmor the sieve directory is not > confgured. I solved it this way: > > To configure only one directory in the apparmor profile, I placed the > active-script link inside the .sieve directory.

Re: Managesieve cannot access script store

2017-02-12 Thread Stephan Bosch
Op 2/10/2017 om 5:05 PM schreef dovelist: > Hi Stephan, > >> Normally, Dovecot permission errors are more helpful than that. So, this >> error message in itself is a bit of a bug: > > I'm glad to h've been able to help with this beta-test ;-) > > >> About the cause of this error: keep in mind that