[Dovecot] Troubleshooting enhancement request...

Timo Sirainen tss at iki.fi
Wed May 9 11:56:49 EEST 2007


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.

-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part
Url : http://dovecot.org/pipermail/dovecot/attachments/20070509/0e92ad52/attachment.pgp 


More information about the dovecot mailing list