Hi, Oswald.

On Sat, Jun 28, 2014 at 11:38:54AM +0200, Oswald Buddenhagen wrote:
> On Fri, Jun 27, 2014 at 12:41:49PM +0400, Evgeniy Berdnikov wrote:
> > --- /var/mail/berd/.uidvalidity ----------------------------------------
> > 1245525174
> > 400048
> > ------------------------------------------------------------------------
> > 
> > --- /var/mail/berd/.mbsyncstate ----------------------------------------
> > MasterUidValidity 1185439805
> > SlaveUidValidity 1245525174
> > MaxPulledUid 454606
> > MaxPushedUid 401558
> > 
> got it:
> for some reason, your MaxPushedUid is higher than the highest UID in
> your mailbox (second line in .uidvalidity), so whatever new messages
> appear in the mailbox, mbsync thinks it already dealt with them.
> judging by the contents of the sync state, the UIDs in the mailbox
> actually do reach that high, so for some unholy reason the highest UID
> got rewound (and after adding a few more new messages you are going to
> get complaints about duplicate UIDs). any idea how that happened?

 I have no idea how it could happen... The difference is ~1500, it's too
 high to suspect this is a result of some operations with real mails.

> anyway, you can fix it by setting the highest UID to 402000 for example.

 I set it to 402000, and test mail has been pushed to server, thanks.

 Well, my problem is solved, but a question remains how isync could do
 internal checks of consistency. If input data can be inconsistent, one
 should do internal checks and produce (at least) warning message.
 I think in this situation (highest UID < MaxPushedUid) isync/mbsync
 should adjust highest UID to MaxPushedUid automatically.
-- 
 Eugene Berdnikov

------------------------------------------------------------------------------
Open source business process management suite built on Java and Eclipse
Turn processes into business applications with Bonita BPM Community Edition
Quickly connect people, data, and systems into organized workflows
Winner of BOSSIE, CODIE, OW2 and Gartner awards
http://p.sf.net/sfu/Bonitasoft
_______________________________________________
isync-devel mailing list
isync-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/isync-devel

Reply via email to