6.0.0-beta1
7/25/25

[#5413] Can't see messages in inbox
Summary Can't see messages in inbox
Queue IMP
Queue Version HEAD
Type Bug
State No Feedback
Priority 1. Low
Owners
Requester divaesq (at) earthlink (dot) net
Created 05/30/2007 (6631 days ago)
Due
Updated 09/28/2007 (6510 days ago)
Assigned 07/10/2007 (6590 days ago)
Resolved 08/03/2007 (6566 days ago)
Github Issue Link
Github Pull Request
Milestone
Patch No

History
09/28/2007 08:53:56 PM lschwartz (at) quality-vectors (dot) com Comment #16 Reply to this comment
Horde Ver. 11.11.0

Summary:  Deteriorated behavior of Inbox in Sidebar on cPanel



Expected Result:  Inbox in Sidebar in cPanel displays all eMail 
accounts and provides "Administrator-level" access to eMail accounts



Actual Result:   Inbox in Sidebar in cPanel stopped displaying all 
eMail accounts and allows no access thereto.
08/03/2007 05:40:52 PM Chuck Hagenbuch State ⇒ No Feedback
 
07/13/2007 03:47:23 AM rbanffy (at) gmail (dot) com Comment #15 Reply to this comment
Thanks, Chuck. I will test your code - just have to set up some 
PHP-friendly space in the server in a way it runs off the same PHP we 
are running IMP - we are mostly a Plone house and the PHP apps are, 
mostly, infrastrucure (and that's why I really don't feel at ease with 
major upgrades on this box).



We will also need to wait for another mailbox to show the symptoms.



What seems to happen is that IMP gets the correct message count, but 
the mailbox shows as if it was empty. More interesting is the way the 
problem happens: seemingly a random mailbox starts showing the problem 
more or less at a random time. The only way to "cure" the mailbox is 
to recreate it (it is safe to copy the messages back to the new one).


07/10/2007 01:18:51 AM Chuck Hagenbuch Comment #14
State ⇒ Feedback
Reply to this comment
I very much doubt it's a connection problem, since you get a message count.



What happens if you plug a valid server string, username, and password 
into this script and run it? Do you get a list of valid message uids?



<?php



$imap = imap_open('{localhost:143/imap/notls}', 'user', 'pass');

var_dump(imap_sort($imap, SORTDATE, 0, SE_UID));



?>



If that doesn't show you a valid list, then there is no way that IMP 
can work on your system; you need to fix that first. If that gives you 
a valid list of uids you can try other imap calls and trace IMP's code 
from there.
07/09/2007 11:11:53 PM rbanffy (at) gmail Comment #13 Reply to this comment
Sorry for the delay. I got caught in other pressing problems.
I honestly have no way of knowing. I'm recommending the PHP upgrade
because yours is very old, but the really important part is upgrading
the imap extension, and probably the underlying c-client lib also.
I am weary of upgrading much in the server because everything is under 
Debian package management and this is a production machine, so, any 
breakage would be major breakage and clients that had experienced no 
problem up to now would kick and scream for very understandable reasons.
Could be. Anything in your imap server's logs?
No login problems with the server, as seen in logs. Could IMP log a 
connection problem? I can patch its code, if you point me where to do 
it.
07/09/2007 08:08:34 PM Chuck Hagenbuch State ⇒ No Feedback
 
06/27/2007 08:08:23 PM Chuck Hagenbuch Comment #12 Reply to this comment
Hmmm. Debian stable has 4.4.4, but the box is still under sarge. Will
4.4.4 do?
I honestly have no way of knowing. I'm recommending the PHP upgrade 
because yours is very old, but the really important part is upgrading 
the imap extension, and probably the underlying c-client lib also.
I have read somewhere that this could be caused by the imap client
library returning an empty mailbox on a connection problem instead of
raising an exception (or something like it). Could this be the
problem?
Could be. Anything in your imap server's logs?
06/27/2007 07:56:16 PM rbanffy (at) gmail (dot) com Comment #11 Reply to this comment
Hmmm. Debian stable has 4.4.4, but the box is still under sarge. Will 
4.4.4 do?



I have read somewhere that this could be caused by the imap client 
library returning an empty mailbox on a connection problem instead of 
raising an exception (or something like it). Could this be the problem?
The latest 4.4 release, which is currently 4.4.7. 5.2.x is fine also
if you want to make the jump.
06/27/2007 02:03:44 AM Chuck Hagenbuch Comment #10 Reply to this comment
The latest 4.4 release, which is currently 4.4.7. 5.2.x is fine also 
if you want to make the jump.
06/27/2007 01:45:35 AM rbanffy (at) gmail (dot) com Comment #9 Reply to this comment
Which version of PHP would you suggest?
06/27/2007 01:34:55 AM Chuck Hagenbuch Comment #8 Reply to this comment
The basic troubleshooting paths I see from here are: upgrade PHP (you 
are on a very, very old version with plenty of bugs and open security 
holes); recompile PHP with a different version of libc-client; try 
your IMP installation against another, different IMAP server.



I'm guessing you're going to need a different PHP/c-client combination 
regardless.
06/26/2007 10:05:44 PM rbanffy (at) gmail (dot) com Comment #7 Reply to this comment

[Show Quoted Text - 11 lines]
Sorry. PHP 4.3.10-20, Plesk 8.1.1
06/26/2007 10:04:11 PM Chuck Hagenbuch Comment #6 Reply to this comment
What php version, and what version of c-client are you using?
06/26/2007 09:55:50 PM rbanffy (at) gmail (dot) com Comment #5 Reply to this comment
1. What versions of Horde, IMP, PHP, etc. are you using.

2. What method are you using to serve maildir mailboxes via IMAP?
(what imap server, etc.).

3. Have you tried to use another imap client to test your server?
4.1.3, Courier and yes. The problem does not happen with Thunderbird.



And sorry for the dupe. I guessed (wrong) it would be more convenient for you.
06/26/2007 09:24:58 PM Chuck Hagenbuch Comment #4
State ⇒ Feedback
Reply to this comment
1. What versions of Horde, IMP, PHP, etc. are you using.



2. What method are you using to serve maildir mailboxes via IMAP? 
(what imap server, etc.).



3. Have you tried to use another imap client to test your server?
06/26/2007 09:22:41 PM Chuck Hagenbuch Deleted Original Message
 
06/26/2007 09:01:33 PM rbanffy (at) gmail (dot) com Comment #3
New Attachment: Picture 1.png
Reply to this comment
This a bug tracker, not a support forum. Please use the mailing list.
We are having the same problem.



There are messages in the Maildir (I can ls them) and the message 
count is correct but the screen says there are no messages in the 
inbox. It is not constant and we were unable to replicate it 
consistently, but eventually it affects all our clients that use 
webmail.



We can solve the problem copying the messages to another folder, 
recreating the maildrop and copying them back.



Please, reopen this bug, It's real.
05/30/2007 08:22:42 AM Jan Schneider Comment #2
State ⇒ Not A Bug
Priority ⇒ 1. Low
Reply to this comment
This a bug tracker, not a support forum. Please use the mailing list.
05/30/2007 05:41:51 AM divaesq (at) earthlink (dot) net Comment #1
Priority ⇒ 3. High
State ⇒ Unconfirmed
Queue ⇒ IMP
Summary ⇒ Can't see messages in inbox
Type ⇒ Bug
Reply to this comment
Hello - when I log into webmail, it says I have 571 message but I 
cannot see any of them - I know they are arriving in the inbox because 
after I sent a message to myself, and the inbox count changed from 570 
to 571, but they do not appear in the inbox.  Help ASAP is greatly 
appreciated.

Saved Queries