burl, imap metadata ready

This commit is contained in:
Mauro Torrez
2019-09-10 23:12:07 -03:00
parent 7361b77cd3
commit 594544052b
6 changed files with 23 additions and 6 deletions

View File

@@ -30,7 +30,9 @@ ENV \
LDAP_PASS_FILTER="(&(objectClass=inetOrgPerson)(uid=%n))" \
LDAP_ITERATE_ATTRS="=user=%{ldap:uid}@%d" \
LDAP_ITERATE_FILTER="(objectClass=inetOrgPerson)" \
LDAP_DEFAULT_PASS_SCHEME=CRYPT
LDAP_DEFAULT_PASS_SCHEME=CRYPT \
ANTISPAM_ENABLE=yes \
IMAP_URLAUTH_HOST="*"
RUN groupadd -g 5000 vmail && useradd -g vmail -u 5000 vmail -d /vmail \
&& mkdir -p /vmail && chown vmail:vmail /vmail \
@@ -48,19 +50,18 @@ RUN groupadd -g 5000 vmail && useradd -g vmail -u 5000 vmail -d /vmail \
&& mkdir -p /ssl && chmod 700 /ssl \
&& cp /etc/ssl/certs/ssl-cert-snakeoil.pem /ssl/cert.pem \
&& cp /etc/ssl/private/ssl-cert-snakeoil.key /ssl/key.pem \
&& mkdir -p /etc/dovecot/local.d /etc/dovecot/sieve/before /etc/dovecot/sieve/after
&& mkdir -p /etc/dovecot/local.d /etc/dovecot/sieve/before /etc/dovecot/sieve/after \
&& printf '!include_try local.d/*.conf\nlog_path = /dev/stdout\n' > /etc/dovecot/local.conf
ADD 10-mail.conf \
10-master.conf \
10-ssl.conf \
11-quota.conf \
15-mailboxes.conf \
20-imap.conf \
90-antispam.conf \
90-sieve.conf \
/etc/dovecot/conf.d/
ADD local.conf /etc/dovecot/
ADD junk-filter.sieve /etc/dovecot/sieve/before/
ADD confd /etc/confd/