[Dovecot] pop3 creates bad index file

Onno Molenkamp onno at flox.org
Thu Jun 21 12:20:26 EEST 2007


Hi,

When I use pop3 to log on to a (Maildir) mailbox that doesn't yet exist in the 
filesystem, the pop3 server autocreates it for me. This works.

Jun 21 10:50:45 mail-04 dovecot: pop3-login: Login: user=<hwx7s at gqh7x.test>, 
method=PLAIN, rip=::ffff:192.168.42.105, lip=::ffff:192.168.42.97
Jun 21 10:50:48 mail-04 dovecot: POP3(hwx7s at gqh7x.test): Disconnected: Logged 
out top=0/0, retr=0/0, del=0/0, size=0

When I log on a second time, it will complain about UIDVALIDITY that has 
changed, and will disconnect me:

Jun 21 10:50:52 mail-04 dovecot: pop3-login: Login: user=<hwx7s at gqh7x.test>, 
method=PLAIN, rip=::ffff:192.168.42.105, lip=::ffff:192.168.42.97
Jun 21 10:50:52 mail-04 dovecot: POP3(hwx7s at gqh7x.test): 
Maildir /data/mail/898/gqh7x.test/hwx7s/Maildir sync: UIDVALIDITY changed 
(1182415845 -> 1182415852)
Jun 21 10:50:52 mail-04 dovecot: POP3(hwx7s at gqh7x.test): Disconnected: Mailbox 
is in inconsistent state. top=0/0, retr=0/0, del=0/0, size=0
Jun 21 10:50:52 mail-04 dovecot: POP3(hwx7s at gqh7x.test): Couldn't init INBOX: 
Internal error occurred. Refer to server log for more information. 
[2007-06-21 10:50:52]

When I log on a third time, everything seems to work from the client side, but 
the server still complains:

Jun 21 10:51:01 mail-04 dovecot: pop3-login: Login: user=<hwx7s at gqh7x.test>, 
method=PLAIN, rip=::ffff:192.168.42.105, lip=::ffff:192.168.42.97
Jun 21 10:51:01 mail-04 dovecot: POP3(hwx7s at gqh7x.test): Corrupted index cache 
file /data/mail/898/gqh7x.test/hwx7s/Maildir/dovecot.index.cache: indexid 
changed
Jun 21 10:51:02 mail-04 dovecot: POP3(hwx7s at gqh7x.test): Disconnected: Logged 
out top=0/0, retr=0/0, del=0/0, size=0

Fourth (and further) logons work without errors.

When the Maildir is created by imap or deliver, pop3 works fine from the 
start.

The only real difference I see with idxview between the dovecot.index created 
by pop3 and one created by imap is that with pop3 sync stamp is 0, and with 
imap it contains a timestamp.

Onno
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part.
Url : http://dovecot.org/pipermail/dovecot/attachments/20070621/bca5ce50/attachment.bin 


More information about the dovecot mailing list