smtp/defaults/ldap_relay_domains
Deon George 735ae4bcc7
All checks were successful
Create Docker Image / Build Docker Image (x86_64) (push) Successful in 25s
Create Docker Image / Build Docker Image (arm64) (push) Successful in 1m5s
Create Docker Image / Final Docker Image Manifest (push) Successful in 9s
Fix relay domain ldap map, we only look up a domain name, not an email address
2025-04-24 21:31:01 +10:00

14 lines
404 B
Plaintext

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@)) (dc=%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]