mirror of
https://github.com/docker-mailserver/docker-mailserver.git
synced 2025-08-04 01:55:29 +02:00
sieve after/before use folder instead of individual listing
Loading sieve scripts using a directory scheme permits to handle multi scripts wtihout defining individual sieve_before/sieve_after
This commit is contained in:
parent
a12cd9a26d
commit
92414b7eba
4 changed files with 18 additions and 15 deletions
|
@ -125,7 +125,7 @@ RUN echo "0 */6 * * * clamav /usr/bin/freshclam --quiet" > /etc/cron.d/clamav-fr
|
|||
# Configures Dovecot
|
||||
COPY target/dovecot/auth-passwdfile.inc target/dovecot/??-*.conf /etc/dovecot/conf.d/
|
||||
COPY target/dovecot/scripts/quota-warning.sh /usr/local/bin/quota-warning.sh
|
||||
COPY target/dovecot/sieve/* /usr/lib/dovecot/sieve-global/
|
||||
COPY target/dovecot/sieve/ /etc/dovecot/sieve/
|
||||
WORKDIR /usr/share/dovecot
|
||||
# hadolint ignore=SC2016,SC2086
|
||||
RUN sed -i -e 's/include_try \/usr\/share\/dovecot\/protocols\.d/include_try \/etc\/dovecot\/protocols\.d/g' /etc/dovecot/dovecot.conf && \
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue