[Dovecot] strip realms and force lowercasing of usernames?

Timo Sirainen tss at iki.fi
Fri Jun 10 01:35:29 EEST 2005


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 at 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.

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part
URL: <http://dovecot.org/pipermail/dovecot/attachments/20050610/f5965e3c/attachment-0001.bin>


More information about the dovecot mailing list