From 7200fde2d5bfadfea69c57e700a8fac4c5e18a8e Mon Sep 17 00:00:00 2001 From: Symphorien Gibol Date: Wed, 15 Jul 2020 12:00:00 +0000 Subject: [PATCH] nixos/dovecot: configure mailboxes for all processes Notably fts plugins need them for fts_autoindex_exclude = \SomeFlag --- nixos/modules/services/mail/dovecot.nix | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) diff --git a/nixos/modules/services/mail/dovecot.nix b/nixos/modules/services/mail/dovecot.nix index c166ef68f292..f5c5f795dc1b 100644 --- a/nixos/modules/services/mail/dovecot.nix +++ b/nixos/modules/services/mail/dovecot.nix @@ -84,11 +84,9 @@ let ( optionalString (cfg.mailboxes != {}) '' - protocol imap { - namespace inbox { - inbox=yes - ${concatStringsSep "\n" (map mailboxConfig (attrValues cfg.mailboxes))} - } + namespace inbox { + inbox=yes + ${concatStringsSep "\n" (map mailboxConfig (attrValues cfg.mailboxes))} } '' )