[Dovecot] v1.2.rc5 imap ignores configuration reloads [SOLVED]

Timo Sirainen tss at iki.fi
Tue Jun 16 20:21:20 EEST 2009


On Tue, 2009-06-16 at 18:57 +0200, Pascal Volk wrote:
> On 06/14/2009 09:42 PM Pascal Volk wrote:
> > after changing the mail_executable in the imap {…} section I have to
> > restart Dovecot v1.2.rc5, otherwise the changes are not accepted.
> > …
> JFTR:
> The cause of this problem was a client, which has cached the
> IMAP capabilities. Timo, thanks for the feedback on IRC.

Still a bit wrong actually. :) It was Dovecot that was caching the
capabilities. The way it works is:

If you have mail_plugins enabled, Dovecot needs to know what IMAP
capabilities the plugins add. So at startup Dovecot executes imap
process as "dump-capability" user, which loads the plugins and tells
tehe capabilities to master process. This capability string is currently
saved permanently until a restart. If you changed mail_plugins and HUPed
Dovecot, the capabilities still wouldn't change. I guess this could be
thought of as a bug, but it's way too much work to fix. I'm still hoping
that none of this will be necessary with v2.0.

-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 197 bytes
Desc: This is a digitally signed message part
Url : http://dovecot.org/pipermail/dovecot/attachments/20090616/5524da2f/attachment.bin 


More information about the dovecot mailing list