nixos/dovecot: configure mailboxes for all processes

Notably fts plugins need them for fts_autoindex_exclude = \SomeFlag
This commit is contained in:
Symphorien Gibol 2020-07-15 12:00:00 +00:00
parent 2f5277d92e
commit 7200fde2d5

View File

@ -84,11 +84,9 @@ let
( (
optionalString (cfg.mailboxes != {}) '' optionalString (cfg.mailboxes != {}) ''
protocol imap { namespace inbox {
namespace inbox { inbox=yes
inbox=yes ${concatStringsSep "\n" (map mailboxConfig (attrValues cfg.mailboxes))}
${concatStringsSep "\n" (map mailboxConfig (attrValues cfg.mailboxes))}
}
} }
'' ''
) )