diff options
author | Vsevolod Stakhov <vsevolod@rspamd.com> | 2024-07-17 12:26:54 +0100 |
---|---|---|
committer | Vsevolod Stakhov <vsevolod@rspamd.com> | 2024-07-17 12:26:54 +0100 |
commit | dd47f82a317ad2ed9a9270c9779bf866ff5989fd (patch) | |
tree | 5d5c0278a806da9562de732c9cc6618d218b6299 | |
parent | ec5de28f160e312ea2795cb4a82368a1fbb0c9ea (diff) | |
download | rspamd-dd47f82a317ad2ed9a9270c9779bf866ff5989fd.tar.gz rspamd-dd47f82a317ad2ed9a9270c9779bf866ff5989fd.zip |
[Minor] Disable mime utf by default
-rw-r--r-- | conf/options.inc | 4 | ||||
-rw-r--r-- | src/libserver/cfg_utils.cxx | 2 |
2 files changed, 3 insertions, 3 deletions
diff --git a/conf/options.inc b/conf/options.inc index 41004c262..fd9b662ab 100644 --- a/conf/options.inc +++ b/conf/options.inc @@ -71,5 +71,5 @@ task_timeout = 8s; # Emit soft reject when timeout takes place soft_reject_on_timeout = false; -# Use utf8 mode for mime operations -enable_mime_utf = true; +# Use utf8 mode for mime operations (use if your MTA announces SMTPUTF8 support) +enable_mime_utf = false; diff --git a/src/libserver/cfg_utils.cxx b/src/libserver/cfg_utils.cxx index 92a230395..f17caa8a5 100644 --- a/src/libserver/cfg_utils.cxx +++ b/src/libserver/cfg_utils.cxx @@ -341,7 +341,7 @@ rspamd_config_new(enum rspamd_config_init_flags flags) cfg->heartbeat_interval = 10.0; cfg->enable_css_parser = true; - cfg->enable_mime_utf = true; + cfg->enable_mime_utf = false; cfg->script_modules = g_ptr_array_new(); REF_INIT_RETAIN(cfg, rspamd_config_free); |