Thanks very much for detailed answer. 2012/12/14 Stefanos Kalantzis <steve.t...@gmail.com>
> Hi, > > The change is in here: > > groupID: org.apache.james > artifactID: james-server-data-ldap > class: org.apache.james.user.ldap.ReadOnlyUsersLDAPRepository > > In line 568: > sc.setSearchScope(SearchControls.OBJECT_SCOPE); > > you change it to: > sc.setSearchScope(SearchControls.SUBTREE_SCOPE); > > :) > > BR, > Stefanos > > On Fri, Dec 14, 2012 at 9:50 AM, Merve Temizer <mervet2...@gmail.com> > wrote: > > > I am using James in development environment, i can edit and compile it. > > > > But your sentence is cut, what were you going to tell? > > > > I you can not remember exact lines, can you share the idea? > > > > Thanks in advance. > > > > 2012/12/13 Stefanos Kalantzis <steve.t...@gmail.com> > > > > > Hi, > > > > > > As far as I know, you have to make a change in the source code of the > > ldap > > > module and recompile it. > > > > > > I had done this change in 3.0-beta4 to support sub-tree search for the > > > users. > > > > > > I don't have it with me right now but if I remember correctly the > change > > > was in 1 or 2 lines. > > > > > > If you w > > > > > > BR, > > > Stefanos > > > > > > On Thu, Dec 13, 2012 at 5:45 PM, Merve Temizer <mervet2...@gmail.com> > > > wrote: > > > > > > > I can send mail through > > > > > > > > >telnet localhost 1025 > > > > > > > > (1025 is smtp port in my conf) > > > > > > > > But only from and to first level users in ldap conf base dn, e.g. > > > > dc=example,dc=com > > > > > > > > I have sub levels like dc=work,dc=example,dc=com and > > > > dc=school,dc=example,dc=com > > > > > > > > I can not remember clear but it seems to me i could achieved mailing > to > > > sub > > > > users(uids) only using uid of them. > > > > > > > > I know James do not support sub domains but i do not want domain > > specific > > > > address, i only need James to search depth. > > > > > > > > I think you might have some idea. thanks. > > > > > > > > > >