james-server-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Charles Benett <char...@benett1.demon.co.uk>
Subject Re: User to lowercase...
Date Wed, 09 May 2001 21:10:48 GMT
Good point, Rod,
Also very irritating is if you submit your address as me@somewhere and
get email for ME@SOMEWHERE !
However, email addresses are supposed to be case sensitive (I'm 95%
sure, off hand).

So, another alternative would be to:
1) add a method containsCaseInsensitive(String name) to UserRepository
2) add a config element
<allowCaseInsensitive>true</allowCaseInsensitive> to the james section.
3) amend isLocalUser(String userAccount) so that it checks
UserRepository case sensitive/ insensitive as set by admin. This is the
relevant method in MailetContext, I think. As used in RecipientIsLocal.

Giving us the best of both worlds.
Thoughts?
Charles



Rodrigo Zerlotti wrote:
> 
> What you all think about make the user match not "case sensitive", i.e.
> add toLowerCase on all "matchRecipient" methods? I see more and more
> errors comming from people trying to do "Name@company.com" where should
> be "name@company.com"
> 
> Thoughts?
> 
> Rod~
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: james-dev-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: james-dev-help@jakarta.apache.org

---------------------------------------------------------------------
To unsubscribe, e-mail: james-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: james-dev-help@jakarta.apache.org


Mime
View raw message