our Zimbra installation is a multi-server one. We have several domain hosted on our Zimbra servers. A frontal MX (Postfix) is relaying mail for these domains.
We want to do so recipient verifications on this frontal MX for some relayed domains before accepting connections.
What sould be the LDAP query ?
Below is my Postfix configuration. The problem is with distribution lists.
I can't find a way to include distribution lists in the query.
server_host = ldap://ldap1.domain.com:389
server_port = 389
query_filter = (&(|(zimbraMailDeliveryAddress=%s)(zimbraMailAlias =%s)(zimbraMail
result_attribute = zimbraMailDeliveryAddress
version = 3
ldap_cache = yes
ldap_cache_expiry = 600
ldap_cache_size = 64256
bind = no
timeout = 30