[Dovecot] strip realms and force lowercasing of usernames?

Andrew Hutchings info at a-wing.co.uk
Thu Jun 9 15:25:41 EEST 2005


Dan Hollis wrote:
> Is it possible for dovecot to strip realms and force lowercasing of usernames?
> 
> We have a lot of dumb customers who try logging in to pop3 with crap like 
> UsERNAmE and bla at nonexistentdomain.com. All our usernames are lowercase 
> and we have no realms. Trying to get hundreds of customers to fix this is 
> hard and is a significant and costly support burden.
> 
> It would be nice if dovecot could handle this in some way.
> 
> -Dan
> 
Hi Dan,

In your default_mail_env if you use %n instead of %u you will get the 
domains stripped.  As for lowercase that is a feature I would like to 
see, I will see if I can code it tonight.

Regards
Andrew

-- 
Andrew Hutchings (A-Wing)
Linux Guru - Netserve Consultants Ltd. - http://www.domaincity.co.uk/
Admin - North Wales Linux User Group - http://www.nwlug.org.uk/
BOFH excuse 370: Virus due to computers having unsafe sex.


More information about the dovecot mailing list