aboutsummaryrefslogtreecommitdiffstats
path: root/src/libserver/spf.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/libserver/spf.c')
-rw-r--r--src/libserver/spf.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/libserver/spf.c b/src/libserver/spf.c
index a3a1b95f8..df8af3bf3 100644
--- a/src/libserver/spf.c
+++ b/src/libserver/spf.c
@@ -670,6 +670,10 @@ spf_record_dns_callback (struct rdns_reply *reply, gpointer arg)
cb->rec->requests_inflight++;
}
}
+ else {
+ cb->addr->flags |= RSPAMD_SPF_FLAG_RESOLVED;
+ cb->addr->flags &= ~RSPAMD_SPF_FLAG_PERMFAIL;
+ }
}
else {
cb->addr->flags |= RSPAMD_SPF_FLAG_RESOLVED;