aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/plugins/spf.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/plugins/spf.c b/src/plugins/spf.c
index 0ce88cea2..d45556ff2 100644
--- a/src/plugins/spf.c
+++ b/src/plugins/spf.c
@@ -511,9 +511,9 @@ spf_plugin_callback (struct spf_resolved *record, struct rspamd_task *task,
1,
NULL);
}
- else if (record && record->elts->len == 0 && record->temp_failed) {
+ else if (record && record->elts->len == 0) {
rspamd_task_insert_result (task,
- spf_module_ctx->symbol_dnsfail,
+ spf_module_ctx->symbol_permfail,
1,
NULL);
}