Hi - I have set up LDAP search queries for delivering mail. The queries appear to be working correctly however, when checking the LDAP logs I am seeing queries for any domain that mail is sent. (In the logs, it also appears that the queries are being re-run, after the completion of a successful query, with different portions of the original email address as search data.)
>From what I have read, setting the /domain/ in the LDAP table should be what I need but I can't seem to get it to work. I have tested adding the parameter with one domain, I would like to add more than one, but I am still seeing searches being run for non-defined domains. Any ideas? Here's a sample of one of my LDAP alias tables: server_host = [server:port] version = 3 timeout = 5 search_base = [ldapsearchbase] domain = my.domain.com query_filter =(&(|(mail=%s)(mailAlternateAddress=%s)(mailEquivalentAddress=%s))(!(mailuserstatus=disabled))) result_attribute = mailRoutingAddress size_limit = 1 expansion_limit = 1 tia, =lc -- View this message in context: http://postfix.1071664.n5.nabble.com/need-help-with-setting-LDAP-search-domains-tp89782.html Sent from the Postfix Users mailing list archive at Nabble.com.