Summary | No headers when viewing unread message |
Queue | IMP |
Queue Version | 6.0.3 |
Type | Bug |
State | Not A Bug |
Priority | 1. Low |
Owners | slusarz (at) horde (dot) org |
Requester | azurit (at) pobox (dot) sk |
Created | 01/10/2013 (4571 days ago) |
Due | |
Updated | 01/22/2013 (4559 days ago) |
Assigned | 01/21/2013 (4560 days ago) |
Resolved | 01/21/2013 (4560 days ago) |
Github Issue Link | |
Github Pull Request | |
Milestone | |
Patch | No |
http://sourceforge.net/mailarchive/message.php?msg_id=30382228
didn't resolve the problem - headers are still not displayed :(
commit c249bac9500df86d05e5789c53a38dde9dd2da4c
Author: Michael M Slusarz <slusarz@horde.org>
Date: Mon Jan 21 14:57:01 2013 -0700
[mms] Ignore fetch data returned from an UID FETCH command if it
doesn't include UID information (
Bug #11946)..../Imap_Client/lib/Horde/Imap/Client/Socket.php | 12 +++++++++++-
framework/Imap_Client/package.xml | 2 ++
2 files changed, 13 insertions(+), 1 deletions(-)
http://git.horde.org/horde-git/-/commit/c249bac9500df86d05e5789c53a38dde9dd2da4c
of broken data (UID fetch results that do not contain UID information).
Courier IMAP version 4.8.0-3 (Debian 6.0.6)
C: 7 UID FETCH 9 (BODY[HEADER])
So now it is verified - your IMAP server is badly broken. It is
explicitly breaking the IMAP RFC spec. I don't see any need to
workaround this, because it is blatantly broken (you haven't provided
your software/version).
C: 7 UID FETCH 9 (BODY[HEADER])
Assigned to Michael Slusarz
State ⇒ Assigned
IMAP log but I am guessing that this response:
S: * 1 FETCH (UID 9 BODY[HEADER] {1409}
S: <<<FULL HEADERS>>>
S: )
S: * 1 FETCH (FLAGS (\Seen))
Was caused by this command:
a UID FETCH 9 (BODY[HEADER])
A correct response would look like:
S: * 1 FETCH (UID 9 BODY[HEADER] {1409}
S: <<<FULL HEADERS>>>
S: ) FLAGS (\Seen))
--or--
S: * 1 FETCH (UID 9 BODY[HEADER] {1409}
S: <<<FULL HEADERS>>>
S: )
S: * 1 FETCH (UID 9 FLAGS (\Seen))
So the problem is that we are asking for UID fetch results, but the
server is throwing in some sequence-only results instead. And this is
not allowed if, in fact, this is called from a UID FETCH command.
From RFC 3501 [6.8]:
However, server implementations MUST implicitly
include the UID message data item as part of any FETCH response
caused by a UID command, regardless of whether a UID was specified
as a message data item to the FETCH.
Can you verify the command that caused these responses and the IMAP
software version used?
communication yesterday. Thnks.
error.log
-----------
Part of IMAP communication when no headers are displayed
ok.log
--------
Part of IMAP communication where everything is ok.
As you can see, additional line 'S: * 1 FETCH (FLAGS (\Seen))' is in
error.log. I'm using Courier IMAP version 4.8.0-3 (Debian 6.0.6).
'Horde_Imap_Client_Data_Fetch Object' right after the section with
headers. IMP is probably considering it as a section with headers
and, cos it's empty, is displaying no headers.
potentially broken IMAP server. You will need to post the IMAP logs
of a successful view vs. an unsuccesful view.
To further debug this issue, we need details of the IMP -> IMAP/POP
communication.
To enable debugging, see instructions contained in
imp/config/backends.php (the 'debug' config parameter).
Debugging should not be enabled on a production server, Attach/post
only the portion of the log that directly deals with the problem
reported (it may be simplest to clear the log file and then perform
the event that causes the error).
'Horde_Imap_Client_Data_Fetch Object' right after the section with
headers. IMP is probably considering it as a section with headers and,
cos it's empty, is displaying no headers.
returning empty headers when parameter $seen is true and when opening
unseen message. I'm attaching two files (i censored headers and
message text from both of them), it is the output from file
Imap/Client/Base.php function fetch():
seen-message-headers-ok.txt
---
Already seen message, headers were displayed ok.
unseen-message-missing-headers.txt
---
Unseen message, all headers were missing as i describe the problem earlier.
opening _unred_ message, no subject is displayed.
header data is becoming invalid on your system.
opening _unred_ message, no subject is displayed.
related to my configuration.
servers (but they have almost the same SW). I tried Firefox 18 and
Chrome 24. Will it help if i create you an account so you can see it
by yourself?
New Attachment: no_headers.jpg
- login into dynamic view
- click (at the right) Other - Hide preview
- send yourself a new email
- double click on new email
See attachment. Everything is showing ok after reload or when
displaying already read message. Always reproduceable for me.
Priority ⇒ 1. Low
State ⇒ Unconfirmed
Patch ⇒ No
Milestone ⇒
Queue ⇒ IMP
Type ⇒ Bug
Summary ⇒ No headers when viewing unread message
open any _new_ and _unread_ message (double click on it). There will
be no headers displayed (no subject, no sender etc.).