Hello,

Below lines are from:

http://www.postfix.org/ldap_table.5.html


Upon receiving mail for a local address "ldapuser" that
isn't found in the /etc/aliases database, Postfix will
search the LDAP server listening at port 389 on ldap.exam-
ple.com. It will bind anonymously, search for any direc-
tory entries whose mailacceptinggeneralid attribute is
"ldapuser", read the "maildrop" attributes of those found,
and build a list of their maildrops, which will be treated
as RFC822 addresses to which the message will be deliv-
ered.

 Do i need to add some objectclasses and attributetypes like
mailacceptinggeneralid to my configuration?

If i do not need why i am getting "Temporary lookup failure" for every
attempt while i was sending mail through telnet?


My conf is below


/etc/postfix/ldap-aliases.cf


server_host = 192.168.1.255
server_port = 389
version = 3
search_base = ou=people,dc=example,dc=com
query_filter = (uid=%u)
result_attribute = homeDirectory

/etc/postfix/main.cf

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

What more do i need to add?

Thanks

Reply via email to