aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--conf/modules.d/milter_headers.conf1
-rw-r--r--src/plugins/lua/milter_headers.lua1
2 files changed, 1 insertions, 1 deletions
diff --git a/conf/modules.d/milter_headers.conf b/conf/modules.d/milter_headers.conf
index 99892f8af..e01d6e0f4 100644
--- a/conf/modules.d/milter_headers.conf
+++ b/conf/modules.d/milter_headers.conf
@@ -18,7 +18,6 @@ milter_headers {
# Refer to https://rspamd.com/doc/modules/milter_headers.html for information on configuration
use = [];
- remove_upstream_spam_flag = true;
# Compatibility
.include(try=true,priority=5) "${DBDIR}/dynamic/rmilter_headers.conf"
diff --git a/src/plugins/lua/milter_headers.lua b/src/plugins/lua/milter_headers.lua
index 6f8638f58..11c08d6d5 100644
--- a/src/plugins/lua/milter_headers.lua
+++ b/src/plugins/lua/milter_headers.lua
@@ -29,6 +29,7 @@ local E = {}
local HOSTNAME = util.get_hostname()
local settings = {
+ remove_upstream_spam_flag = true;
skip_local = true,
skip_authenticated = true,
local_headers = {},