# HG changeset patch # User Paul Boddie # Date 1418499759 -3600 # Node ID fefc1b724b0234ae828c665e27bb9af4249ccf72 # Parent e7da6ceb1a9902d6d105b52cf073e0015b4cbc1e Added local recipient details compatible with the virtual alias tables. See: http://www.postfix.org/LOCAL_RECIPIENT_README.html diff -r e7da6ceb1a99 -r fefc1b724b02 conf/postfix/local_recipient_maps.cf --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/conf/postfix/local_recipient_maps.cf Sat Dec 13 20:42:39 2014 +0100 @@ -0,0 +1,13 @@ +server_host = $ldap_host +server_port = $ldap_port +version = 3 +search_base = $ldap_base_dn +scope = sub + +domain = ldap:/etc/postfix/ldap/mydestination.cf + +bind_dn = $ldap_service_bind_dn +bind_pw = $ldap_service_password + +query_filter = (&(|(mail=%s)(alias=%s))(objectclass=kolabinetorgperson)) +result_attribute = mail