[Dovecot] Rewriting username at login

Steffen Kaiser skdovecot at smail.inf.fh-brs.de
Fri Nov 13 16:36:18 EET 2009


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On Fri, 13 Nov 2009, Gerry Demaret wrote:

> All users are currently stored in a MySQL database for Cyrus, but this
> will be changed to a Dovecot-LDAP combination.
>
> Is this possible? How could I achieve this?

Check out the userdb section of the Wiki 
http://wiki.dovecot.org/UserDatabase, you can return a new "uid".
So make sure both spelling variants match the same entry (both for passdb 
and userdb) and override "uid" in userdb.

Regards,

- -- 
Steffen Kaiser
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (GNU/Linux)

iQEVAwUBSv1u5XWSIuGy1ktrAQLYBwf/eON1UU0tTv+j/u6SAHKRz7V2Jv7VIU+F
fKNIiyzwo19ipXTX+vVkceRdFEPrS8A6o/53U6XH7DKB9qdk0FKnp8xWtjQAFxXt
MJbnYkvrVNSyBY0Az0m78F0PPRaiplLzNVbD2fTs5khWIuO7kNi5n5QVXRjGE4K5
TORTVVbCBRuueAsZ/KZB/tKIypdAnoY5DYVra6L1ivR6M4fX4gfO1X76GC9/N/7/
lHKBfF05fZfDWkJ13YrRZMu9nYdzMhlwkc6x+nbiCwGUIBuw9IEr7dQuzZxahXlW
37+sX6Xb4/+JMwPrNU9koGhxEaDVKCeP3vCQtuc4vdys2PLIzxmEYw==
=++fT
-----END PGP SIGNATURE-----


More information about the dovecot mailing list