a.smith at ukgrid.net
2011-May-11 23:57 UTC
[Dovecot] IMAP message ID bad for very old message
Hi, I just noticed that the ordering by message ID when accessing my email via IMAP is messed up. I'm looking in the INBOX that contains 11757 emails. For some reason a load of emails from 2009 and 2010 are being listed near the top, for example I have a message with ID 11441 from 2009 where it definitely shouldn't be, its all mixed in with emails from 2011 there. Info from LDAP is: * 11441 FETCH (FLAGS (\Answered \Seen) INTERNALDATE "27-Mar-2009 09:14:10 +0000" RFC822.SIZE 5772 ENVELOPE ("Fri, 27 Mar 2009 09:15:09 -0000" "MyC IP on CBL" (("Patrick XXXXXXXX- XXXXXXXX" NIL "patrick" "XXXXXXXX.co.uk")) (("Patrick XXXXXX- XXXXXXXX" NIL "patrick" "XXXXXXX.co.uk")) (("Patrick xxxxxx - xxxxxxx" NIL "patrick" "XXXXXXXX.co.uk")) (("Andy Smith" NIL "a.smith" "ukgrid.net")) (("Frank XXXXXXX" NIL "frank" "XXXXXXXXXXX.co.uk")(NIL NIL "Tim.XXXXXXXX" "XXXXXX.org")) NIL NIL "<6937D025FA924E73B8C839858C27AEBF at PatrickDesktop>")) I'm using maildir format, and the actual file date looks fine too: -rw-rw---- 1 vmail vmail 5627 Mar 27 2009 1238145250.H86871P67126.mx1.ukgrid.net:2,RS I am testing IMAP via telnet (originally noticed the problem viewing mail via HORDE/IMP). My system is FreeBSD 8.2, Dovecot 2.0.11. What might cause this behaviour? thanks Andy.
a.smith at ukgrid.net
2011-May-12 18:26 UTC
[Dovecot] IMAP message ID bad for very old message
Quoting a.smith at ukgrid.net:> Hi, > > I just noticed that the ordering by message ID when accessing my > email via IMAP is messed up. I'm looking in the INBOX that contains > 11757 emails. For some reason a load of emails from 2009 and 2010 > are being listed near the top, for example I have a message with ID > 11441 from 2009 where it definitely shouldn't be, its all mixed in > with emails from 2011 there. > Info from LDAP is: > > * 11441 FETCH (FLAGS (\Answered \Seen) INTERNALDATE "27-Mar-2009 > 09:14:10 +0000" RFC822.SIZE 5772 ENVELOPE ("Fri, 27 Mar 2009 > 09:15:09 -0000" "MyC IP on CBL" (("Patrick XXXXXXXX- XXXXXXXX" NIL > "patrick" "XXXXXXXX.co.uk")) (("Patrick XXXXXX- XXXXXXXX" NIL > "patrick" "XXXXXXX.co.uk")) (("Patrick xxxxxx - xxxxxxx" NIL > "patrick" "XXXXXXXX.co.uk")) (("Andy Smith" NIL "a.smith" > "ukgrid.net")) (("Frank XXXXXXX" NIL "frank" > "XXXXXXXXXXX.co.uk")(NIL NIL "Tim.XXXXXXXX" "XXXXXX.org")) NIL NIL > "<6937D025FA924E73B8C839858C27AEBF at PatrickDesktop>")) > > > I'm using maildir format, and the actual file date looks fine too: > > -rw-rw---- 1 vmail vmail 5627 Mar 27 2009 > 1238145250.H86871P67126.mx1.ukgrid.net:2,RS > > I am testing IMAP via telnet (originally noticed the problem viewing > mail via HORDE/IMP). My system is FreeBSD 8.2, Dovecot 2.0.11. > What might cause this behaviour? > > thanks Andy. >Ok, I just deleted the dovecot index files etc from the mailbox, when it recreated them all is now looking normal... ta Andy.
a.smith at ukgrid.net
2011-May-13 08:35 UTC
[Dovecot] IMAP message ID bad for very old message
Quoting a.smith at ukgrid.net:> > Ok, I just deleted the dovecot index files etc from the mailbox, > when it recreated them all is now looking normal... >When I logged into my mail today this problem has come back :S Can anyone suggest a cause or anything else I should do? I am correct in thinking that Dovecot normally orders emails by date right???? thanks Andy.