10 Jun
2005
10 Jun
'05
1:35 a.m.
On Thu, 2005-06-09 at 13:21 -0700, Dan Hollis wrote:
What I want is for dovecot to strip realms and force lowercase of usernames _before passing them to pop3-login or pam for authentication_
So if a user tries to login as "SoMEuSERNAme@msn.com" it actually authenticates them as "someusername". Stripping the realm and lowercasing the name _before checking it against the passwd/shadow files_.
Other pop3 servers like teapop have explicit support for this.
Sounds pretty ugly and kludgy feature. If you used SQL database to store users, you could easily do this.