[Dovecot] pop3 messages not deleted
Hello,
I'm currently experiencing, that 0 messages are shown at the pop3-prompt:
list +OK 0 messages: .
But the cur-folder containes 74 files. How can this happen? Why aren't they removed physically?
Regards Marten Lehmann
Extra info: I'm working with the 20050426 release of dovecot-1.0-stable.
Can't help you much with POP I'm afraid, I've not got around to testing it yet (I'm a bit prejudiced against POP users in a University environment where IMAP makes much more sense - store it on our server, we back it up for you, you can access it from anywhere etc.)
Have you tried opening the same mailbox with IMAP? Try something like
telnet <server> 143 x LOGIN <username> "<password>" x SELECT INBOX x LOGOUT
and see how many messages it reports.
I gather from your second message that you're using Maildirs rather than mbox (if not, upgrade to dovecot-stable-20050427, especially if your mboxes have the Washington IMAP pseudo-message at the top).
It may also be worth deleting the indexes (in the .imap directory, I think - can't remember for sure in Maildirs) see doc/index.txt and doc/mail-storages.txt
Best Wishes, Chris
Marten Lehmann wrote:
Extra info: I'm working with the 20050426 release of dovecot-1.0-stable.
Hello,
I'm currently experiencing, that 0 messages are shown at the pop3-prompt:
list +OK 0 messages: .
But the cur-folder containes 74 files. How can this happen? Why aren't they removed physically?
-- --+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+- Christopher Wakelin, c.d.wakelin@reading.ac.uk IT Services Centre, The University of Reading, Tel: +44 (0)118 378 8439 Whiteknights, Reading, RG6 2AF, UK Fax: +44 (0)118 975 3094
Hi,
and see how many messages it reports.
x select INBOX
- FLAGS (\Answered \Flagged \Deleted \Seen \Draft)
- OK [PERMANENTFLAGS (\Answered \Flagged \Deleted \Seen \Draft \*)] Flags permitted.
- 0 EXISTS
- 0 RECENT
- OK [UIDVALIDITY 1114699589] UIDs valid
- OK [UIDNEXT 7485] Predicted next UID x OK [READ-WRITE] Select completed.
I also did the following:
x uid search *
- SEARCH
- BYE Mailbox is in inconsistent state, please relogin.
Now I got the following:
x select INBOX
- FLAGS (\Answered \Flagged \Deleted \Seen \Draft)
- OK [PERMANENTFLAGS (\Answered \Flagged \Deleted \Seen \Draft \*)] Flags permitted.
- 74 EXISTS
- 0 RECENT
- OK [UNSEEN 1] First unseen.
- OK [UIDVALIDITY 1114699589] UIDs valid
- OK [UIDNEXT 7485] Predicted next UID x OK [READ-WRITE] Select completed.
In pop3, it works, too.
I gather from your second message that you're using Maildirs rather than mbox
Thats correct.
It may also be worth deleting the indexes (in the .imap directory, I think - can't remember for sure in Maildirs) see doc/index.txt and doc/mail-storages.txt
The problem is, that not all mailboxes do have IMAP access. POP3 is the basic, IMAP uses a different passwd-file. So with POP3, I had no chance to reorganize the index and the inconsistent state hasn't been detected. And one question remains: How can this happen? The mailbox contained about 4500 messages in the INBOX.
Regards Marten
On Thu, 2005-04-28 at 17:49 +0200, Marten Lehmann wrote:
Hello,
I'm currently experiencing, that 0 messages are shown at the pop3-prompt:
list +OK 0 messages: .
But the cur-folder containes 74 files. How can this happen? Why aren't they removed physically?
That means Dovecot thinks it has already indexed everything in cur/ directory. "touch cur" helps in these cases always. It shouldn't ever happen though.. Was something else also accessing the maildir?
Or what filesystem are you using? Maybe there are still some problems with readdir() missing some files..
Hello,
That means Dovecot thinks it has already indexed everything in cur/ directory. "touch cur" helps in these cases always. It shouldn't ever happen though.. Was something else also accessing the maildir?
I'm not sure, but as far is I know I just started downloading all messages with Mozilla.
Or what filesystem are you using? Maybe there are still some problems with readdir() missing some files..
Ext3.
Regards Marten
participants (3)
-
Chris Wakelin
-
Marten Lehmann
-
Timo Sirainen