Hi all,

I am trying to deliver emails to openldap users through postfix.

 

Here is the configuration included to lookup openldap users in main.cf.

 

alias_maps = hash:/etc/postfix/aliases, ldap:/etc/postfix/ldap.cf

 

Here is the configuration of ldap.cf

 

server_host = <hostname>

server_port = 389

search_base = <base dn>

scope = sub

bind = yes

bind_dn = <user dn>

bind_pw = <pass>

version = 3

start_tls = no

query_filter = (mail=%s)

result_attribute = uid

 

I get an unknown user error message whenever I send an email to an openldap
user.

I am using postfix-2.8.9 and openldap 2.4.23.

 

Kindly help to resolve this issue.

 

Regards

Priscilla

Reply via email to