[Dovecot] Login with firstname.lastname instead of loginname - WORKING

Thomas Leuxner tlx at leuxner.net
Wed Jan 5 10:58:01 EET 2011


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

On Wed, Jan 05, 2011 at 09:51:19AM +0100, Ralf Hildebrandt wrote:
> But now I'm encountering problems with users writing
> 
> Firstname.Lastname at charite.de
> instead of
> firstname.lastname at charite.de
> (capitalized first letters)
> 
> How can I "normalize" the usernames by lowercasing them?
> 
> The coolest solution would be to strip realms AND force lowercasing of
> usernames in one pass

Not tested, but hunch tells me something like:

 args = username_format=%Ln

should work.

http://wiki2.dovecot.org/Variables

Thomas
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.10 (GNU/Linux)

iEYEARECAAYFAk0kMpkACgkQ+meF/S97aXi84gCeIk7Jg7HDZFCO0i6sdNBTDiWg
2fsAnA7gQID7JvOdiu21YSkxK3tr1/Hk
=0/01
-----END PGP SIGNATURE-----


More information about the dovecot mailing list