james-server-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Tellier Benoit (JIRA)" <server-...@james.apache.org>
Subject [jira] [Resolved] (JAMES-1565) Domain list is case sensitive
Date Tue, 14 Mar 2017 05:48:41 GMT

     [ https://issues.apache.org/jira/browse/JAMES-1565?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Tellier Benoit resolved JAMES-1565.
-----------------------------------
    Resolution: Fixed

Currently on master we ensure domains are stored as lowercase.

I also checked tests

> Domain list is case sensitive
> -----------------------------
>
>                 Key: JAMES-1565
>                 URL: https://issues.apache.org/jira/browse/JAMES-1565
>             Project: James Server
>          Issue Type: Bug
>    Affects Versions: 3.0-beta4
>            Reporter: Andrew Ben
>
> There is an issue with Exchange 365 (and probably other servers) that do not convert
recipient name to lower case. So if my domainlist.conf file is as following:
> <domainlist class="org.apache.james.domainlist.xml.XMLDomainList">
>    <domainnames>
>        <domainname>abc.com</domainname>
>        <domainname>def.com</domainname>
>    </domainnames>
>    <autodetect>true</autodetect>
>    <autodetectIP>true</autodetectIP>
> </domainlist>
> and user send email to user@ABC.com the email is rejected with 
> Remote Server returned '530 5.7.1 Authentication Required'
> I think the issue can be fixed by comparing domain converted to lower case in the org.apache.james.domainlist.xml.XMLDomainList::containsDomain
as domains from domainlist.conf file are stored converted to lower case.
> public boolean containsDomain(String domains) throws DomainListException {
>         return domainNames.contains(domains);
> }



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)

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


Mime
View raw message