search for: maildirlock

Displaying 20 results from an estimated 41 matches for "maildirlock".

2019 Apr 11
3
maildirlock fails
Hello, Maildirlock seems to panic on locking: [root at centos7 home]# /usr/libexec/dovecot/maildirlock "/home/user/imap/domain.com/email/Maildir" 10 Panic: BUG: No IOs or timeouts set. Not waiting for infinity. Error: Raw backtrace: /usr/lib/dovecot/libdovecot.so.0(+0xd90ee) [0x7f5bf02f10ee] -> /usr/lib/...
2019 Oct 22
2
v2.2.36 to v2.3.8 maildirlock bug
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 at spam dovecot]# /usr/libexec/dovecot/maildirlock /path/to/maildir 1 Panic: BUG: No IOs or timeouts set. Not waiting for infinity. 19276[root at spam dovecot]# Error: Raw backtrace: /usr/lib64/dovecot/libdovecot.so.0(+0xe227a) [0x7f1cb567a27a] -> /usr/lib64/dovecot/libdovecot.so.0(+0xe2321) [0x7f1cb567a321] -> /usr/lib64/dovecot/libdovecot.s...
2018 Oct 27
0
maildirlock time unit?
Don't think maildirlock uses dovecot config, but sure. maildirlock is a utility that comes with dovecot... #? /usr/local/libexec/dovecot/maildirlock -h Usage: maildirlock <path> <timeout> ?- SIGTERM will release the lock. # /usr/local/libexec/dovecot/maildirlock /home2/vpopmail/domains/swishmail.com/mach/...
2018 Oct 27
2
maildirlock time unit?
...<br> </div> <div> This appears to be a bug. </div> <div> <br> </div> <div> On 10/15/2018 9:46 PM, Kris von Mach wrote: </div> <blockquote type="cite"> <div> What is the time unit maildirlock will accept? </div> </blockquote> <blockquote type="cite"> <div> I've tried 20s, 20 sec, 20 secs, 20 seconds, all results in: </div> <div> Fatal: Invalid timeout value: 20s </div> </blockquote> &...
2019 Dec 06
2
v2.2.36 to v2.3.8 maildirlock bug
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 of email folders (when zlib compression is enabled in dovecot, old emails remain untouched). -- Best regards,...
2019 Apr 15
0
maildirlock fails
It seems something like this has been reported already, however, I was unable to find any changelog entries or patches: http://dovecot.2317879.n4.nabble.com/maildirlock-time-unit-td65122.html -- Best regards, Martynas Bendorius > On 12 Apr 2019, at 01:08, Martynas Bendorius <martynas at martynas.it> wrote: > > Hello, > > Maildirlock seems to panic on locking: > [root at centos7 home]# /usr/libexec/dovecot/maildirlock "/home/user/i...
2019 Dec 06
0
v2.2.36 to v2.3.8 maildirlock bug
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 at spam dovecot]# /usr/libexec/dovecot/maildirlock /path/to/maildir 1 > Panic: BUG: No IOs or timeouts set. Not waiting for infinity. > 19276[root at spam dovecot]# Error: Raw backtrace: > /usr/lib64/dovecot/libdovecot.so.0(+0xe227a) [0x7f1cb567a27a] -> > /usr/lib64/dovecot/libdovecot.so.0(+0xe2321) [0x7f1cb567a321] -> > /us...
2018 Oct 15
4
maildirlock time unit?
What is the time unit maildirlock will accept? I've tried 20s, 20 sec, 20 secs, 20 seconds, all results in: Fatal: Invalid timeout value: 20s And if you don't specify time unit you just get: Panic: BUG: No IOs or timeouts set. Not waiting for infinity. This is on 2.3.3. 2.2 worked fine without needing time unit specified...
2019 Dec 08
1
v2.2.36 to v2.3.8 maildirlock bug
...aracter instead of a - in the URL. <https://doc.dovecot.org/plugin-settings/zlib-plugin/> loads and leads to <https://doc.dovecot.org/configuration_manual/zlib_plugin/#zlib-plugin> Which, sadly, does not have example code on actually compressing the existing mail, but does say to use maildirlock. -- Wife: Who are you talking to? Husb: [on phone] Jon Wife: Aren't you going to talk to me? Husb: I talked to you at dinner, do I need to talk to you again?
2018 Oct 27
0
maildirlock time unit?
This appears to be a bug. On 10/15/2018 9:46 PM, Kris von Mach wrote: > What is the time unit maildirlock will accept? > > I've tried 20s, 20 sec, 20 secs, 20 seconds, all results in: > Fatal: Invalid timeout value: 20s > > And if you don't specify time unit you just get: > Panic: BUG: No IOs or timeouts set. Not waiting for infinity. > > This is on 2.3.3. 2.2 worked fin...
2019 Dec 08
0
v2.2.36 to v2.3.8 maildirlock bug
On 06 Dec 2019, at 16:28, Martynas Bendorius <martynas at martynas.it> 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 mail stores without a bit more guidance. Has anyone found a good
2009 Sep 08
1
compression script for use with zlib module
...e to share it, i would be glad to get it :) http://wiki.dovecot.org/Plugins/Zlib 1) Find the mails you want to compress in a single maildir. 2) Compress the mails to tmp/ * Update the compressed files' mtimes to be the same as they were in the original files (e.g. touch command) 3) Run maildirlock <path> <timeout>. It writes PID to stdout, save it. * <path> is path to the Maildir's dovecot-uidlist (the control directory, if it's separate) * <timeout> specifies how long to wait for the lock before failing. 4) If maildirlock grabbed the lock successfull...
2020 Feb 09
5
Email Server Backup Strategy
Hello, Was thinking it would be wise to backup my server, in case anything "bad" ever happened, so that I could quickly get up to speed. 1. clone the whole drive -- which might be the best to ensure I keep the whole system working. 2. But, what about, if I just wanted to backup my Email server components? Postfix - which I think is just config files, and Dovecot - I think there is a
2020 Feb 09
4
Email Server Backup Strategy
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA256 Hi, On 10/2/20 4:59 am, Francis Augusto Medeiros-Logeay wrote: > What I do: > > 1 - I ran a maildirlock command to my mail folder 2 - I then rsync > the folder where my maildirs are, as well as the indexes, to a > remote location If rsync is not fast... then how about doing a snapshot and then rsync off the snapshot? (I do rsync over lvm snapshots to back up file systems cleanly) and, btw, pe...
2009 Oct 06
10
Binary locations
...le setting: - rawlog - gdbhelper 3) Index file dumping programs, mostly meant for debugging problems: - idxview - listview - logview - mailboxlogview - threadview 4) Some extra tools that might be useful sometimes: - imap-utf7 : Encode/decode IMAP mailbox names (mUTF-7 <-> UTF-8) - maildirlock : Lock a Maildir, primarily intended for compressing files in maildir And perhaps some of the binaries should be renamed? The authtest actually now looks like a bad name. Maybe it should have been "doveauthtest" or "dovecot-authtest" or ..? -------------- next part ------------...
2008 Jul 24
4
v1.1.2 released
...lename whenever quota plugin is loaded, even when not using Maildir++ quota. + deliver: Allow lda section to override plugin settings. + deliver: Giving a -m <namespace prefix> parameter now silently saves the mail to INBOX. This is useful for e.g. -m INBOX/${extension} + Added a new maildirlock utility for write-locking Dovecot Maildir. + dict-sql: Support non-MySQL databases by assuming they implement the "INSERT .. ON DUPLICATE KEY" using an INSERT trigger. - SORT: Fixed several crashes/errors with sort indexing. - IMAP: BODYSTRUCTURE is finally RFC 3501 compliant. Earli...
2008 Jul 24
4
v1.1.2 released
...lename whenever quota plugin is loaded, even when not using Maildir++ quota. + deliver: Allow lda section to override plugin settings. + deliver: Giving a -m <namespace prefix> parameter now silently saves the mail to INBOX. This is useful for e.g. -m INBOX/${extension} + Added a new maildirlock utility for write-locking Dovecot Maildir. + dict-sql: Support non-MySQL databases by assuming they implement the "INSERT .. ON DUPLICATE KEY" using an INSERT trigger. - SORT: Fixed several crashes/errors with sort indexing. - IMAP: BODYSTRUCTURE is finally RFC 3501 compliant. Earli...
2011 Dec 24
3
Compressing existing maildirs
...t;*,S=*" -mtime +1 -exec gzip -S Z -6 '{}' + I.e. find all maildir-files: - with size in the name ("*,S=*") - modified before I enabled zlib plugin - compress them - add the Z suffix - keep timestamps (gzip does that by default) It's of course racy without the maildirlock, but are there any other problems with this approach ? -jf
2016 May 18
2
mailbox.auto ignores dovecot-uidlist.lock
...ng .dovecot.svbin and .dovecot.sieve etc. (homedir files) So I wanted to lock the folder, kick the user and the move the files/folders, but the user logs in just after I kick him and so the auto-folders are created and my migration script fails, locking the folder with dovecot-uidlist.lock and maildirlock does not work in this case.
2020 May 29
3
Simple backup of maildir folder
Hi, I want to do a simple backup of my maildir. I read here that maildirlock is not to count on in the future and the recommended option was to use doveadm backup. However, it seems that this requires to setup another dovecot server. My questions are: - How much to I need to configure this new server? Do I need to setup user by user, or even install postfix (that'...