From 2669d6224e4fc8c1d2f1ca64ce66d890bbd6f373 Mon Sep 17 00:00:00 2001 From: Sebastian Hugentobler Date: Thu, 7 Jul 2016 16:48:04 +0200 Subject: [PATCH] listen on all interfaces --- rootfs/etc/confd/templates/10-master.conf.tmpl | 2 -- rootfs/etc/cont-init.d/02-sieve-rules | 3 +++ 2 files changed, 3 insertions(+), 2 deletions(-) create mode 100644 rootfs/etc/cont-init.d/02-sieve-rules diff --git a/rootfs/etc/confd/templates/10-master.conf.tmpl b/rootfs/etc/confd/templates/10-master.conf.tmpl index 2f8c9cc..399dfed 100644 --- a/rootfs/etc/confd/templates/10-master.conf.tmpl +++ b/rootfs/etc/confd/templates/10-master.conf.tmpl @@ -6,7 +6,6 @@ service imap-login { service lmtp { inet_listener lmtp { - address = 127.0.0.1 port = 7777 } } @@ -16,7 +15,6 @@ service imap { service auth { inet_listener postfix { - address = 127.0.0.1 port = 6334 } } diff --git a/rootfs/etc/cont-init.d/02-sieve-rules b/rootfs/etc/cont-init.d/02-sieve-rules new file mode 100644 index 0000000..80d7af1 --- /dev/null +++ b/rootfs/etc/cont-init.d/02-sieve-rules @@ -0,0 +1,3 @@ +#!/usr/bin/with-contenv sh + +sievec /etc/dovecot/sieve-after/spam.sieve