Re: v2.2.36 to v2.3.8 maildirlock bug

2019-12-12 Thread Martynas Bendorius
I'm attaching you an example :) #!/bin/sh #VERSION=0.0.2 # This script is written by Martynas Bendorius and DirectAdmin # It is used to gzip all emails in Maildir directory # Official DirectAdmin webpage: http://www.directadmin.com # Usage: # ./dovecot_compress.sh MYUID=`/usr/bin/id -u` if [

Re: v2.2.36 to v2.3.8 maildirlock bug

2019-12-08 Thread @lbutlr via dovecot
On 08 Dec 2019, at 05:58, @lbutlr wrote: > On 06 Dec 2019, at 16:28, Martynas Bendorius wrote: >> when zlib compression is enabled in dovecot, old emails remain untouched > > I’ve been considering doing this, or at least looking into how much space > we’d save (answer so far, less than you

Re: v2.2.36 to v2.3.8 maildirlock bug

2019-12-08 Thread @lbutlr via dovecot
On 06 Dec 2019, at 16:28, Martynas Bendorius wrote: > when zlib compression is enabled in dovecot, old emails remain untouched I’ve been considering doing this, or at least looking into how much space we’d save (answer so far, less than you might think), but I am hesitant to “alter” the user’s

Re: v2.2.36 to v2.3.8 maildirlock bug

2019-12-06 Thread Martynas Bendorius via dovecot
Hello, Aki created this patch a while ago: http://files1.directadmin.com/services/custombuild/patches/maildirlock-crash.patch It works perfectly to fix the issue :) Regarding dsync - I don't think it's a good replacement in all the cases, is it? We use maildirlock extensively for compression

Re: v2.2.36 to v2.3.8 maildirlock bug

2019-12-06 Thread Stephan Bosch via dovecot
On 22/10/2019 05:44, lty--- via dovecot wrote: Dear all,   Dovecot upgraded from v2.2.36 to v2.3.8 There is no problem with the configuration, but the lock directory seems to have an error. [root@spam dovecot]# /usr/libexec/dovecot/maildirlock /path/to/maildir 1 Panic: BUG: No IOs or

v2.2.36 to v2.3.8 maildirlock bug

2019-10-21 Thread lty--- via dovecot
Dear all, Dovecot upgraded from v2.2.36 to v2.3.8 There is no problem with the configuration, but the lock directory seems to have an error. [root@spam dovecot]# /usr/libexec/dovecot/maildirlock /path/to/maildir 1 Panic: BUG: No IOs or timeouts set. Not waiting for infinity. 19276[root@spam