mastus: dovecot: disable fts

This commit is contained in:
Gabriel Ebner 2020-10-30 19:09:18 +01:00
parent b311268a50
commit 7aeab57206
1 changed files with 22 additions and 22 deletions

View File

@ -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" ];