1
0
mirror of https://github.com/Mailu/Mailu.git synced 2025-08-10 22:31:47 +02:00
This commit is contained in:
Florent Daigniere
2023-11-07 09:23:22 +01:00
parent fe9b16142f
commit 239ef0092e
2 changed files with 3 additions and 3 deletions

View File

@@ -18,7 +18,7 @@ $config['session_lifetime'] = {{ (((PERMANENT_SESSION_LIFETIME | default(10800))
$config['request_path'] = '{{ WEB_WEBMAIL or "none" }}'; $config['request_path'] = '{{ WEB_WEBMAIL or "none" }}';
$config['trusted_host_patterns'] = [ {{ HOSTNAMES.split(",") | map("tojson") | join(',') }}]; $config['trusted_host_patterns'] = [ {{ HOSTNAMES.split(",") | map("tojson") | join(',') }}];
{% (FULL_TEXT_SEARCH or '').lower() not in ['off', 'false', '0'] %} {% if (FULL_TEXT_SEARCH or '').lower() not in ['off', 'false', '0'] %}
$config['search_mods'] = ['*' => ['subject'=>1, 'from'=>1, 'to'=>1, 'cc'=>1, 'bcc'=>1, 'replyto'=>1, 'followupto'=>1, 'body'=>1]]; $config['search_mods'] = ['*' => ['subject'=>1, 'from'=>1, 'to'=>1, 'cc'=>1, 'bcc'=>1, 'replyto'=>1, 'followupto'=>1, 'body'=>1]];
$config['search_scope'] = 'sub'; $config['search_scope'] = 'sub';
{% endif %} {% endif %}

View File

@@ -13,8 +13,8 @@
"disable_compression": true, "disable_compression": true,
"security_level": 1 "security_level": 1
}, },
{% (FULL_TEXT_SEARCH or '').lower() not in ['off', 'false', '0'] %} {% if (FULL_TEXT_SEARCH or '').lower() not in ['off', 'false', '0'] %}
"fast_simple_search": "false", "fast_simple_search": "false",
{% endif %} {% endif %}
}, },
"SMTP": { "SMTP": {