mirror of
https://github.com/docker-mailserver/docker-mailserver.git
synced 2024-01-19 02:48:50 +00:00
add LDAP_QUERY_FILTER_DOMAIN env to documentation (#1070)
* added LDAP_QUERY_FILTER_DOMAIN env * updated docs for LDAP_QUERY_FILTER_DOMAIN env additionally removed unnecessary quotation marks in example ldap.yml
This commit is contained in:
parent
30ed8fbf0e
commit
216def8490
|
@ -202,6 +202,10 @@ LDAP_QUERY_FILTER_GROUP=
|
||||||
# => Specify how ldap should be asked for aliases
|
# => Specify how ldap should be asked for aliases
|
||||||
LDAP_QUERY_FILTER_ALIAS=
|
LDAP_QUERY_FILTER_ALIAS=
|
||||||
|
|
||||||
|
# e.g. `"(&(|(mail=*@%s)(mailalias=*@%s)(mailGroupMember=*@%s))(mailEnabled=TRUE))"`
|
||||||
|
# => Specify how ldap should be asked for domains
|
||||||
|
LDAP_QUERY_FILTER_DOMAIN=
|
||||||
|
|
||||||
# -----------------------------------------------------------------------------------------------------------------------------
|
# -----------------------------------------------------------------------------------------------------------------------------
|
||||||
# ---------------- Dovecot section --------------------------------------------------------------------------------------------
|
# ---------------- Dovecot section --------------------------------------------------------------------------------------------
|
||||||
# -----------------------------------------------------------------------------------------------------------------------------
|
# -----------------------------------------------------------------------------------------------------------------------------
|
||||||
|
|
16
README.md
16
README.md
|
@ -178,11 +178,12 @@ services:
|
||||||
- LDAP_SEARCH_BASE=ou=people,dc=localhost,dc=localdomain
|
- LDAP_SEARCH_BASE=ou=people,dc=localhost,dc=localdomain
|
||||||
- LDAP_BIND_DN=cn=admin,dc=localhost,dc=localdomain
|
- LDAP_BIND_DN=cn=admin,dc=localhost,dc=localdomain
|
||||||
- LDAP_BIND_PW=admin
|
- LDAP_BIND_PW=admin
|
||||||
- LDAP_QUERY_FILTER_USER="(&(mail=%s)(mailEnabled=TRUE))"
|
- LDAP_QUERY_FILTER_USER=(&(mail=%s)(mailEnabled=TRUE))
|
||||||
- LDAP_QUERY_FILTER_GROUP="(&(mailGroupMember=%s)(mailEnabled=TRUE))"
|
- LDAP_QUERY_FILTER_GROUP=(&(mailGroupMember=%s)(mailEnabled=TRUE))
|
||||||
- LDAP_QUERY_FILTER_ALIAS="(&(mailAlias=%s)(mailEnabled=TRUE))"
|
- LDAP_QUERY_FILTER_ALIAS=(&(mailAlias=%s)(mailEnabled=TRUE))
|
||||||
- DOVECOT_PASS_FILTER="(&(objectClass=PostfixBookMailAccount)(uniqueIdentifier=%n))"
|
- LDAP_QUERY_FILTER_DOMAIN=(&(|(mail=*@%s)(mailalias=*@%s)(mailGroupMember=*@%s))(mailEnabled=TRUE))
|
||||||
- DOVECOT_USER_FILTER="(&(objectClass=PostfixBookMailAccount)(uniqueIdentifier=%n))"
|
- DOVECOT_PASS_FILTER=(&(objectClass=PostfixBookMailAccount)(uniqueIdentifier=%n))
|
||||||
|
- DOVECOT_USER_FILTER=(&(objectClass=PostfixBookMailAccount)(uniqueIdentifier=%n))
|
||||||
- ENABLE_SASLAUTHD=1
|
- ENABLE_SASLAUTHD=1
|
||||||
- SASLAUTHD_MECHANISMS=ldap
|
- SASLAUTHD_MECHANISMS=ldap
|
||||||
- SASLAUTHD_LDAP_SERVER=ldap
|
- SASLAUTHD_LDAP_SERVER=ldap
|
||||||
|
@ -452,6 +453,11 @@ Note: this spamassassin setting needs `ENABLE_SPAMASSASSIN=1`
|
||||||
|
|
||||||
- e.g. `"(&(mailAlias=%s)(mailEnabled=TRUE))"`
|
- e.g. `"(&(mailAlias=%s)(mailEnabled=TRUE))"`
|
||||||
- => Specify how ldap should be asked for aliases
|
- => Specify how ldap should be asked for aliases
|
||||||
|
|
||||||
|
##### LDAP_QUERY_FILTER_DOMAIN
|
||||||
|
|
||||||
|
- e.g. `"(&(|(mail=*@%s)(mailalias=*@%s)(mailGroupMember=*@%s))(mailEnabled=TRUE))"`
|
||||||
|
- => Specify how ldap should be asked for domains
|
||||||
|
|
||||||
##### DOVECOT_TLS
|
##### DOVECOT_TLS
|
||||||
|
|
||||||
|
|
|
@ -52,6 +52,7 @@ services:
|
||||||
- LDAP_QUERY_FILTER_USER=${LDAP_QUERY_FILTER_USER}
|
- LDAP_QUERY_FILTER_USER=${LDAP_QUERY_FILTER_USER}
|
||||||
- LDAP_QUERY_FILTER_GROUP=${LDAP_QUERY_FILTER_GROUP}
|
- LDAP_QUERY_FILTER_GROUP=${LDAP_QUERY_FILTER_GROUP}
|
||||||
- LDAP_QUERY_FILTER_ALIAS=${LDAP_QUERY_FILTER_ALIAS}
|
- LDAP_QUERY_FILTER_ALIAS=${LDAP_QUERY_FILTER_ALIAS}
|
||||||
|
- LDAP_QUERY_FILTER_DOMAIN=${LDAP_QUERY_FILTER_DOMAIN}
|
||||||
- DOVECOT_TLS=${DOVECOT_TLS}
|
- DOVECOT_TLS=${DOVECOT_TLS}
|
||||||
- DOVECOT_USER_FILTER=${DOVECOT_USER_FILTER}
|
- DOVECOT_USER_FILTER=${DOVECOT_USER_FILTER}
|
||||||
- DOVECOT_PASS_FILTER=${DOVECOT_PASS_FILTER}
|
- DOVECOT_PASS_FILTER=${DOVECOT_PASS_FILTER}
|
||||||
|
|
|
@ -54,6 +54,7 @@ services:
|
||||||
- LDAP_QUERY_FILTER_USER=${LDAP_QUERY_FILTER_USER}
|
- LDAP_QUERY_FILTER_USER=${LDAP_QUERY_FILTER_USER}
|
||||||
- LDAP_QUERY_FILTER_GROUP=${LDAP_QUERY_FILTER_GROUP}
|
- LDAP_QUERY_FILTER_GROUP=${LDAP_QUERY_FILTER_GROUP}
|
||||||
- LDAP_QUERY_FILTER_ALIAS=${LDAP_QUERY_FILTER_ALIAS}
|
- LDAP_QUERY_FILTER_ALIAS=${LDAP_QUERY_FILTER_ALIAS}
|
||||||
|
- LDAP_QUERY_FILTER_DOMAIN=${LDAP_QUERY_FILTER_DOMAIN}
|
||||||
- DOVECOT_TLS=${DOVECOT_TLS}
|
- DOVECOT_TLS=${DOVECOT_TLS}
|
||||||
- DOVECOT_USER_FILTER=${DOVECOT_USER_FILTER}
|
- DOVECOT_USER_FILTER=${DOVECOT_USER_FILTER}
|
||||||
- DOVECOT_PASS_FILTER=${DOVECOT_PASS_FILTER}
|
- DOVECOT_PASS_FILTER=${DOVECOT_PASS_FILTER}
|
||||||
|
|
Loading…
Reference in a new issue