On Mon, 20 Jun 2016 22:03:44 +0200 Patrick Ben Koetter <p@sys4.de> wrote:
Greetings,
I'm trying to create a configuration that leaves every config file deployed by an install process or paket management software untouched. The goal is to put every configuration required into /etc/dovecot/local.conf.
I've come quite far, but I fail to disable pam as passdb service in local.conf. What I get if I run doveconf -n is this section:
passdb { driver = pam }
It is in there, because 10-auth.conf includes it:
!include auth-system.conf.ext
These actions are not an option at the moment:
- modify /etc/dovecot/conf.d/10-auth.conf and comment/remove the !include-statement
- create an /etc/dovecot/dovecot.conf which would contain all options required and would not include any other *.conf files
Reading http://wiki2.dovecot.org/ConfigFile I see ways to include external files, but nothing to exclude a file in local.conf.
Knowing Timo I would expect there is a way to acchieve what I want. I just don't seem to find it.
What am I missing?
That 10-auth.conf is actually meant to be edited. most distros should have configuration file handling pretty much figured out by now. so none of your changes to those files should get lost. also configuration management comes to mind.
darix
-- openSUSE - SUSE Linux is my linux openSUSE is good for you www.opensuse.org