<!doctype html>
<html>
<head>
<meta charset="UTF-8">
</head>
<body>
<div>
<br>
</div>
<blockquote type="cite">
<div>
On 22 February 2018 at 19:03 "@lbutlr" <
<a href="mailto:kremels@kreme.com">kremels@kreme.com</a>> wrote:
</div>
<div>
<br>
</div>
<div>
<br>
</div>
<div>
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.
</div>
<div>
<br>
</div>
<div>
Since all the pam users login as 'user' and all the sql users login as
<a href="mailto:'user@example.com">'user@example.com</a>' is it possible to tell dovecot which method to check based on the username pattern?
</div>
<div>
<br>
</div>
<div>
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.
</div>
<div>
<br>
</div>
</blockquote>
<div>
You can use username_filter setting on passdb block since 2.2.30
</div>
<div class="io-ox-signature">
---
<br>Aki Tuomi
</div>
</body>
</html>