[Tickets #11453] Re: Very unstable IMAP client

bugs at horde.org bugs at horde.org
Fri Sep 28 16:31:02 UTC 2012


DO NOT REPLY TO THIS MESSAGE. THIS EMAIL ADDRESS IS NOT MONITORED.

Ticket URL: http://bugs.horde.org/ticket/11453
------------------------------------------------------------------------------
  Ticket             | 11453
  Updated By         | Michael Rubinsky <mrubinsk at horde.org>
  Summary            | Very unstable IMAP client
  Queue              | Horde Framework Packages
  Version            | Git master
  Type               | Bug
  State              | Assigned
  Priority           | 3. High
  Milestone          |
  Patch              |
  Owners             | Michael Slusarz
------------------------------------------------------------------------------


Michael Rubinsky <mrubinsk at horde.org> (2012-09-28 16:31) wrote:

Sample Code:

$imap = $registry->mail->imapOb();
$mbox = new Horde_Imap_Client_Mailbox('INBOX');
$status_flags = Horde_Imap_Client::STATUS_HIGHESTMODSEQ |
                 Horde_Imap_Client::STATUS_UIDVALIDITY |
                 Horde_Imap_Client::STATUS_UIDNEXT;

$status = $imap->status($mbox, $status_flags);
var_dump($status);

// At this point, modseq is reported as 573852
// I delete some email(s) from the INBOX, verify they are deleted by  
accessing the same INBOX on another client then:

$vanished = $imap->vanished($mbox, 573852);
var_dump($vanished->ids);

returns an empty array.


The following IMAP log is generated during the vanished call:

S: * OK [CAPABILITY IMAP4rev1 LITERAL+ LOGIN-REFERRALS ID ENABLE   
XIMAPPROXY] Dovecot ready.
C: [LOGIN Command - username: mike]
S: * OK [XPROXYREUSE] IMAP connection reused by imapproxy
S: 1 OK User logged in
C: 2 STATUS "INBOX" (uidnext uidvalidity highestmodseq)
S: * STATUS "INBOX" (UIDNEXT 138723 UIDVALIDITY 1292457115  
HIGHESTMODSEQ 573857)
S: 2 OK Status completed.
C: 3 EXAMINE "INBOX" (QRESYNC (1292457115 573857  
112036,119945:119946,123483,126397,127831,128044,130389,130457,132128,135833,136202,136302,136317,137188,137688,137690,137817,138171,138188,138214,138233,138238:138239,138254,138266:138267,138271:138273,138282,138309,138311,138314,138479:138673,138675:138708,138713:138717,138721:138722))
S: * FLAGS (\Answered \Flagged \Deleted \Seen \Draft $Junk $NotJunk  
$Forwarded Test_Tso test_one JunkRecorded $mdnsent)
S: * OK [PERMANENTFLAGS ()] Read-only mailbox.
S: * 38 EXISTS
S: * 0 RECENT
S: * OK [UNSEEN 38] First unseen.
S: * OK [UIDVALIDITY 1292457115] UIDs valid
S: * OK [UIDNEXT 138723] Predicted next UID
S: * OK [HIGHESTMODSEQ 573857] Highest
S: 3 OK [READ-ONLY] Select completed.
C: 4 UID FETCH 1:* UID (VANISHED CHANGEDSINCE 573852)
S: * 37 FETCH (UID 138721 MODSEQ (573857))
S: 4 OK Fetch completed.
C: 5 LOGOUT
S: * BYE LOGOUT received
S: 5 OK Completed





More information about the bugs mailing list