From bbe637932e9d3d0b2f47775be747a69eeb9cfde3 Mon Sep 17 00:00:00 2001 From: Pierre Jaury Date: Thu, 18 Aug 2016 15:58:26 +0200 Subject: [PATCH] Implement Dovecot configuration overrides, related to #29 --- docker-compose.yml | 1 + dovecot/conf/dovecot.conf | 6 ++++++ 2 files changed, 7 insertions(+) diff --git a/docker-compose.yml b/docker-compose.yml index bc99b5e9..24c3725b 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -34,6 +34,7 @@ services: - /freeposte/freeposte:/data - /freeposte/mail:/mail - /freeposte/certs:/certs + - /freeposte/overrides:/overrides smtp: build: postfix diff --git a/dovecot/conf/dovecot.conf b/dovecot/conf/dovecot.conf index a08e04d8..c25274ec 100644 --- a/dovecot/conf/dovecot.conf +++ b/dovecot/conf/dovecot.conf @@ -156,3 +156,9 @@ plugin { antispam_mail_notspam = learn_ham antispam_mail_sendmail_args = -h;antispam:11334;-P;q1 } + +############### +# Filtering +############### + +!include_try /overrides/dovecot.conf