25 Jan
2011
25 Jan
'11
12:23 a.m.
On 24.1.2011, at 23.30, Vlad Mazek wrote:
Is there any way to create a userdb and passworddb so that users can login with either username or email address and have dovecot locate their maildir without an issue? .. userdb static { args = uid=virtual gid=virtual home=/var/mail/%d/%u } passdb passwd-file { args = /etc/dovecot/passwd }
user@domain.com:{HMAC-MD5}1b05f379...
username:pass:...:user=user@domain.com
Where the last field is the "extra field" http://wiki.dovecot.org/AuthDatabase/PasswdFile
This changes the username to user@domain.com.