On 04/11/2013 10:39 PM, Andrzej A. Filip wrote: > How to lock dovecot-uidlist file before reading by an external program? > [perl script] I have been too "sending happy". http://wiki2.dovecot.org/MailboxFormat/Maildir The dovecot-uidlist file doesn't need to be locked for reading.