[imp] Re: IMP authentication and email access very slow

Jan Schneider jan at horde.org
Mon Feb 14 02:33:50 PST 2005


Zitat von Gavin Kelman <gavin.kelman at uk.lionbioscience.com>:

> Craig White wrote:
>> On Fri, 2005-02-11 at 17:13 +0000, Gavin Kelman wrote:
>>> I've started to do some tests against our IMAP server. Telnetting to it
>>> on port 143 and doing '. login username password' is fine, but then
>>> '. list "" *' takes anything upto 30 seconds. Thus, leading me to
>>> believe it's our Cyrus IMAP server at fault. Squirrelmail somehow brings
>>> up the folder list in no time at all.
>>>
>>> Getting a bit off topic now, but does anyone know why Cyrus would take
>>> _SUCH_ a long to return a folder list with the '. list "" *' command?
>>
>> ----
>> It would seem to me - and I am not all knowledgable on these matters,
>> that in a way, you have answered your own question. You can't expect IMP
>> to return the folder list faster than a direct telnet to the imap server
>> would unless it somehow kept a cache of the folder list and provided you
>> the list of mailboxes before it received them from your imap server.
>
> Absolutely. It seems (at a guess) that IMP (PHP/C-Client) is using the
> list command rather than lsub, hence it takes a long time. If I telnet
> to our Cyrus IMAP server and do '. lsub "" *', I get a list of
> subscribed folders back straight away. I think I'll have to look into
> how to make IMP and it's underlying tools use lsub instead of list...

By setting IMP to use folder subscriptions in your preferences.

Jan.

-- 
Do you need professional PHP or Horde consulting?
http://horde.org/consulting/


More information about the imp mailing list