It should be noted that dovecot <2.4 has critical bugs in the french stemming ( snowball )
Anyone enabling the french FTS stemmer in mailcow WILL have their fts crash , especially on large mailboxes.
DOV-5670: fts indexing assert-crashes when snowball filter causes a word to be dropped, e.g. "H." in French.
Fixes: Panic: file fts-filter.c: line 137 (fts_filter_filter): assertion failed: ((*token)[0] != '\0')
That’s not a small bug. The only workaround (if mailcow doesnt support dovecot 2.4) is to either not enable french and stem everything as english, or disable snowball.