6.0.0-beta1
▾
Tasks
New Task
Search
Photos
Wiki
▾
Tickets
New Ticket
Search
dev.horde.org
Toggle Alerts Log
Help
11/5/25
H
istory
A
ttachments
C
omment
W
atch
Download
Comment on [#5657] UID ( X-UID ) > 0x80000000 misinterpreted unsigned numbers
*
Your Email Address
*
Spam protection
Enter the letters below:
.__ .___ __..__ . [__)[__ (__ [__) | | \| .__)| \\__|
Comment
> Is there a way Horde could test for this problem, and report an error > 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.)
Attachment
Watch this ticket
N
ew Ticket
M
y Tickets
S
earch
Q
uery Builder
R
eports
Saved Queries
Open Bugs
Bugs waiting for Feedback
Open Bugs in Releases
Open Enhancements
Enhancements waiting for Feedback
Bugs with Patches
Enhancements with Patches
Release Showstoppers
Stalled Tickets
New Tickets
Horde 5 Showstoppers