Summary | UID ( X-UID ) > 0x80000000 misinterpreted unsigned numbers |
Queue | IMP |
Queue Version | 4.1.4 |
Type | Bug |
State | Not A Bug |
Priority | 2. Medium |
Owners | |
Requester | ivan.dolezal (at) vsb (dot) cz |
Created | 08/22/2007 (6548 days ago) |
Due | |
Updated | 11/21/2007 (6457 days ago) |
Assigned | 08/22/2007 (6548 days ago) |
Resolved | 08/22/2007 (6548 days ago) |
Github Issue Link | |
Github Pull Request | |
Milestone | |
Patch | No |
to the user if PHP misbehaves? The current behavior is for messages
with a UID above 2^31 to just not show up (but the number of unread
messages displayed next to the folder name is correct).
causing issues in the c-client module - well before we can do anything
about it.
to the user if PHP misbehaves? The current behavior is for messages
with a UID above 2^31 to just not show up (but the number of unread
messages displayed next to the folder name is correct).
Mozilla Thunderbird and Apple Mail both have the same bug. Mozilla is
working on fixing it (bug 223942). I reported it to Apple as bug
5608502; they haven't responded yet.
(For the record: the reason you're likely to encounter this bug is,
your IMAP server stores mail folders in mbox format, using an X-UID
header to store the UID, and your MTA is not set up to strip X-UID
headers from incoming messages, so when a spammer sends you a message
with a fake X-UID header, the IMAP server has to trust it because it
doesn't know better. This is a huge problem even if this signed
integer bug is fixed, because someone could send you a message with an
"X-UID: 4294967295" header; if you're using the mbox format, you MUST
set your MTA to strip these headers on incoming messages: Status,
X-Status, X-Keywords, X-UID, X-IMAP, X-IMAPbase.)
State ⇒ Not A Bug
IMP. It'd have to be fixed in the PHP imap extension.
the uw-imap lists.
State ⇒ Feedback
Priority ⇒ 2. Medium
IMP. It'd have to be fixed in the PHP imap extension.
Priority ⇒ 3. High
State ⇒ Unconfirmed
New Attachment: negative_x-uid_dump.txt
Queue ⇒ IMP
Summary ⇒ UID ( X-UID ) > 0x80000000 misinterpreted unsigned numbers
Type ⇒ Bug
integers, producing requests that can not be fulfilled by an IMAP
server, resulting in fatal error reported to a user as "Requested
message not found." when trying to open this mail.
Enclosed you will find a tcpdump of such a conversation between IMP
and UW IMAP.
See also
http://mailman1.u.washington.edu/pipermail/imap-use/2007-March/000200.html ,
but PITA of me and the vice dean is not the spam case but regular mail.