mirror of
https://github.com/Mailu/Mailu.git
synced 2025-01-04 00:16:14 +02:00
Add language stops
This commit is contained in:
parent
36236848d2
commit
39af87dff4
@ -58,6 +58,8 @@ plugin {
|
||||
|
||||
{% if (FULL_TEXT_SEARCH or '').lower() not in ['off', 'false', '0'] %}
|
||||
fts = flatcurve
|
||||
fts_languages = {% if FULL_TEXT_SEARCH %}{{ FULL_TEXT_SEARCH.split(",") | join(" ") }}{% else %}en{% endif %}
|
||||
fts_tokenizers = generic email-address
|
||||
fts_autoindex = yes
|
||||
fts_enforced = yes
|
||||
fts_autoindex_exclude = \Trash
|
||||
|
@ -131,12 +131,15 @@ later classify incoming mail based on the custom part.
|
||||
The ``DMARC_RUA`` and ``DMARC_RUF`` are DMARC protocol specific values. They hold
|
||||
the localpart for DMARC rua and ruf email addresses.
|
||||
|
||||
Full-text search is enabled for IMAP is enabled by default. This feature can be disabled
|
||||
(e.g. for performance reasons) by setting the optional variable ``FULL_TEXT_SEARCH`` to ``off``.
|
||||
The ``FULL_TEXT_SEARCH`` variable (default: 'en') is a comma separated list of
|
||||
language codes as defined on `fts_languages`_. This feature can be disabled
|
||||
(e.g. for performance reasons) by setting the variable to ``off``.
|
||||
|
||||
You can set a global ``DEFAULT_QUOTA`` to be used for mailboxes when the domain has
|
||||
no specific quota configured.
|
||||
|
||||
.. _`fts_languages`: https://doc.dovecot.org/settings/plugin/fts-plugin/#fts-languages
|
||||
|
||||
.. _web_settings:
|
||||
|
||||
Web settings
|
||||
|
@ -110,7 +110,9 @@ COMPRESSION={{ compression }}
|
||||
# change compression-level, default: 6 (value: 1-9)
|
||||
COMPRESSION_LEVEL={{ compression_level }}
|
||||
|
||||
# IMAP full-text search is enabled by default. Set the following variable to off in order to disable the feature.
|
||||
# IMAP full-text search is enabled by default.
|
||||
# Set the following variable to off in order to disable the feature
|
||||
# or a comma separated list of language codes to support
|
||||
# FULL_TEXT_SEARCH=off
|
||||
|
||||
###################################
|
||||
|
Loading…
Reference in New Issue
Block a user