[Dovecot] v1.2.rc5 imap ignores configuration reloads
Hi Timo,
after changing the mail_executable in the imap {…} section I have to restart Dovecot v1.2.rc5, otherwise the changes are not accepted. With Dovecot v1.1.x (tested with v1.1.11 and v1.1.16) it's enough to send a SIGHUP to the dovecot process.
Regards, Pascal
The trapper recommends today: c01dcofe.0916521@localdomain.org
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.
Regards, Pascal
The trapper recommends today: cafebabe.0916718@localdomain.org
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.
participants (2)
-
Pascal Volk
-
Timo Sirainen