mirror of
https://gitlab.com/simple-nixos-mailserver/nixos-mailserver.git
synced 2025-04-02 22:04:32 +05:00

This switches the full-text search plugin from fts-xapian to fts-flatcurve, the now preferred indexer still powered by Xapian, which will be integrated into Dovecot core 2.4. This sets a sane minimal configuration for the plugin with international language support. The plugin options marked as "advanced" in Dovecot's documentation aren't re-exposed for simplicity. They can nevertheless be overridden by module consumers by directly setting keys with `services.dovecot2.pluginSettings.fts_*`. The `fullTextSearch.{memoryLimit,maintenance}` options are removed as they are no longer needed for this plugin, which tops at 256MB of RAM usage by default and incrementally optimises its index. GitLab: closes https://gitlab.com/simple-nixos-mailserver/nixos-mailserver/-/issues/239