is it safe to have two backed used for the same user?

Steffen Kaiser skdovecot at smail.inf.fh-brs.de
Tue Jun 23 14:34:46 UTC 2015


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

On Tue, 23 Jun 2015, lejeczek wrote:

> I wonder if it is safe (and wise) to have two passw-user databases for the 
> same one user.
> I'm thinking,
> mail to me via pam
> mail to me at this.domain via ldap

the first passdb wins. No problem.

> whole Maildir would be essentially the same one storage target, I see 
> permissions have to be mangled, available to write for both vmail and actual 
> uid.

again, the first userdb wins. Your users can auth agains pam, but the data 
may come from LDAP or a static userdb.
If you auth agains PAM successfully, does _not_ mean that you 
automatically use system users or Dovecot changes uids or something. All 
such information come from the userdb. If both users match the same userdb 
entry, they appear the same for Dovecot.

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

iQEVAwUBVYluhnz1H7kL/d9rAQI4gAgAy1K6C96H/L26Jb67AElPtOZ/2YUZQdqA
IZQP6aD+WVEfy1brpwEkOs4EOYBRNGTN3ifTQSyKu5lcDffFIOEloXSc3PLuqR/e
oc0l/g9qBzuCdITPHvDer+37pPn/lg70Ye/Aqc8EIiuNNNtt1EXnF0TMZYOLv/Uj
SgWlCkW31iJBq83DJ/hRDQQO1CvDA/3pPl33vLRBXepICZXiPJhvMkzeqsy2wAEL
VanIWuPRVhautE23ko7u/hjzIDKHEkFmXQgDQxVR9/bT5D0BGW6Ma+13EIGnnKZe
/8aYu3l+TTzIcnyK3rXdW2tME0nqhGAg5bX/FgnBJ5uHGldg63zDjg==
=QLx9
-----END PGP SIGNATURE-----


More information about the dovecot mailing list