[Tickets #11453] Re: Very unstable IMAP client

bugs at horde.org bugs at horde.org
Mon Oct 1 21:35:16 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 Slusarz <slusarz at horde.org>
  Summary            | Very unstable IMAP client
  Queue              | Horde Framework Packages
  Version            | Git master
  Type               | Bug
-State              | Assigned
+State              | Feedback
  Priority           | 3. High
  Milestone          |
  Patch              |
  Owners             | Michael Slusarz
------------------------------------------------------------------------------


Michael Slusarz <slusarz at horde.org> (2012-10-01 15:35) wrote:

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

[snip]

> var_dump($vanished->ids);
>
> returns an empty array.

[snip]

> 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

That code is running perfect.  There is no VANISHED response, so no  
messages have been deleted between those MODSEQs according to the  
server.

I can verify this works fine on my server.  E.g.:

C: 4 UID FETCH 1:* UID (VANISHED CHANGEDSINCE 34240)
S: * VANISHED (EARLIER) 14199,14239,14242
S: * 37 FETCH (UID 14211 MODSEQ (34251))
S: * 38 FETCH (UID 14212 MODSEQ (34250))
S: * 39 FETCH (UID 14243 MODSEQ (34249))
S: 4 OK Fetch complete

Shot in the dark: try this change in _vanished():

         $cmd = $this->_clientCommand(array(
             'UID',
             'FETCH',
             $ids->all ? '1:*' : strval($ids),
-           'UID',
+           new Horde_Imap_Client_Data_Format_List('UID'),
             new Horde_Imap_Client_Data_Format_List(array(
                 'VANISHED',
                 'CHANGEDSINCE',
                 new Horde_Imap_Client_Data_Format_Number($modseq)
             ))
         ));





More information about the bugs mailing list