[Svn] RFC3501 [7.1] optional CAPABILITY response
alec at alec.pl
Mon May 19 08:43:39 CEST 2008
> On Sat, May 17, 2008 at 8:16 PM, Thomas Bruederli <roundcube at gmail.com> wrote:
>> Hello again
>> Since revision 1368, the separate call for capabilities is omitted, if the
>> welcome message of the IMAP server already contains CAPABILITY.
>> Unfortunately my IMAP server (uw-imap) does return a CAPABILITY section
>> right away but this is not complete and differs from the one that is
>> returned when issuing the CAPABILITY command.
>> I recognized this because I could not sort the message list anymore which
>> was possible with previous versions of RoundCube.
>> What do you think, should we revert this? I know that uw-imap probably does
>> not behave the way is should but this change breaks RoundCube seriously.
> How do you make sure that you got what you need with the second call
> if they can change during the session? I am wondering if this call
> could be cached across different sessions, a "per install cache". Once
> you have the complete set.
It could be nice, but may confuse if someone will install new feature
to imap server. Other possibility is to save capabilities in php session
and call for them only if weren't set before (in php session).
ps. my dovecot 1.0 isn't using that feature.
Aleksander 'A.L.E.C' Machniak http://alec.pl gg:2275252
LAN Management System Developer http://lms.org.pl
Roundcube Webmail Project Developer http://roundcube.net
More information about the Svn