3 years ago (!) I aksed about this and finally I implemented it today:
>> # NEW
>> passdb {
>> driver = passwd
>> #
>> [email protected]:password:uid:gid:(gecos):home:(shell):user=realloginname
>> args = /usr/local/etc/dovecot.login_via_email
>> }
>If you're only using it as a passdb, you don't need the uid/gid/home. So
>an example field would be:
>
>[email protected]:password::::::user=realloginname
But now I'm encountering problems with users writing
[email protected]
instead of
[email protected]
(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
--
Ralf Hildebrandt
Geschäftsbereich IT | Abteilung Netzwerk
Charité - Universitätsmedizin Berlin
Campus Benjamin Franklin
Hindenburgdamm 30 | D-12203 Berlin
Tel. +49 30 450 570 155 | Fax: +49 30 450 570 962
[email protected] | http://www.charite.de