Welcome.
Is there a possibility to allow user from one certain domain on server to log to dovecot via short form - just username (not [email protected]?)
We have to achieve such a setting for one domain on our server - i.e. xyz.com, to allow login [email protected] by webmail and directly by email client also using login 'user2'
Is this possible?
I know that system users could log to their default account using their login, but i want to achieve this also for other accounts.
We're trying to edit below section in (DA/dovecot 2.1.13) /etc/dovecot.conf
passdb {
args = username_format=%n /etc/virtual/%d/passwd
driver = passwd-file
}
args = username_format=%u /etc/virtual/xyz.com/passwd
but it looks it doesn't work.
So we'd like to achive ability that users from domain xyz.com could log only with their username, (it will be also ok if all other e-mail accounts on server should use full login ([email protected]) but also setting for all accounts to use only username will be ok.
Any help in this matter will be much appreciated.
Is there a possibility to allow user from one certain domain on server to log to dovecot via short form - just username (not [email protected]?)
We have to achieve such a setting for one domain on our server - i.e. xyz.com, to allow login [email protected] by webmail and directly by email client also using login 'user2'
Is this possible?
I know that system users could log to their default account using their login, but i want to achieve this also for other accounts.
We're trying to edit below section in (DA/dovecot 2.1.13) /etc/dovecot.conf
passdb {
args = username_format=%n /etc/virtual/%d/passwd
driver = passwd-file
}
args = username_format=%u /etc/virtual/xyz.com/passwd
but it looks it doesn't work.
So we'd like to achive ability that users from domain xyz.com could log only with their username, (it will be also ok if all other e-mail accounts on server should use full login ([email protected]) but also setting for all accounts to use only username will be ok.
Any help in this matter will be much appreciated.