mail_plugins = $mail_plugins fts fts_xapian
plugin {
+ # WARNING: doveadm fts rescan is buggy, it will delete the index:
+ # https://dovecot.org/pipermail/dovecot/2019-February/114709.html
+ # If need be, use rather: doveadm index -u "*@sourcephile.fr" -q '*'
plugin = fts fts_xapian
fts = xapian
fts_autoindex = yes
# 2 and 20 are the NGram values for header fields, which means the
# keywords created for fields (To, Cc, ...) are between is 2 and 20 chars long.
# Full words are also added by default.
- fts_xapian = partial=2 full=20 verbose=0
+ fts_xapian = partial=2 full=20 attachments=1 verbose=0
+ fts_languages = en fr
+ #fts_dovecot_fs = posix:prefix=%h/fts/
}
mail_plugins = $mail_plugins quota
*/
{ meta.description = "Dovecot plugin for Full Text Search (FTS) with Xapian";
url = "https://github.com/NixOS/nixpkgs/pull/78780.diff";
- sha256 = "053md69ryybj27cp0xdfrza48zyzpblk6wvb2m2dbs9hm0gmcwc4";
+ sha256 = "15ix8kwisjcgf4n7x7vlh223rb3206lcd5b13wbcvld07rzinjkc";
}
/* Disabled because it triggers the local build of too many reverse-dependencies
{ meta.description = "openldap: enable sha2 and pbkdf2 modules";