From 5c8eea5ff85a3f1a16fdf41caf156d16cedc80c9 Mon Sep 17 00:00:00 2001 From: Sebastian Hugentobler Date: Fri, 16 Feb 2018 12:41:41 +0100 Subject: [PATCH] add mail plugin dir --- Dockerfile | 2 +- rootfs/etc/confd/templates/10-mail.conf.tmpl | 8 +++++--- 2 files changed, 6 insertions(+), 4 deletions(-) diff --git a/Dockerfile b/Dockerfile index f2a7903..ee35a8f 100644 --- a/Dockerfile +++ b/Dockerfile @@ -43,7 +43,7 @@ RUN cd /tmp/dovecot && \ make install RUN cd /tmp/pigeonhole && \ - ./configure \ + ./configure --prefix '' \ --with-ldap=yes \ --with-dovecot=/lib/dovecot \ --disable-static && \ diff --git a/rootfs/etc/confd/templates/10-mail.conf.tmpl b/rootfs/etc/confd/templates/10-mail.conf.tmpl index fb1f0f4..3c064c3 100644 --- a/rootfs/etc/confd/templates/10-mail.conf.tmpl +++ b/rootfs/etc/confd/templates/10-mail.conf.tmpl @@ -6,19 +6,21 @@ namespace inbox { auto = subscribe special_use = \Junk } - + mailbox Trash { auto = subscribe special_use = \Trash } - + mailbox Sent { auto = subscribe special_use = \Sent } - + mailbox Drafts { auto = subscribe special_use = \Drafts } } + +mail_plugin_dir = /lib/dovecot