[Dovecot] Still weird UID ordering issues with maildir

Jeff A. Earickson jaearick at colby.edu
Mon Sep 12 17:34:08 EEST 2005


Hi,
While I am using mbox instead of maildir, I've noticed similar
weirdness.  I'm using 1.0alpha2 on Solaris 9 (since last night). 
I connect to imap with Pine 4.63.   My mailbox is NFS mounted 
to the IMAP server from our mail server (Solaris 9 for both boxes).

If I delete large numbers of messages and then my pine message
list screen refreshes (via eXpunge) then sometimes my message
numbering is off by one.  After the expunge, if I move to message
67 and open it, dovecot will show me message 68 instead.  The
only way to fix this is to close pine (and the imap connection)
and restart.  This off-by-one error most often happens while I am
deleting messages and a new message arrives.

An annoyance, but I never had this problem with UW imap.

Jeff Earickson
Colby College

On Mon, 12 Sep 2005, Todd Vierling wrote:

> Date: Mon, 12 Sep 2005 09:58:41 -0400 (EDT)
> From: Todd Vierling <tv at duh.org>
> To: Timo Sirainen <tss at iki.fi>
> Cc: dovecot at dovecot.org
> Subject: Re: [Dovecot] Still weird UID ordering issues with maildir
> 
> On Sun, 11 Sep 2005, Timo Sirainen wrote:
>
>> Just wondering if there's a way I could reproduce this problem..
>
> It just hit me again, and now I realize that there is a common behavior
> pattern happening.  In every case that this has happened, I have been
> deleting large numbers (>10) of messages from a mailbox.  IIRC, in Maildir
> flags are expressed as filename additions, so a rename(2) is happening.
>
> Perhaps dovecot is doing the rename, but not updating something in the index
> to match?  Or, this could be a race condition related to the rename(2)....
>
> -- 
> -- Todd Vierling <tv at duh.org> <tv at pobox.com> <todd at vierling.name>
>


More information about the dovecot mailing list