[Tickets #3433] RESOLVED: Limit Messages Fetched From IMAP
    bugs@bugs.horde.org 
    bugs at bugs.horde.org
       
    Wed Feb  8 09:43:12 PST 2006
    
    
  
DO NOT REPLY TO THIS MESSAGE. THIS EMAIL ADDRESS IS NOT MONITORED.
Ticket URL: http://bugs.horde.org/ticket/?id=3433
-----------------------------------------------------------------------
 Ticket             | 3433
 Updated By         | Michael Slusarz <slusarz at mail.curecanti.org>
 Summary            | Limit Messages Fetched From IMAP
 Queue              | IMP
 Version            | 4.1-RC2
-State              | New
+State              | Rejected
 Priority           | 1. Low
 Type               | Enhancement
 Owners             | 
-----------------------------------------------------------------------
Michael Slusarz <slusarz at mail.curecanti.org> (2006-02-08 09:43) wrote:
> 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.  
    
    
More information about the bugs
mailing list