Compare commits
1
Commits
7647dca7c3
...
ff90cb5966
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
ff90cb5966
|
+3
-2
@@ -142,7 +142,7 @@
|
|||||||
spec:
|
spec:
|
||||||
containers:
|
containers:
|
||||||
- name: mail
|
- name: mail
|
||||||
image: mailserver/docker-mailserver
|
image: mailserver/docker-mailserver:15.1.0 # pinned: v17 renamed LDAP env vars and breaks this config
|
||||||
securityContext:
|
securityContext:
|
||||||
# `allowPrivilegeEscalation: true` is required to support SGID via the `postdrop`
|
# `allowPrivilegeEscalation: true` is required to support SGID via the `postdrop`
|
||||||
# executable in `/var/mail-state` for Postfix (maildrop + public dirs):
|
# executable in `/var/mail-state` for Postfix (maildrop + public dirs):
|
||||||
@@ -212,7 +212,8 @@
|
|||||||
- name: LDAP_BIND_PW
|
- name: LDAP_BIND_PW
|
||||||
value: "{{ openldap_readonly_password }}"
|
value: "{{ openldap_readonly_password }}"
|
||||||
- name: LDAP_QUERY_FILTER_DOMAIN
|
- name: LDAP_QUERY_FILTER_DOMAIN
|
||||||
value: "(mail=*@%s)"
|
# Only mailbox users define local domains; member accounts carry external addresses (e.g. @gmail.com).
|
||||||
|
value: "(&(mail=*@%s)(memberOf=cn=Postfix Users,ou=Postfix,ou=Services,dc=eom,dc=dev))"
|
||||||
- name: LDAP_QUERY_FILTER_USER
|
- name: LDAP_QUERY_FILTER_USER
|
||||||
value: "(&(mail=%s)(memberOf=cn=Postfix Users,ou=Postfix,ou=Services,dc=eom,dc=dev))"
|
value: "(&(mail=%s)(memberOf=cn=Postfix Users,ou=Postfix,ou=Services,dc=eom,dc=dev))"
|
||||||
- name: LDAP_QUERY_FILTER_ALIAS
|
- name: LDAP_QUERY_FILTER_ALIAS
|
||||||
|
|||||||
Reference in New Issue
Block a user