Hi,
From the documentation of the director_username_hash core setting ( https://doc.dovecot.org/settings/core/#core_setting-director_username_hash ), it seems that it is possible to use some variables for the hashing of the username from a proxy\director :
.
Variables that can be used for this setting:
- Global variables
- %{user}, %u \ Username (username@domain)
- %{username}, %n \ Username
- %{domain}, %d \ Domain
.
If i need to use in the hash calculation some variables that are not global, like domain_first \ orig_username authentication_variables ( https://doc.dovecot.org/configuration_manual/config_file/config_variables/#a uthentication-variables ), are those be parsed\read from the director_hash_username settings ?
Or the only variables allowed to be used are :
- %{user}, %u \ Username (username@domain)
- %{username}, %n \ Username
- %{domain}, %d \ Domain
- Global: %%
- Global: env:<name>
- Global: uid
- Global: gid
- Global: pid
- Global: hostname
In order to see if these variables are read\parsed during the hashing, somebody know if there is a way to log their value in the dovecot log ?
Thanks
Stefano