config best practice

Charles Marcus CMarcus at Media-Brokers.com
Thu Jun 19 13:55:29 UTC 2014


On 6/19/2014 4:54 AM, Jiri Bourek <bourek at thinline.cz> wrote:
> For example, let's say you have single config file and only single 
> line differs from default configuration - say "auth_verbose". When you 
> upgrade, the packaging system tells you "the configuration was 
> changed" and you need to either manually figure out all changes and 
> apply them to your configuration or lose your own configuration 
> changes (or attempt a 3-way merge) 

I prefer putting all of mine in one file in conf.d named 99-myconfig.conf.

This causes this file to be loaded last, so it overwrites any settings 
defined in the other config files.


Charles



More information about the dovecot mailing list