Disabling passdb pam in local.conf

Steffen Kaiser skdovecot at smail.inf.fh-brs.de
Tue Jun 21 12:54:11 UTC 2016


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On Tue, 21 Jun 2016, Ralf Hildebrandt wrote:

>> 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 seems that there is no way of saying something like:
>
> remove passdb
>
> Adding new passdb entries is no problem, but removing existing ones is
> hard.

I thought

passwd 1 {
  driver = none
}

would do the trick, but you get an error about that this passdb is already 
defined.

passdb 0 {
passdb 2 {

is fine, because they do not already exist.

- -- 
Steffen Kaiser
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1

iQEVAwUBV2k483z1H7kL/d9rAQKAkQgApe4vem0lhSEcsgNK8W0jJjROC/z7N5Ij
sNBdWolbzwP7I1cnNMP6cs7xHwneM7khmRh6PzNScHBoF6YpMkAb7MLWeXKpWLpN
AafN9NOM6wBjr1Stzb4DzuztuKsFE806md96MgrSQKqfNKPNUDwlNpDW8yIRo07E
kOi3CBRzur+ZVkUFXhtgtcejTpoo441WNUMbL9oFRatMv+lPVddLHMuNWINWoz2N
kVtYdzN+hlTUHuI2wlWIs1J0YqiAVXbbsEHT8LExp9d30eMxbNiQDqX9hQlUSmax
2tTKPuiLZ8VRZytQcMfAHX0DmNfDga8/zvWrt9SRaLn5d9Qc4rGdPA==
=5tei
-----END PGP SIGNATURE-----


More information about the dovecot mailing list