Authenticating pam and and sql

@lbutlr kremels at kreme.com
Thu Feb 22 19:03:35 EET 2018


When a sql user logs in, dovecot always tries pam first (used for the local users with home directories) which generates a login failure in the log, before trying sql (virtual users) and allowing the user to login.

Since all the pam users login as 'user' and all the sql users login as 'user at example.com' is it possible to tell dovecot which method to check based on the username pattern?

It's not a big deal, but these errors show up when I am checking my maillog for problems, and I can't really exclude them since I do want to see actual login failures.




More information about the dovecot mailing list