From d3fc1cccbdb5d219b2a5edf92834c38409f8b159 Mon Sep 17 00:00:00 2001 From: Ruben Maher Date: Tue, 21 Nov 2017 08:21:57 +1030 Subject: [PATCH] mail-server/dovecot.nix: automatically subscribe to new mailboxes When a mailbox is created by sieve or is delivered to directly by IMAP commands, created IMAP folders are not subscribed to by dovecot. These configuration options change that. Acked-by: Ruben Maher --- mail-server/dovecot.nix | 3 +++ 1 file changed, 3 insertions(+) diff --git a/mail-server/dovecot.nix b/mail-server/dovecot.nix index fb8d963..89249b5 100644 --- a/mail-server/dovecot.nix +++ b/mail-server/dovecot.nix @@ -111,6 +111,9 @@ in plugin { sieve = file:/var/sieve/%u.sieve } + + lda_mailbox_autosubscribe = yes + lda_mailbox_autocreate = yes ''; }; };