use confd for most settings

This commit is contained in:
Mauro Torrez
2019-09-10 00:37:48 -03:00
parent 77fb4caf93
commit 1ef3a28a71
21 changed files with 219 additions and 455 deletions

View File

@@ -38,18 +38,20 @@ ADD 10-mail.conf \
20-imap.conf \
90-antispam.conf \
90-sieve.conf \
auth-ldap.conf.ext \
auth-master.conf.ext \
/etc/dovecot/conf.d/
ADD local.conf /etc/dovecot/
ADD junk-filter.sieve /etc/dovecot/sieve/before/
ADD submission.conf.tmpl \
ADD \
10-auth.conf.tmpl \
20-lmtp.conf.tmpl \
ldap.conf.ext.tmpl \
submission.conf.tmpl \
/etc/confd/templates/
ADD confd.toml /etc/confd/conf.d/
ADD junk-filter.sieve /etc/dovecot/sieve/before/
# RUN sievec /etc/dovecot/sieve/before && sievec /etc/dovecot/sieve/after
RUN sievec /etc/dovecot/sieve/before/junk-filter.sieve
VOLUME /etc/dovecot /ssl /vmail