[ 
https://issues.apache.org/jira/browse/JAMES-1369?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13201242#comment-13201242
 ] 

Stefano Bagnara commented on JAMES-1369:
----------------------------------------

The spec is:
domain names are case insensitive, so either we always "lowercase" them or we 
compare using a case insensitive algorithm.
the userpart instead *can be* case sensitive. So case must always be preserved 
by MUA/MDA/MSA.

That said allowing case sensitive local parts is a source of chaos (would you 
imagine what would happen if Eric@yourdomain, eric@yourdomain, ERIC@yourdomain 
were 3 different users? this is expected to work for RFC but this won't work 
for humans), so the best thing is to default to case insensitive behaviour also 
for local parts and supports case sensitivity only with a custom configuration 
(or don't support it at all).

E.g: gmail convert local parts to lowercase and remove "." from it and it does 
this replace both during receiving and during authentication. So 
"[email protected]" is equal to "[email protected]". Most servers simply 
to the lowercase conversion.
                
> domains names in James 3 Beta 3 are case sensitive. Used the matcher 
> RecipientToLowerCase and it only converts the local part (user name) to lower 
> case. 
> ---------------------------------------------------------------------------------------------------------------------------------------------------------
>
>                 Key: JAMES-1369
>                 URL: https://issues.apache.org/jira/browse/JAMES-1369
>             Project: JAMES Server
>          Issue Type: Improvement
>          Components: Matchers/Mailets (bundled)
>    Affects Versions: 3.0-beta3
>         Environment: Linux
>            Reporter: Phanidhar
>            Assignee: Eric Charles
>


--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: 
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to