diff options
author | Symphorien Gibol <symphorien+git@xlumurb.eu> | 2020-07-15 12:00:00 +0000 |
---|---|---|
committer | Symphorien Gibol <symphorien+git@xlumurb.eu> | 2020-08-28 22:24:04 +0200 |
commit | 7200fde2d5bfadfea69c57e700a8fac4c5e18a8e (patch) | |
tree | 94f12da7fc60cc4999f891613bf9192d47dc4abb /nixos/modules/services/mail/dovecot.nix | |
parent | 2f5277d92eca0b19096255a67c65bd4864ae54c1 (diff) | |
download | nixpkgs-7200fde2d5bfadfea69c57e700a8fac4c5e18a8e.tar nixpkgs-7200fde2d5bfadfea69c57e700a8fac4c5e18a8e.tar.gz nixpkgs-7200fde2d5bfadfea69c57e700a8fac4c5e18a8e.tar.bz2 nixpkgs-7200fde2d5bfadfea69c57e700a8fac4c5e18a8e.tar.lz nixpkgs-7200fde2d5bfadfea69c57e700a8fac4c5e18a8e.tar.xz nixpkgs-7200fde2d5bfadfea69c57e700a8fac4c5e18a8e.tar.zst nixpkgs-7200fde2d5bfadfea69c57e700a8fac4c5e18a8e.zip |
nixos/dovecot: configure mailboxes for all processes
Notably fts plugins need them for fts_autoindex_exclude = \SomeFlag
Diffstat (limited to 'nixos/modules/services/mail/dovecot.nix')
-rw-r--r-- | nixos/modules/services/mail/dovecot.nix | 8 |
1 files changed, 3 insertions, 5 deletions
diff --git a/nixos/modules/services/mail/dovecot.nix b/nixos/modules/services/mail/dovecot.nix index c166ef68f29..f5c5f795dc1 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))} } '' ) |