diff --git a/core/dovecot/conf/dovecot.conf b/core/dovecot/conf/dovecot.conf index bc5055d9..83c78f16 100644 --- a/core/dovecot/conf/dovecot.conf +++ b/core/dovecot/conf/dovecot.conf @@ -7,6 +7,7 @@ postmaster_address = {{ POSTMASTER }}@{{ DOMAIN }} hostname = {{ HOSTNAMES.split(",")[0] }} submission_host = {{ FRONT_ADDRESS }} +{% if DISABLE_FTS_LUCENE != 'true' %} ############### # Full-text search ############### @@ -20,6 +21,7 @@ plugin { fts_lucene = whitespace_chars=@. } +{% endif %} ############### # Mailboxes diff --git a/docs/compose/.env b/docs/compose/.env index 73964e3a..836e9dbf 100644 --- a/docs/compose/.env +++ b/docs/compose/.env @@ -3,6 +3,10 @@ # these few settings must however be configured before starting the mail # server and require a restart upon change. +# Set this to `true` to disable full text search by lucene (value: true, false) +# This is a workaround for the bug in issue #751 (indexer-worker crashes) +DISABLE_FTS_LUCENE=false + ################################### # Common configuration variables ###################################