From 7aeab5720660bdfabcc9c72035abebf9f4cc0c6e Mon Sep 17 00:00:00 2001 From: Gabriel Ebner Date: Fri, 30 Oct 2020 19:09:18 +0100 Subject: [PATCH] mastus: dovecot: disable fts --- mastus/mail.nix | 44 ++++++++++++++++++++++---------------------- 1 file changed, 22 insertions(+), 22 deletions(-) diff --git a/mastus/mail.nix b/mastus/mail.nix index ed82a07..e1ef18e 100644 --- a/mastus/mail.nix +++ b/mastus/mail.nix @@ -76,29 +76,29 @@ } } - # use mailPlugins.globally.enable after nixos 20.09 - mail_plugins = fts fts_xapian - - plugin { - plugin = fts fts_xapian - - fts = xapian - fts_xapian = partial=2 full=20 attachments=1 verbose=0 - - fts_autoindex = yes - fts_enforced = yes - - fts_autoindex_exclude = Trash - fts_autoindex_exclude2 = spam - } - - default_vsz_limit = 0 - - service indexer-worker { - vsz_limit = 0 - } + # # use mailPlugins.globally.enable after nixos 20.09 + # mail_plugins = fts fts_xapian + # + # plugin { + # plugin = fts fts_xapian + # + # fts = xapian + # fts_xapian = partial=2 full=20 attachments=1 verbose=0 + # + # fts_autoindex = yes + # fts_enforced = yes + # + # fts_autoindex_exclude = Trash + # fts_autoindex_exclude2 = spam + # } + # + # default_vsz_limit = 0 + # + # service indexer-worker { + # vsz_limit = 0 + # } ''; - modules = [ (pkgs.callPackage ./fts_xapian.nix {}) ]; + # modules = [ (pkgs.callPackage ./fts_xapian.nix {}) ]; }; systemd.services.dovecotSslKey = rec { wantedBy = [ "dovecot2.service" ];