mastus: dovecot: disable fts

This commit is contained in:
Gabriel Ebner 2020-10-30 19:09:18 +01:00
parent b311268a50
commit 7aeab57206

@ -76,29 +76,29 @@
} }
} }
# use mailPlugins.globally.enable after nixos 20.09 # # use mailPlugins.globally.enable after nixos 20.09
mail_plugins = fts fts_xapian # mail_plugins = fts fts_xapian
#
plugin { # plugin {
plugin = fts fts_xapian # plugin = fts fts_xapian
#
fts = xapian # fts = xapian
fts_xapian = partial=2 full=20 attachments=1 verbose=0 # fts_xapian = partial=2 full=20 attachments=1 verbose=0
#
fts_autoindex = yes # fts_autoindex = yes
fts_enforced = yes # fts_enforced = yes
#
fts_autoindex_exclude = Trash # fts_autoindex_exclude = Trash
fts_autoindex_exclude2 = spam # fts_autoindex_exclude2 = spam
} # }
#
default_vsz_limit = 0 # default_vsz_limit = 0
#
service indexer-worker { # service indexer-worker {
vsz_limit = 0 # vsz_limit = 0
} # }
''; '';
modules = [ (pkgs.callPackage ./fts_xapian.nix {}) ]; # modules = [ (pkgs.callPackage ./fts_xapian.nix {}) ];
}; };
systemd.services.dovecotSslKey = rec { systemd.services.dovecotSslKey = rec {
wantedBy = [ "dovecot2.service" ]; wantedBy = [ "dovecot2.service" ];