Jan Luehr: > Hello, > > I've some trouble using ldap aliases. My settings are: > > server_host = localhost > search_base = dc=oknw > bind_dn = uid=postfix,cn=staff,dc=oknw > bind_pw = XXX > version = 3 > query_filter = (&(mail=%s)(objectClass=mailAccount)) > result_attribute = forward > > Postfix is: 2.5.5 (Debian GNU/Linux) > My itention is, that all valid mail aliases have mail=%s set. Furthermore > forward: points to its destination. > > Lets assume there is test.forw...@v50993.topnetworks.de > http://pastie.org/730216 > > If I try to write an E-Mail to him, it bounces. slapd / postfix logs: > http://pastie.org/730229
Dec 6 13:55:07 v50993 slapd[30414]: conn=34 op=11 SRCH base="dc=oknw" scope=2 deref=0 filter="(&(mail=test.forw...@v50993.topnetworks.de)(objectClass=mailAccount))" The LDAP server found a record for "test.forw...@v50993.topnetworks.de". Dec 6 13:57:33 v50993 postfix/local[31444]: B8BA7E38564: to=<test.forw...@v50993.topnetworks.de>, relay=local, delay=184, delays=184/0.11/0/0.02, dsn=5.1.1, status=bounced (unknown user: "test.forward") The LDAP server found no record for "test.forward". Wietse