24 Aug
2007
24 Aug
'07
8:26 p.m.
On Mon, 2007-08-13 at 18:44 -0600, Mike Cisar wrote:
auth_username_format = %n
This setting drops the domain part permanently.
passdb passwd-file { args = /etc/vmail/shadow.%l } userdb passwd-file { args = /etc/vmail/passwd.%l }
Unfortunately you can't tell Dovecot to look up only username from these files without dropping the domain..
Perhaps it would be possible to set back the domain in these files though. You could try adding "user=user@domain" to extra fields in shadow. Or "userdb_user=user@domain" in passwd.