Same setting works for userdb as well.

Aki

On July 12, 2021 6:36:36 PM UTC, Marc <Marc@f1-outsourcing.eu> wrote:
I saw that the userdb section also has this option, you meant that? Or specifically the passdb? Because that has my pam stuff.
Sent: Monday, 12 July 2021 5:38 PM
To: dovecot@dovecot.org; Marc; dovecot@dovecot.org
Subject: Re: getting rid of the passwd file unknown user messages

On July 12, 2021 2:41:54 PM UTC, Marc <Marc@f1-outsourcing.eu> wrote:
I have configured a userdb file, so I can test with some accounts and
override settings. But it is a bit annoying getting unkown user
messages for the majority of accounts not in this userdb. Is there a
way to skip this reporting?

dovecot: auth: passwd-file(aaaaaaaaaaaa,X.X.X.X,<lGapvOzGS5tNPz8/>):
unknown user

put auth_verbose=no to the passdb block.This is overriden if you have auth_debug=yes.

See