summaryrefslogtreecommitdiffstats
path: root/src/plugins
diff options
context:
space:
mode:
authorVsevolod Stakhov <vsevolod@highsecure.ru>2019-11-08 15:44:36 +0000
committerVsevolod Stakhov <vsevolod@highsecure.ru>2019-11-08 15:44:36 +0000
commit66005f3fa335c9f9acc37a7315ec5ab5d3abde66 (patch)
tree658ee4eba23793133b6cfc137282613feb28479b /src/plugins
parente69038f5a663de4f1815796a5cb74d752d78a2a8 (diff)
downloadrspamd-66005f3fa335c9f9acc37a7315ec5ab5d3abde66.tar.gz
rspamd-66005f3fa335c9f9acc37a7315ec5ab5d3abde66.zip
[Feature] Allow to disable symbols from the metric config
Diffstat (limited to 'src/plugins')
-rw-r--r--src/plugins/dkim_check.c4
-rw-r--r--src/plugins/fuzzy_check.c2
-rw-r--r--src/plugins/spf.c2
3 files changed, 4 insertions, 4 deletions
diff --git a/src/plugins/dkim_check.c b/src/plugins/dkim_check.c
index 410a38309..ebe2292a1 100644
--- a/src/plugins/dkim_check.c
+++ b/src/plugins/dkim_check.c
@@ -538,7 +538,7 @@ dkim_module_config (struct rspamd_config *cfg)
0.0,
"DKIM check callback",
"policies",
- RSPAMD_SYMBOL_FLAG_IGNORE,
+ RSPAMD_SYMBOL_FLAG_IGNORE_METRIC,
1,
1);
rspamd_config_add_symbol_group (cfg, "DKIM_CHECK", "dkim");
@@ -585,7 +585,7 @@ dkim_module_config (struct rspamd_config *cfg)
0.0,
"DKIM trace symbol",
"policies",
- RSPAMD_SYMBOL_FLAG_IGNORE,
+ RSPAMD_SYMBOL_FLAG_IGNORE_METRIC,
1,
1);
rspamd_config_add_symbol_group (cfg, "DKIM_TRACE", "dkim");
diff --git a/src/plugins/fuzzy_check.c b/src/plugins/fuzzy_check.c
index 5f706e237..3162c1f0e 100644
--- a/src/plugins/fuzzy_check.c
+++ b/src/plugins/fuzzy_check.c
@@ -1060,7 +1060,7 @@ fuzzy_check_module_config (struct rspamd_config *cfg)
0.0,
"Fuzzy check callback",
"fuzzy",
- RSPAMD_SYMBOL_FLAG_IGNORE,
+ RSPAMD_SYMBOL_FLAG_IGNORE_METRIC,
1,
1);
diff --git a/src/plugins/spf.c b/src/plugins/spf.c
index 3c02eafbe..6f120786c 100644
--- a/src/plugins/spf.c
+++ b/src/plugins/spf.c
@@ -349,7 +349,7 @@ spf_module_config (struct rspamd_config *cfg)
0.0,
"SPF check callback",
"policies",
- RSPAMD_SYMBOL_FLAG_IGNORE,
+ RSPAMD_SYMBOL_FLAG_IGNORE_METRIC,
1,
1);
rspamd_config_add_symbol_group (cfg, "SPF_CHECK", "spf");