[Dovecot] Username mapping

Timo Sirainen tss at iki.fi
Wed Jul 6 23:00:45 EEST 2005


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 at 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 at 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.

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part
URL: <http://dovecot.org/pipermail/dovecot/attachments/20050706/24025f41/attachment-0001.bin>


More information about the dovecot mailing list