Hello Viktor,

> > > > server_host = ldap://openldap1.server version = 3 search_base =
> > > > ou=groups,o=mailhosting query_filter =
> > > > (&(mail=%s)(objectclass=groupOfUniqueNames))
> > > > leaf_result_attribute = mail
> > > > special_result_attribute = uniquemember
> > >
> > > What's in "ldap_accountsmap.cf"?
> >
> > server_host = ldap://openldap1.server
> > search_base = o=mailhosting
> > query_filter =
> >
> (&(objectClass=JammMailAccount)(mail=%s)(accountActive=TRUE)(delete=F
> A
> > LSE))
> > result_attribute = mail
> > bind = no
> 
> This leads to identity mappings that terminate virtual expansion.
> Because it is listed ahead of aliases, the aliases are never seen.

For normal alias this works, they are expanded....


> 
> > version: 1
> >
> > dn: cn=g1,ou=Sogo,ou=groups,o=mailhostingobjectClass: extensibleObject
> > objectClass: top
> > objectClass: groupOfUniqueNames
> > cn: g1
> > uniqueMember: mail=a.sch...@aarboard.ch,jvd=schild.ws,o=mailhosting
> > uniqueMember: mail=langenth...@client.ch,jvd=client.ch,o=mailhosting
> > uniqueMember:
> mail=langenthal...@client.ch,jvd=client.ch,o=mailhosting
> > mail: g...@client.ch
> >
> >
> > The ldif of the failing expand/alias:
> > version: 1
> >
> > dn: mail=langenthal...@client.ch,jvd=client.ch,o=mailhosting
> > objectClass: JammMailAlias
> > objectClass: top
> > accountActive: FALSE
> > lastChange: 1363865527
> > mail: langenthal...@client.ch
> > maildrop: langenth...@client.ch
> > cn: xxxxxx
> > userPassword:: xxxxxxxxxxxxxxxxxx
> 
> You again left out the account LDIF.

Sorry, here it is:

version: 1

dn: mail=langenth...@client.ch,jvd=client.ch,o=mailhosting
objectClass: JammMailAccount
objectClass: top
accountActive: FALSE
delete: FALSE
homeDirectory: /home/vmail/domains
lastChange: 1363865462
mail: langenth...@client.ch
mailbox: client.ch/langenthal2/
cn: Client Langenthal 2
userPassword:: xxxxxxxxxxxxxx


André

Reply via email to