[Dovecot] Expunge is not expunging unless called twice--revisited
Hi,
I'm running dovecot-1.0.beta8 from FreeBSD ports, using mbox mail store. My problem appears to have come up on the list about a month ago, "Expunge is not expunging unless it is called twice". I ran through Bill Boebel's telnet-IMAP session for myself, and I see that his test case is now fixed (as Timo said), but mutt, for whatever reason, uses +FLAGS.SILENT, and I'm still getting the behaviour in Bill's original problem when I telnet and use +FLAGS.SILENT:
1 OK Logged in. 2 select INBOX
- FLAGS (\Answered \Flagged \Deleted \Seen \Draft)
- OK [PERMANENTFLAGS (\Answered \Flagged \Deleted \Seen \Draft \*)]
- Flags permitted.
- 1 EXISTS
- 1 RECENT
- OK [UNSEEN 1] First unseen.
- OK [UIDVALIDITY 1148956034] UIDs valid
- OK [UIDNEXT 4] Predicted next UID 2 OK [READ-WRITE] Select completed. 3 UID STORE 3 +FLAGS.SILENT (\Deleted) 3 OK Store completed. 4 expunge 4 OK Expunge completed. 5 expunge
- 1 EXPUNGE
- 0 RECENT 5 OK Expunge completed.
After step 4, the message is still in the mailbox with "X-Status: D"; the second expunge is required to remove it. I seem to get the same behaviour with Thunderbird, so is this still a dovecot problem? (I have Thunderbird set up to remove deleted messages immediately, not move to trash or just mark as deleted.)
thanks much, Jeff
On Mon, 2006-05-29 at 22:45 -0400, Jeff Blank wrote:
3 UID STORE 3 +FLAGS.SILENT (\Deleted) 3 OK Store completed.
I could reproduce it only with STORE command, not with UID STORE. Fix here: http://dovecot.org/list/dovecot-cvs/2006-June/005711.html
Timo Sirainen wrote on 6/11/2006 2:03 PM:
I could reproduce it only with STORE command, not with UID STORE. Fix here: http://dovecot.org/list/dovecot-cvs/2006-June/005711.html
It seems to be working on my install after some quick testing. (rebuilt 1.0b8 w/these patches, FreeBSD 6.1, Eudora 6.2 clients.) I'll post again if anything blows up when my users put it under load.
Thanks for the fix!
Chris
Christopher Gilmore c-gilmore@northwestern.edu Network Administrator, McCormick Administration
On Sun, Jun 11, 2006 at 10:03:00PM +0300, Timo Sirainen wrote:
On Mon, 2006-05-29 at 22:45 -0400, Jeff Blank wrote:
3 UID STORE 3 +FLAGS.SILENT (\Deleted) 3 OK Store completed.
I could reproduce it only with STORE command, not with UID STORE. Fix here: http://dovecot.org/list/dovecot-cvs/2006-June/005711.html
I applied the patches to the 20060603 CVS snapshot that I've been running, and it fixed the problem. (Solaris 9, mutt 1.4.2.1/1.5.10, with maildir.)
Thanks for the great support!!
Glenn
On Sun, Jun 11, 2006 at 10:03:00PM +0300, Timo Sirainen wrote:
On Mon, 2006-05-29 at 22:45 -0400, Jeff Blank wrote:
3 UID STORE 3 +FLAGS.SILENT (\Deleted) 3 OK Store completed. I could reproduce it only with STORE command, not with UID STORE. Fix here: http://dovecot.org/list/dovecot-cvs/2006-June/005711.html
Huh, I wonder what my deal was with that then. But anyway, it's working great now, as noted by Glenn and Chris. Thanks!
Jeff
participants (4)
-
Christopher P. Gilmore
-
Glenn Leavell
-
Jeff Blank
-
Timo Sirainen