[Tickets #11115] Re: delete action does not update mailbox in traditional view
bugs at horde.org
bugs at horde.org
Mon Apr 9 18:19:40 UTC 2012
DO NOT REPLY TO THIS MESSAGE. THIS EMAIL ADDRESS IS NOT MONITORED.
Ticket URL: http://bugs.horde.org/ticket/11115
------------------------------------------------------------------------------
Ticket | 11115
Updated By | Michael Slusarz <slusarz at horde.org>
Summary | delete action does not update mailbox in traditional
| view
Queue | IMP
Version | Git master
Type | Bug
State | Feedback
Priority | 1. Low
Milestone |
Patch |
Owners | Michael Slusarz
------------------------------------------------------------------------------
Michael Slusarz <slusarz at horde.org> (2012-04-09 12:19) wrote:
> That is really strange. Do you have a imap trace log so that I would
> be able to compare the logs.
Here's a delete action.
>> Timestamp: Mon, 09 Apr 2012 12:16:18 -0600
S: * OK [CAPABILITY IMAP4rev1 LITERAL+ LOGIN-REFERRALS ID ENABLE
AUTH=LOGIN XIMAPPROXY] Dovecot ready.
C: [LOGIN Command - username: slusarz]
S: * OK [XPROXYREUSE] IMAP connection reused by squirrelmail-imap_proxy
S: 1 OK User logged in
C: 2 SELECT Testing.AAC (QRESYNC (1255685589 148 50:76,78:103,106))
S: * FLAGS (\Answered \Flagged \Deleted \Seen \Draft impflag0
$Forwarded impflag1)
S: * OK [PERMANENTFLAGS (\Answered \Flagged \Deleted \Seen \Draft
impflag0 $Forwarded impflag1 \*)] Flags permitted.
S: * 54 EXISTS
S: * 0 RECENT
S: * OK [UNSEEN 2] First unseen.
S: * OK [UIDVALIDITY 1255685589] UIDs valid
S: * OK [UIDNEXT 107] Predicted next UID
S: * OK [HIGHESTMODSEQ 148] Highest
S: 2 OK [READ-WRITE] Select completed.
>> CACHE: Retrieved messages (mailbox: Testing.AAC; UIDs: 55)
C: 3 UID STORE 55 (UNCHANGEDSINCE 148) +FLAGS.SILENT \deleted
S: * 6 FETCH (UID 55 MODSEQ (149))
S: 3 OK Store completed.
>> CACHE: Retrieved messages (mailbox: Testing.AAC; UIDs: 55)
[NOTE: The below command is the log entry indicating that the flag was
successfully updated]
>> CACHE: Stored messages (mailbox: Testing.AAC; UIDs: 55)
[NOTE: And since flags are updated in mailbox, we know that cached
search queries are no longer valid so we need to remove those also]
>> Expired search results from cache (mailbox: Testing.AAC)
C: 4 UID SORT RETURN (ALL COUNT) (DATE) US-ASCII ALL
S: * ESEARCH (TAG "4") UID ALL
50,79,51,80,52,81,53,82,54,83,55,84,56,85,57,86,58,87,59,88,60,89,61,90,62,91,63,92,64,93,65,94,66,95,67,96,68,97,69,98,70,99,71,100,72,101,73,102,74,103,75,78,106,76 COUNT
54
S: 4 OK Sort completed (0.000 secs).
>> Saved search results to cache (mailbox: Testing.AAC; id:
>> 98367107759a917e62e60584c8d69c2f)
C: 5 UID FETCH 50:76,78:103,106 UID (CHANGEDSINCE 147)
S: * 6 FETCH (UID 55 MODSEQ (149))
S: 5 OK Fetch completed.
>> CACHE: Retrieved messages (mailbox: Testing.AAC; UIDs: 55)
C: 6 LOGOUT
S: * OK [CLOSED] Previous mailbox closed.
S: * BYE LOGOUT received
S: 6 OK Completed
Here's the undelete action immediately after:
>> Timestamp: Mon, 09 Apr 2012 12:16:20 -0600
S: * OK [CAPABILITY IMAP4rev1 LITERAL+ LOGIN-REFERRALS ID ENABLE
AUTH=LOGIN XIMAPPROXY] Dovecot ready.
C: [LOGIN Command - username: slusarz]
S: * OK [XPROXYREUSE] IMAP connection reused by squirrelmail-imap_proxy
S: 1 OK User logged in
C: 2 SELECT Testing.AAC (QRESYNC (1255685589 149 50:76,78:103,106))
S: * FLAGS (\Answered \Flagged \Deleted \Seen \Draft impflag0
$Forwarded impflag1)
S: * OK [PERMANENTFLAGS (\Answered \Flagged \Deleted \Seen \Draft
impflag0 $Forwarded impflag1 \*)] Flags permitted.
S: * 54 EXISTS
S: * 0 RECENT
S: * OK [UNSEEN 2] First unseen.
S: * OK [UIDVALIDITY 1255685589] UIDs valid
S: * OK [UIDNEXT 107] Predicted next UID
S: * OK [HIGHESTMODSEQ 149] Highest
S: 2 OK [READ-WRITE] Select completed.
C: 3 UID STORE 55 (UNCHANGEDSINCE 149) -FLAGS.SILENT \deleted
S: * 6 FETCH (UID 55 MODSEQ (150))
S: 3 OK Store completed.
>> CACHE: Retrieved messages (mailbox: Testing.AAC; UIDs: 55)
[NOTE: Again, this is the updating of the deleted flag in the cache]
>> CACHE: Stored messages (mailbox: Testing.AAC; UIDs: 55)
C: 4 LOGOUT
S: * OK [CLOSED] Previous mailbox closed.
S: * BYE LOGOUT received
S: 4 OK Completed
> Which server are you testing against?
Dovecot (2.1.3), but that should be irrelevant.
More information about the bugs
mailing list