auth_username_format

Kevin Shell kshell at gmx.com
Mo Aug 10 04:18:59 CEST 2020


Hello dovecot list.

I have one domain and want to setup dovecot to
delivers both to both virtual users and system users on the same domain.
So I enable two userdb/passdb, driver = passwd and driver = passwd-file,
with driver = passwd-file has priority over driver = passwd.

What I want is as follow:

  A at mydomain delivers to /home/A/Maildir
if A at mydomain is not in passwd-file.

  B at mydomain delivers to /srv/%d/%n/Maildir
if B at mydomain is in passwd-file.

The problem is how I set auth_username_format = %Ln for A
and auth_username_format = %Lu for B?

In auth-system.conf.ext
userdb {
 ...
 auth_username_format = %Ln
 ...
}
will not work

--
kevin


Mehr Informationen über die Mailingliste Dovecot