Re: 2.4.7 complains about mails named '0.'

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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.
----
Cyrus Home Page: http://www.cyrusimap.org/
List Archives/Info: http://lists.andrew.cmu.edu/pipermail/info-cyrus/


[Index of Archives]     [Cyrus SASL]     [Squirrel Mail]     [Asterisk PBX]     [Video For Linux]     [Photo]     [Yosemite News]     [gtk]     [KDE]     [Gimp on Windows]     [Steve's Art]

  Powered by Linux