[ https://issues.apache.org/jira/browse/JAMES-2391?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16468320#comment-16468320 ]
Tellier Benoit commented on JAMES-2391: --------------------------------------- Good question. Maybe a way would be to `normalize` user names in UsersRepository when virtualHosting is false. Maybe we could add a configuration option 'removeDomainPart' (true|false, default to false), that would care about this. It would be applied only when virtualHosting is false, and thus solve your problem. The class to look in is AbstractUsersRepository. Corresponding tests would also need to be written. Would this help you? Cheers, > IMAP authentication problem (using Domain Name and LDAP) > -------------------------------------------------------- > > Key: JAMES-2391 > URL: https://issues.apache.org/jira/browse/JAMES-2391 > Project: James Server > Issue Type: Test > Affects Versions: 3.0.1 > Reporter: mostafa vtp > Priority: Major > > We are using LDAP for authentication and it store user name only without > domain name. (We don’t want virtual hosting in our Mail server) > When I want to use mobile apps as email client (such as Outlook and Gmail) in > login step James refused to authenticate with email and pass because it send > user name with domain (such as [u1@t.t1|mailto:u1@t.t1]) to LDAP for > authentication and it is not exist( u1 exist). but if we change the user name > for IMAP and SMTP in manual setting in email client apps it works correctly. > Our clients don't know this thus they can’t log in to their email. > How can I solve this problem? -- This message was sent by Atlassian JIRA (v7.6.3#76005) --------------------------------------------------------------------- To unsubscribe, e-mail: server-dev-unsubscr...@james.apache.org For additional commands, e-mail: server-dev-h...@james.apache.org