mirror of
https://github.com/docker-mailserver/docker-mailserver.git
synced 2025-08-04 18:15:29 +02:00
Improve LDAP integration (#379)
* Move ldap files to target dir * Move ldap files to target dir * Update start-mailser.sh to use copied files * Add the domainname from container to vhost * Fix unary operator error * List dovecot users only when LDAP disabled * Minor
This commit is contained in:
parent
f2f059bb91
commit
d3cd407295
10 changed files with 19 additions and 55 deletions
|
@ -62,6 +62,10 @@ RUN sed -i -e 's/^.*postmaster_address.*/postmaster_address = '${POSTMASTER_ADDR
|
|||
COPY target/dovecot/auth-passwdfile.inc /etc/dovecot/conf.d/
|
||||
COPY target/dovecot/??-*.conf /etc/dovecot/conf.d/
|
||||
|
||||
# Configures LDAP
|
||||
COPY target/dovecot/dovecot-ldap.conf.ext /etc/dovecot
|
||||
COPY target/postfix/ldap-users.cf target/postfix/ldap-groups.cf target/postfix/ldap-aliases.cf /etc/postfix/
|
||||
|
||||
# Enables Spamassassin CRON updates
|
||||
RUN sed -i -r 's/^(CRON)=0/\1=1/g' /etc/default/spamassassin
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue