[Dovecot] Mailbox locking issue?

Mark Sapiro mark at msapiro.net
Sun May 4 20:45:30 EEST 2008


Timo Sirainen wrote:
> On Fri, 2008-04-11 at 22:52 -0700, Mark Sapiro wrote:
> 
>> From now on, as messages are added to the mailbox by Postfix, fetchmail
>> keeps retrieving both old and new messages. i.e. even though dovecot's
>> log says del 1/1 (or del n/n) no messages are actually deleted from
>> the mailbox.
>>
>> This situation continues until someone accesses the mailbox locally
>> (e.g. via mutt through a local shell) and deletes the old messages.
> 
> When this happens, could you put the mbox file through
> http://dovecot.org/tools/mbox-anonymize.pl and send the result to me,
> along with dovecot.index and dovecot.index.log files.


Yes, I will do that.

Here's one additional piece of information which may or may not be 
relevant. There are actually three users (and three separate mailboxes) 
whose mail is being retrieved via POP3/fetchmail, but all three users 
have the same UID so there is only one set of .imap/INBOX/dovecot.* 
files for all three mailboxes.

This may have been at least part of the problem in the case where the 
error appeared to be precipitated by simultaneous access from two 
different remote machines.

-- 
Mark Sapiro <mark at msapiro.net>        The highway is for gamblers,
San Francisco Bay Area, California    better use your sense - B. Dylan



More information about the dovecot mailing list