smtp/defaults/ldap_relay_domains

14 lines
431 B
Plaintext
Raw Permalink Normal View History

2023-05-02 07:16:10 +00:00
server_host = ldap
search_base = @LDAP_SEARCH_BASE@
version = 3
bind = no
#bind_dn = cn=admin,dc=example,dc=com
#bind_pw = password
query_filter = (&(objectClass=inetLocalMailRecipient) (!(mailHost=@THIS_HOST@)) (|(mail=%s) (mailLocalAddress=%s)))
#domain = example.com, hash:/etc/postfix/searchdomains
#expansion_limit = 1
#recursion_limit = 1
#size_limit = $expansion_limit
result_attribute = mailHost
result_format = relay:[%s]