6 Jul
2005
6 Jul
'05
11 p.m.
On Wed, 2005-07-06 at 09:52 +0200, nodata wrote:
Hello. We're using dovecot with mysql for authentication, with postfixadmin for the admin web interface.
We are moving users from passwd file usernames to email@domain style logins.
Is there a better way to allow both sets of usernames (old and new) to work with dovecot than by adding extra copies of rows to the mailboxes table and changing the username? i.e. does dovecot support some kind of username mapping or aliasing?
You could move all old users to user@some.domain usernames, and set auth_default_realm = some.domain. Then if the user doesn't give the domain part, the default realm is appended to username.