6.0.0-beta1
▾
Tasks
New Task
Search
Photos
Wiki
▾
Tickets
New Ticket
Search
dev.horde.org
Toggle Alerts Log
Help
7/25/25
H
istory
A
ttachments
C
omment
W
atch
Download
Comment on [#7789] too much IMAP traffic with IMP 4
*
Your Email Address
*
Spam protection
Enter the letters below:
.__ .__ .__ . ..__. [ __| \[ __| |[__] [_./|__/[_./|/\|| |
Comment
> I have IMP 3 and IMP 4 both running on the same server -- same > hardware, same operating system, same apache, same php. With IMP 3, > listing a mailbox takes less than 1 second. With IMP 4 it takes 5 > seconds. > > > > So, I used tcpdump to trace the IMAP traffic, and found IMP 4 is > doing far too much work. > > > > My test mailbox has about 1000 messages, IMP is configured to display > 100 per page. > > > > With this setup, IMP 3 does 6 IMAP FETCHes, IMP 4 does 305 IMAP > FETCHes. In addition, it looks like IMP 4 is fetching the same group > of messages (106:125) over and over again. > > > > IMP 3 IMAP Trace: > > > > LOGIN ... > > CAPABILITY > > SELECT bulk > > LSUB "" * > > LIST "" INBOX > > FETCH 1:20 (UID ENVELOPE BODY PEEK[HEADER.FIELDS (Newsgroups > Content-MD5 Content-Disposition Content-Language Content-Location > Followup-To References)] INTERNALDATE RFC822 SIZE FLAGS) > > FETCH 21:1299 (UID INTERNALDATE RFC822 SIZE FLAGS) > > SEARCH UNSEEN > > FETCH 21:40 ... > > FETCH 41,42:61 > > FETCH 62,63:82 > > FETCH 83,84:103 > > LOGOUT > > > > > > IMP 4 IMAP Trace: > > > > LOGIN ... > > CAPABILITY > > STATUS bulk ((MESSAGES.RECENT.UNSEEN.UIDNEXT.UIDVALIDITY) > > EXAMINE bulk > > UID FETCH 1 UID > > UID FETCH 2 UID > > UID FETCH 3 UID > > ... > > UID FETCH 98 UID > > UID FETCH 99 UID > > UID FETCH 100 UID > > FETCH.1,2:21.(ENVELOPE.BODY.PEEK[HEADER.FIELDS.(Newsgroups.Content-MD5.Content-Disposition.Content-Language.Content-Location.Followup-To.References)].INTERNALDATE.RFC822.SIZE.FLAGS) > > FETCH 22,23:42 ... > > FETCH 43,44:63 ... > > FETCH 64,65:84 ... > > FETCH 85,86:105 ... > > GETQUOTAROOT bulk > > FETCH 1,106:125 (BODYSTRUCTURE.FLAGS) > > FETCH 1 BODY PEEK[HEADER] > > FETCH 2,106:125 (BODYSTRUCTURE.FLAGS) > > FETCH 2 BODY PEEK[HEADER] > > FETCH 3,106:125 (BODYSTRUCTURE.FLAGS) > > FETCH 3 BODY PEEK[HEADER] > > ... > > FETCH 99,106:125 (BODYSTRUCTURE.FLAGS) > > FETCH 99 BODY PEEK[HEADER] > > FETCH 100,106:125 (BODYSTRUCTURE.FLAGS) > > FETCH 100 BODY PEEK[HEADER] > > LOGOUT > > > >
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