2.4.7 complains about mails named '0.'

Bron Gondwana brong at fastmail.fm
Sat Apr 2 08:48:53 EDT 2011


On Sat, Apr 02, 2011 at 02:19:30PM +0200, Bron Gondwana wrote:
> On Sat, Apr 02, 2011 at 12:17:25PM +0200, Wolfgang Breyha wrote:
> > Hi!
> > 
> > On 2011-04-02 11:59, Bron Gondwana wrote:
> > > Was there seriously a version of Cyrus that allows UID zero?  That's
> > > bogus.  Surely IMAP UIDs start at one.
> 
> Hmm... so imapsync created them?  I'll read the code
> for 2.3.7 and see how that's even possible.

Seriously:

    /* Setup */
    message_index.uid = mailbox->last_uid + as->nummsg + 1;

mailbox->last_uid gets set to zero at creation time,
as->nummsg gets set to zero in append_setup - the
first message should be UID == 1.

It seems more likely to me that your '0.' files are caused
by some bug somewhere along the way.  Did you check them to
see if they're duplicates of another message in that folder?

Bron.


More information about the Info-cyrus mailing list