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

2011-01-06 Thread Ralf Hildebrandt
* Ed W : > On 05/01/2011 08:51, Ralf Hildebrandt wrote: > >3 years ago (!) I aksed about this and finally I implemented it today: > > > >>> # NEW > >>> passdb { > >>> driver = passwd > >>> # > >>> firstname.lastn...@charite.de:password:uid:gid:(gecos):home:(shell):user=realloginname

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

2011-01-06 Thread Ed W
On 05/01/2011 08:51, Ralf Hildebrandt wrote: 3 years ago (!) I aksed about this and finally I implemented it today: # NEW passdb { driver = passwd # firstname.lastn...@charite.de:password:uid:gid:(gecos):home:(shell):user=realloginname args = /usr/local/etc/dovecot.logi

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

2011-01-05 Thread Ralf Hildebrandt
* Thomas Leuxner : > > Not tested, but hunch tells me something like: > > args = username_format=%Ln > > should work. > > http://wiki2.dovecot.org/Variables Yes, that worked like a charm! Now we were able to switch from an old courier-pop + patched authdaemon to dovecot for ALL services! --

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

2011-01-05 Thread Willie Gillespie
Ralf Hildebrandt wrote: 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 auth_username_format = %Lu

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

2011-01-05 Thread Thomas Leuxner
-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.lastn...@charite.de > instead of > firstname.lastn...@charite.de > (capitalized first letters) > > How can I "norma

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

2011-01-05 Thread Ralf Hildebrandt
3 years ago (!) I aksed about this and finally I implemented it today: >> # NEW >> passdb { >> driver = passwd >> # >> firstname.lastn...@charite.de:password:uid:gid:(gecos):home:(shell):user=realloginname >> args = /usr/local/etc/dovecot.login_via_email >> } >If you're only