Note that while it won't save us from this being a bug, the comment at http://wiki2.dovecot.org/Plugins/FTS/Lucene is worth to note as a lucene user:
Quote: "NOTE: Although the fts-lucene plugin works, it's using CLucene library, which is very old and has some bugs. It's a much better idea to use fts-solr instead, which has much more features and is more stable."
Since it was only 98% clear :-), here a summary of a short and easy guide to trigger the issue in e.g. a container:
#1 install dovecot+lucene conf.d/ 10-mail. conf chars=@ ./' /etc/dovecot/ conf.d/ 90-plugin. conf
sudo apt-get install dovecot-lucene
#2 configure lucene
sed -ie 's/#mail_plugins = $/mail_plugins = $mail_plugins fts fts_lucene/' /etc/dovecot/
sed -ie 's/^plugin {$/plugin {\n fts = lucene\n fts_lucene = whitespace_
#3 do soething with dovecot
service dovecot reload
doveadm pw -s SSHA256 -p verysecretindeed
Fatal: Couldn't load required plugin /usr/lib/ dovecot/ modules/ lib21_fts_ lucene_ plugin. so: dlopen() failed: /usr/lib/ dovecot/ modules/ lib21_fts_ lucene_ plugin. so: undefined symbol: _ZN6lucene8anal ysis8snowball16 SnowballAnalyze rC1EPFiPKvmP6bu fferEPKc
Note that while it won't save us from this being a bug, the comment at http:// wiki2.dovecot. org/Plugins/ FTS/Lucene is worth to note as a lucene user:
Quote: "NOTE: Although the fts-lucene plugin works, it's using CLucene library, which is very old and has some bugs. It's a much better idea to use fts-solr instead, which has much more features and is more stable."