On May 27, 2009, at 2:22 AM, reg9009 wrote:
In my opinion, dovecot should give capabilities, regardless if
before or after login sequence. What would be the problem of it or
why would it be intented to be removed. It would actually just break
with a rather common client and change behaviour to all previous
versions.
The problem is that the capabilities depend on what plugins are
loaded. It's also possible to have different plugins loaded for
different users, so the capability reply might depend on the user
logging in. So in such setups there's no way to give the correct
capability before the username is known. Even without that problem the
way to get the list of capabilities from plugins is pretty horrible
code and if there's a way to get rid of it I'd like that.