On Wed, 2009-05-27 at 09:03 +0200, reg9009 wrote:
The alternative that I'm thinking right now is that in the pre-login process Dovecot would only advertise those capabilities that are actually useful before login. Then after login it would send an updated capability reply to the client. The important question here is: Are there any clients that don't update their capabilities? So far I've tested Apple Mail, Thunderbird and Alpine and they're fine with it. The most important question here is do Outlook and OE update that list? (Or does OE use any extensions anyway? Outlook uses IDLE anyway.)
Ok. Your suggestion makes sense. If you would do it that way, I'm happy to test with different (Outlook, OE, etc.) clients to crosscheck if they've got a problem with that and, if not, honor new capabilities.
Implemented it now to v2.0: http://hg.dovecot.org/dovecot-2.0/rev/5f64f935e64b
You could test this by first verifying with older Dovecot or another IMAP server that Outlook/OE/etc. actually uses some IMAP extension, such as IDLE. Use e.g. Dovecot's rawlog or some traffic sniffer. After this try Dovecot v2.0 and see if it's still using the extension.