My openldap log:
Jan 8 00:44:21 poczta slapd[12232]: conn=1008 fd=24 ACCEPT from IP=127.0.0.1:42112 (IP=0.0.0.0:389)
Jan 8 00:44:21 poczta slapd[12232]: conn=1008 op=0 BIND dn="cn=vmailadmin,dc=mydomain,dc=pl" method=128
Jan 8 00:44:21 poczta slapd[12232]: conn=1008 op=0 BIND dn="cn=vmailadmin,dc=mydomain,dc=pl" mech=SIMPLE ssf=0
Jan 8 00:44:21 poczta slapd[12232]: conn=1008 op=0 RESULT tag=97 err=0 text=
#comment (now I try search zarzad@mydomain.pl - this is mailList(group))
Jan 8 00:44:21 poczta slapd[12232]: conn=1008 op=1 SRCH base="o=domains,dc=mydomain,dc=pl" scope=2 deref=0 filter="(&(|(cn=*zar*)(sn=*zar*)(displayName=*zar*)(telephon$
Jan 8 00:44:21 poczta slapd[12232]: conn=1008 op=1 SRCH attr=*
Jan 8 00:44:21 poczta slapd[12232]: <= bdb_substring_candidates: (displayName) not indexed
Jan 8 00:44:21 poczta slapd[12232]: conn=1008 op=1 SEARCH RESULT tag=101 err=0 nentries=0 text=
Jan 8 00:44:21 poczta slapd[12232]: conn=1008 op=2 UNBIND
Jan 8 00:44:21 poczta slapd[12232]: conn=1008 fd=24 closed
Jan 8 00:44:28 poczta slapd[12232]: conn=1009 fd=24 ACCEPT from IP=127.0.0.1:42115 (IP=0.0.0.0:389)
Jan 8 00:44:28 poczta slapd[12232]: conn=1009 op=0 BIND dn="cn=vmailadmin,dc=mydomain,dc=pl" method=128
Jan 8 00:44:28 poczta slapd[12232]: conn=1009 op=0 BIND dn="cn=vmailadmin,dc=mydomain,dc=pl" mech=SIMPLE ssf=0
Jan 8 00:44:28 poczta slapd[12232]: conn=1009 op=0 RESULT tag=97 err=0 text=
#comment (now I try search tomasz....@mydomain.pl - this is mailUser)
Jan 8 00:44:28 poczta slapd[12232]: conn=1009 op=1 SRCH base="o=domains,dc=mydomain,dc=pl" scope=2 deref=0 filter="(&(|(cn=*tom*)(sn=*tom*)(displayName=*tom*)(telephon$
Jan 8 00:44:28 poczta slapd[12232]: conn=1009 op=1 SRCH attr=*
Jan 8 00:44:28 poczta slapd[12232]: <= bdb_substring_candidates: (displayName) not indexed
Jan 8 00:44:28 poczta slapd[12232]: conn=1009 op=1 SEARCH RESULT tag=101 err=0 nentries=1 text=
Jan 8 00:44:28 poczta slapd[12232]: conn=1009 op=2 UNBIND
Jan 8 00:44:28 poczta slapd[12232]: conn=1009 fd=24 closed
After this I changed my sogo.conf and now is ok
SOGoUserSources = (
......
filter = "objectClass=mailUser AND accountStatus=active AND enabledService=mail";
to
filter = "objectClass=mailUser OR objectClass=mailList AND accountStatus=active AND enabledService=mail";
........
But maybe other solutions will be better ?
What with displayedInGlobalAddressBook ?