On Wed, 2009-03-04 at 11:23 -0800, Mark Hedges wrote: > On Tue, 3 Mar 2009, Timo Sirainen wrote: > > If you set mbox_read_locks=dotlock, it should get created > > whenever Dovecot is reading the mbox file. But it's > > created ONLY during those times. For example opening a > > mailbox whose index files are up-to-date doesn't cause > > dotlock to be created. And when the mbox is actually being > > read, the dotlock is deleted immediately after the IMAP > > command is finished. > > > > Does openwebmail create longer existing locks? > > *sigh*. No. It releases the locks as soon as it reads. > (The CGI process ends.) So if my script accesses by IMAP, > which also releases the locks, openwebmail can change the > folder in the meantime, regardless of what lock mechanism I > use.
Is it a problem if it does? As long as locking works, there shouldn't be problems regardless of who modifies the mailbox and how/when.
signature.asc
Description: This is a digitally signed message part