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

Jan Schneider jan at horde.org
Mon Feb 14 03:19:12 PST 2005


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

> Jan Schneider wrote:
>> Zitat von Gavin Kelman <gavin.kelman at uk.lionbioscience.com>:
> >
>>>> 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.
>
> That's fixed it. Performance is now what I'd expect. Can I force that
> option as default for all accounts?

Read config/prefs.php.

Jan.

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


More information about the imp mailing list