[Dovecot] incorrect dovecot-uidlist?
Hi, I have some problems with my own mail-client. To fix the problem I want to know if my dovecot-uidlist is correct. Here it is: cat dovecot-uidlist 3 V1207893082 N522 519 :1231251810.M890065P5870.SERVER,W=2188,S=2124:2,DS 520 :1231750443.M221593P17335.SERVER,W=2260,S=2211:2,S 522 :1231773105.M510336P24592.SERVER,W=2278,S=2229:2,S 523 :1231773105.M510337P24592.SERVER,W=2280,S=2231:2,S 524 :1231773105.M510338P24592.SERVER,W=2280,S=2231:2,S 525 :1231773105.M510339P24592.SERVER,W=2280,S=2231:2,S 526 :1231773602.M637982P25701.SERVER,W=2471,S=2430:2,S 527 :1231773643.M934651P25801.SERVER,S=778:2,DS 528 :1231773649.M494756P25829.SERVER,S=701:2,DS 529 :1231848752.M95696P23657.SERVER,W=2289,S=2238:2,S 530 :1231848752.M95697P23657.SERVER,W=2289,S=2238:2,S 531 :1231848752.M95698P23657.SERVER,W=2236,S=2187:2,S 532 :1231848752.M95699P23657.SERVER,W=2254,S=2205:2,S 533 :1231848752.M95700P23657.SERVER,W=2280,S=2231:2,S 534 :1231947345.M166356P31040.SERVER,W=14351593,S=14167572:2,S 535 :1231947618.M714791P31657.SERVER,W=14420039,S=14235124:2,S 536 :1231947618.M714792P31657.SERVER,W=3718,S=3638:2,S 537 :1231947618.M714793P31657.SERVER,W=43049465,S=42497522:2,S 538 :1231947618.M714794P31657.SERVER,W=43049475,S=42497531:2,S 539 :1231947618.M714795P31657.SERVER,W=43049475,S=42497531:2,S 540 :1232010788.M924208P9848.SERVER,W=43050148,S=42498189
I read the documentation on http://wiki.dovecot.org/MailboxFormat/Maildir?highlight=(UIDVALIDITY)
Now I see, that the next UID in dovecot-uidlist is here 522 but the last UID is 540. So I don't know why the dovecot-uidlist is incorrect.
Thanks for comments...
STEPHAN
Hi again, when I login into the mailbox, I get the right next UID 541: . examine INBOX
- FLAGS (\Answered \Flagged \Deleted \Seen \Draft $MDNSent)
- OK [PERMANENTFLAGS ()] Read-only mailbox.
- 20 EXISTS
- 14 RECENT
- OK [UNSEEN 20] First unseen.
- OK [UIDVALIDITY 1207893082] UIDs valid
- OK [UIDNEXT 541] Predicted next UID . OK [READ-ONLY] Select completed.
STEPHAN
"Stephan Dietrich" <s.dietrich@scanplus.de> Gesendet von: dovecot-bounces+s.dietrich=scanplus.de@dovecot.org 15.01.2009 12:49 Bitte antworten an Dovecot Mailing List <dovecot@dovecot.org>
An 'Dovecot Mailing List' <dovecot@dovecot.org> Kopie
Thema [Dovecot] incorrect dovecot-uidlist?
Hi, I have some problems with my own mail-client. To fix the problem I want to
know if my dovecot-uidlist is correct. Here it is: cat dovecot-uidlist 3 V1207893082 N522 519 :1231251810.M890065P5870.SERVER,W=2188,S=2124:2,DS 520 :1231750443.M221593P17335.SERVER,W=2260,S=2211:2,S 522 :1231773105.M510336P24592.SERVER,W=2278,S=2229:2,S 523 :1231773105.M510337P24592.SERVER,W=2280,S=2231:2,S 524 :1231773105.M510338P24592.SERVER,W=2280,S=2231:2,S 525 :1231773105.M510339P24592.SERVER,W=2280,S=2231:2,S 526 :1231773602.M637982P25701.SERVER,W=2471,S=2430:2,S 527 :1231773643.M934651P25801.SERVER,S=778:2,DS 528 :1231773649.M494756P25829.SERVER,S=701:2,DS 529 :1231848752.M95696P23657.SERVER,W=2289,S=2238:2,S 530 :1231848752.M95697P23657.SERVER,W=2289,S=2238:2,S 531 :1231848752.M95698P23657.SERVER,W=2236,S=2187:2,S 532 :1231848752.M95699P23657.SERVER,W=2254,S=2205:2,S 533 :1231848752.M95700P23657.SERVER,W=2280,S=2231:2,S 534 :1231947345.M166356P31040.SERVER,W=14351593,S=14167572:2,S 535 :1231947618.M714791P31657.SERVER,W=14420039,S=14235124:2,S 536 :1231947618.M714792P31657.SERVER,W=3718,S=3638:2,S 537 :1231947618.M714793P31657.SERVER,W=43049465,S=42497522:2,S 538 :1231947618.M714794P31657.SERVER,W=43049475,S=42497531:2,S 539 :1231947618.M714795P31657.SERVER,W=43049475,S=42497531:2,S 540 :1232010788.M924208P9848.SERVER,W=43050148,S=42498189
I read the documentation on http://wiki.dovecot.org/MailboxFormat/Maildir?highlight=(UIDVALIDITY)
Now I see, that the next UID in dovecot-uidlist is here 522 but the last UID is 540. So I don't know why the dovecot-uidlist is incorrect.
Thanks for comments...
STEPHAN
On Thu, 2009-01-15 at 12:48 +0100, Stephan Dietrich wrote:
3 V1207893082 N522 .. 540 :1232010788.M924208P9848.SERVER,W=43050148,S=42498189
I read the documentation on http://wiki.dovecot.org/MailboxFormat/Maildir?highlight=(UIDVALIDITY)
Now I see, that the next UID in dovecot-uidlist is here 522 but the last UID is 540. So I don't know why the dovecot-uidlist is incorrect.
The documentation should be updated, since the format changed in v1.1. Now the next-uid header is updated only when the entire file is rewritten. Typically updates are done only by appending a line.
Hi, I've made more tests with another brokes dovecot-uidlist. cat docevot-uidlist Thats the other file: 3 V1207893082 N7749 7748 :1232012455.M86678P12848.z43srvmailB,S=1885,W=1928 7749 :1232012463.M258778P12858.z43srvmailB,S=1885,W=1928
Now I look for eMails on the files-system. In the new/ folder there are these two emails: ls new/ 1232012455.M86678P12848.z43srvmailB,S=1885,W=1928 1232012463.M258778P12858.z43srvmailB,S=1885,W=1928
But in the cur/ folder there are 758 emails, too. I do not see this email in dovecot-uidlist. Why? The dovecot-uidlist was updated with the new two incoming emails but kick the old emails out of list. Why? When I login into mailbox, the dovecot-uidlist was updated BUT the next UID is still the same.
Timo Sirainen <tss@iki.fi> Gesendet von: dovecot-bounces+s.dietrich=scanplus.de@dovecot.org 15.01.2009 16:33 Bitte antworten an Dovecot Mailing List <dovecot@dovecot.org>
An Dovecot Mailing List <dovecot@dovecot.org> Kopie
Thema Re: [Dovecot] incorrect dovecot-uidlist?
On Thu, 2009-01-15 at 12:48 +0100, Stephan Dietrich wrote:
3 V1207893082 N522 .. 540 :1232010788.M924208P9848.SERVER,W=43050148,S=42498189
I read the documentation on http://wiki.dovecot.org/MailboxFormat/Maildir?highlight=(UIDVALIDITY)
Now I see, that the next UID in dovecot-uidlist is here 522 but the last
UID is 540. So I don't know why the dovecot-uidlist is incorrect.
The documentation should be updated, since the format changed in v1.1. Now the next-uid header is updated only when the entire file is rewritten. Typically updates are done only by appending a line.
hi, I have problems with the dovecot-uidlist in version 1.1.4 and 1.1.8. I was using dovecot 1.1.4 and think, I fix it with new dovecot 1.1.8, but still the same problem.
Here a discription to reconstruct the problem:
I have an fit dovecot-uidlist with one email in cur/ folder.
Now I try to append an email in this way:
A001 LOGIN USER PASSWORD A001 OK Logged in. A002 EXAMINE INBOX
- FLAGS (\Answered \Flagged \Deleted \Seen \Draft)
- OK [PERMANENTFLAGS ()] Read-only mailbox.
- 1 EXISTS
- 0 RECENT
- OK [UIDVALIDITY 1232360001] UIDs valid
- OK [UIDNEXT 2] Predicted next UID A002 OK [READ-ONLY] Select completed. A003 APPEND INBOX {147}
- OK MIME-Version: 1.0 From: EMAIL To: EMAIL Subject: SDI1 Content-Type: text/plain; charset: ascii
Ignore.
- 1 EXPUNGE
- 2 EXISTS
- 2 RECENT A003 OK [APPENDUID 1232360001 2] Append completed. A004 LOGOUT
- BYE Logging out A004 OK Logout completed.
After this I look into the dovecot-uidlist and I see this new email only! The dovecot-uidlist is rewritten, but only this this new incoming email. After login into mailbox, make a SELECT INBOX and NOOP, the dovecot-uidlist is rewritten angain and add the "old" emails AT THE END of the dovecot-uidlist.
And my question is, why dovecot EXPANGE the email in cur/ folder, remove it from dovecot-uidlist and rewrite the dovecot-uidlist with the new incoming email only.
So I lost the "old" email in the cur/ folder.
Thanks... STEPHAN
On Jan 19, 2009, at 9:39 AM, Stephan Dietrich wrote:
After this I look into the dovecot-uidlist and I see this new email
only! The dovecot-uidlist is rewritten, but only this this new incoming
email. After login into mailbox, make a SELECT INBOX and NOOP, the dovecot-uidlist is rewritten angain and add the "old" emails AT THE
END of the dovecot-uidlist.
Do you see any errors logged? http://wiki.dovecot.org/Logging
participants (2)
-
Stephan Dietrich
-
Timo Sirainen