6.0.0-alpha12
6/12/25

[#3433] Limit Messages Fetched From IMAP
Summary Limit Messages Fetched From IMAP
Queue IMP
Queue Version 4.1-RC2
Type Enhancement
State Rejected
Priority 1. Low
Owners
Requester nick (at) cole2 (dot) com
Created 02/08/2006 (7064 days ago)
Due
Updated 02/09/2006 (7063 days ago)
Assigned
Resolved 02/08/2006 (7064 days ago)
Milestone
Patch No

History
02/09/2006 05:00:44 AM Michael Slusarz Comment #4 Reply to this comment
Anyway, I'm not sure the search terms I can choose from will help
here - what I really need is "received today" or maybe received in
the last 7 days.
Is this possible? If not, maybe an enhancement?
Yes, good point.  This is a good candidate for an enhancement request. 
  See Bug 3438.


02/08/2006 09:44:01 PM nick (at) cole2 (dot) com Comment #3 Reply to this comment
Thanks a lot for your thoughts.



I decided to follow your advice on setting up a virtual folder. One 
seems to have appeared anyway called "Virtual Inbox" which I haven't 
seen before. I've just upgraded to 4.1-RC2, so maybe this is a new 
feature? It seems to contain unread messages.



Anyway, I'm not sure the search terms I can choose from will help here 
- what I really need is "received today" or maybe received in the last 
7 days.

Is this possible? If not, maybe an enhancement? At the moment, I need 
to specify a particular date, which will work today, but presumably 
tomorrow will then contain yesterday's messages?
02/08/2006 05:43:12 PM Michael Slusarz Comment #2
State ⇒ Rejected
Reply to this comment
I suddenly had a thought today, and wondered if I could instead use
the Search interface to just retrieve messages in my inbox which were
received today - this is working beautifully.
If this works better for you, then you should save this search as a 
virtual folder and then set this virtual folder as your default folder 
in the preferences.
This has got me wondering about the way IMP interfaces with IMAP.
Could it be a configuration option to only fetch the last page-worth
of messages when accessing an IMAP folder?
No - because in order to determine the last page of messages in an 
IMAP folder, we have to know the order of *all* messages in the 
folder.  To do this requires a search command on the IMAP server - a 
potentially expensive call depending on your mailbox structure, your 
IMAP server speed, your IMAP server I/O speed, and the # of messages 
in the mailbox.  You've also enabled the 'sort_limit' configuration 
option, correct?
My assumption from the
above behaviour is that at present all headers are retrieved
This assumption would be incorrect.
but
(obviously) only a single page-worth of headers are displayed at any
one time. My suggestion might also be quite a performance improvement.
If you want performance improvement, try CVS and its full mailbox 
caching capabilities.
02/08/2006 05:28:40 PM nick (at) cole2 (dot) com Comment #1
State ⇒ New
Priority ⇒ 1. Low
Type ⇒ Enhancement
Summary ⇒ Limit Messages Fetched From IMAP
Queue ⇒ IMP
Reply to this comment
This is a bit vague, but a point worth raising I hope.



I use IMP as a way of accessing my personal IMAP account through a 
work firewall - all commercial webmail interfaces get blocked by 
surf-control or similar.



I have recently been having problems accessing my account - the 
browser session has been timing out, and I now think this is due to 
the number of messages in my inbox (around 700).



I suddenly had a thought today, and wondered if I could instead use 
the Search interface to just retrieve messages in my inbox which were 
received today - this is working beautifully.



This has got me wondering about the way IMP interfaces with IMAP. 
Could it be a configuration option to only fetch the last page-worth 
of messages when accessing an IMAP folder? My assumption from the 
above behaviour is that at present all headers are retrieved, but 
(obviously) only a single page-worth of headers are displayed at any 
one time. My suggestion might also be quite a performance improvement.

Saved Queries