diff options
author | 2024-08-03 22:56:17 +0100 | |
---|---|---|
committer | 2024-08-03 22:56:17 +0100 | |
commit | 061a437d827a1841aaec3e64b4b4a2bd9de14305 (patch) | |
tree | 202206e4a98f6a791cc5b616d03dff804dfe54b4 /ansible | |
parent | Add extra Postfix parameters for submissions (diff) |
Only allow service mail to be received to int.pydis.wtf addresses
Diffstat (limited to 'ansible')
-rw-r--r-- | ansible/roles/postfix/templates/ldap/ldap-service-mail.cf.j2 | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ansible/roles/postfix/templates/ldap/ldap-service-mail.cf.j2 b/ansible/roles/postfix/templates/ldap/ldap-service-mail.cf.j2 index cc6330a..a0dc1c3 100644 --- a/ansible/roles/postfix/templates/ldap/ldap-service-mail.cf.j2 +++ b/ansible/roles/postfix/templates/ldap/ldap-service-mail.cf.j2 @@ -5,7 +5,7 @@ bind = yes bind_dn = {{ postfix_bind_user }} bind_pw = {{ postfix_bind_password }} search_base = {{ postfix_bind_search_base }} -query_filter = (mail=%[email protected]) +query_filter = (&(mail=%[email protected])(mail=%s)) result_attribute = uid result_format = %s@localhost version = 3 |