On Tue, 2007-05-08 at 16:56 -0400, Charles Marcus wrote:
Hi Timo,
You were good enough to add the -n flag to the dovecot command to output the current *changed* config parameters (changed as compared to the defaults) of the running dovecot process. This makes it much easier to troubleshoot issues - thanks!
Another flag that postfix has is the -d flag (postconf -d). This one outputs all of the DEFAULTS of the current running postfix process/version.
I just used this today to compare what I had in my main.cf to what the defaults were - and for some reason I had uncommented a bunch of things that didn't need to be uncommented (because they were the default setting), resulting in a much larger output from the postconf -n command.
I know its not a big deal, but any chance of implementing this for dovecot? This would make it easy to keep the conf file (and the -n output) clean and neat.
Dovecot's -n actually works a bit differently. It lists only the settings that aren't the same as defaults, not the settings that have been uncommented in dovecot.conf. dovecot -d would be possible also, but I don't see it as that useful.