Hello dovecot list. I have multiple passdb/userdb, some use %Ln some use %Lu. How to make auth_username_format effective only within passdb/userdb?
Sami Ketola
2020-Sep-30 14:39 UTC
auth_username_format effective only within passdb/userdb
> On 30. Sep 2020, at 17.08, Bob <rand.pie at rambler.ru> wrote: > > Hello dovecot list. > > I have multiple passdb/userdb, some use %Ln some use %Lu. > How to make auth_username_format effective only within passdb/userdb?passdb { driver = passwd-file args = username_format=%Ln /etc/dovecot/dovecot-passwd } Sami
Sami Ketola <sami.ketola at dovecot.fi> writes:>> On 30. Sep 2020, at 17.08, Bob <rand.pie at rambler.ru> wrote: >> >> Hello dovecot list. >> >> I have multiple passdb/userdb, some use %Ln some use %Lu. >> How to make auth_username_format effective only within passdb/userdb? > > > passdb { > driver = passwd-file > args = username_format=%Ln /etc/dovecot/dovecot-passwd > } > > SamiThanks for the quick reply. :-) I have one backend using the driver passwd-file one fallback backend using the passwd driver. Does the passwd driver support username_format?