summaryrefslogtreecommitdiffstats
path: root/src/plugins/spf.c
diff options
context:
space:
mode:
authorVsevolod Stakhov <vsevolod@highsecure.ru>2016-04-21 19:13:02 +0100
committerVsevolod Stakhov <vsevolod@highsecure.ru>2016-04-21 19:13:02 +0100
commit31b9c69f8e2fd15d74d1b04094ceed4082da119a (patch)
tree11dd55dee51c9bfec98c1507b0dadf9e8ce7ce69 /src/plugins/spf.c
parentcd29781e131de453482ec4193b5df8bcaabbc34a (diff)
downloadrspamd-31b9c69f8e2fd15d74d1b04094ceed4082da119a.tar.gz
rspamd-31b9c69f8e2fd15d74d1b04094ceed4082da119a.zip
[Feature] Allow SPF to be checked for empty tasks
Diffstat (limited to 'src/plugins/spf.c')
-rw-r--r--src/plugins/spf.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/plugins/spf.c b/src/plugins/spf.c
index a71958b4c..8d666b93a 100644
--- a/src/plugins/spf.c
+++ b/src/plugins/spf.c
@@ -230,7 +230,7 @@ spf_module_config (struct rspamd_config *cfg)
0,
spf_symbol_callback,
NULL,
- SYMBOL_TYPE_NORMAL|SYMBOL_TYPE_FINE, -1);
+ SYMBOL_TYPE_NORMAL|SYMBOL_TYPE_FINE|SYMBOL_TYPE_EMPTY, -1);
rspamd_symbols_cache_add_symbol (cfg->cache,
spf_module_ctx->symbol_softfail, 0,
NULL, NULL,