[Dovecot] Hybrid of linux user accounts and virtual user accounts configuration

Steffen Kaiser skdovecot at smail.inf.fh-brs.de
Fri Feb 14 08:30:05 UTC 2014


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

On Thu, 13 Feb 2014, Derek Winterstien wrote:

> and dovecot retrieves it for pop and imap users in the virtual user database. 
> Just one more thing though, it is understood that dovecot is going to ask pam 
> to check first for a unix account, which will fail, then dovecot tries the 
> virtual user text file, and succeeds when the user is located.  However, the 
> pam error generated in the secure log is ugly.
>
> auth: pam_succeed_if(dovecot:auth): error retrieving information about user 
> foo
>
> I would like to suppress this error, only when dovecot succeeds from the 
> virtual user text file.  However, still report the pam error when no valid 
> user exists in either.  Is this possible?

change the order of passdb {} sections.

- -- 
Steffen Kaiser
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.11 (GNU/Linux)

iQEVAwUBUv3UDXD1/YhP6VMHAQK3uQf+N/Px+8tpuu4KX7kv/ND45h75zCN0/2Vq
28eAdKFeSAsKI0Swq6hWFjoK9+oDB8mGo2sXtsIZwHT54V2cTGcZqxZfptBTvJSF
URE9kO7togLgwnzKrnwIfmFHwZkFb/vvphHWYe+/E5v8m8J6rsoGrRCB2+mk47H8
rmvYd2zd7CJmOsesRqOqEhzktDBATrYjJsJnkZ9ILW487M7Br6yZA62w0QqzkL59
nvhYcrP0SQlqr6DBDnv6zrp7Z1v6BgwP5Tsidt/Qi21sTO3W9tFcSbtJ7C6u+cP9
fa/mODX3SD9WJRY23rd7b4awdCQdEjJn7RyL0hKiG4cOH7Xn7PLNOg==
=pmmi
-----END PGP SIGNATURE-----


More information about the dovecot mailing list