[Tickets #1819] IMP message indexes problems

bugs@bugs.horde.org bugs at bugs.horde.org
Tue May 3 13:54:02 PDT 2005


Ticket URL: http://bugs.horde.org/ticket/?id=1819
 Ticket             | 1819
 Updated By         | kevin_myer at iu13.org
 Summary            | IMP message indexes problems
 Queue              | IMP
 Version            | 4.0.3
 State              | Feedback
 Priority           | 2. Medium
 Type               | Bug
 Owners             | 

kevin_myer at iu13.org (2005-05-03 13:54) wrote:

I moved a test installation to a new server, which is running RHEL 4 (PHP
4.3.9 and c-client 2002e; previous was PHP 4.3.2 and c-client 2002d).

The problems follow.  Here's another case that I can reproduce on a reliable

Go into a folder with a couple hundred messages of mail.  Start reading mail
and deleting it as you go onto the next message.  At some point, the overall
message count doesn't decrement by one, and you jump up on place in the

Specific example:

Reading administrative logs in admin folder (260 unread messages, 1 read

In message list screen - reads 1-100 of 260 (and message 1 is read, all
others unread).
Begin by reading message 2.  Delete it,  Displays "2 of 259".  You're now on
the original message 3, which is now message 2, Delete it.  Display "2 of
258".  Repeat this for awhile.  At some random (or not, I'm sure there's 
pattern but I can't put my finger on it), the "2 of X" jumps to "3 of Y",
where Y is the same as the previous X (i.e if you saw 2 of 204, deleted a
message, the next message said 3 of 204).  Interestingly enough, immediately
after this happens, if you go back to the message list in the folder, you
see the total # of messages to be only 203, which is what it should have

So I'm left scratching my head - bug in Cyrus, bug in c-client, bug in
Horde/IMP?  I was doing vardumps of the imp_mailbox object, but that gets
painful to scroll through if you have thousands of messages in a folder.

No IMAP proxy in place.  There are more recent c-client releases (2004a-d)
releases - I"m curious what versions the developers may be using, as well as
what Cyrus IMAP version you are using Jan, since you've never had this
problem.  Since I'm running this on a test server, I'm inclined to run PHP
and c-client up to the latest revisions, to see if I can elminate or finger
them as the cause of this issue.  Can't really do anything about the mail
server at this point.

More information about the bugs mailing list