From 675f81b08b374559bf836d876257f9dc48a6467a Mon Sep 17 00:00:00 2001 From: Vsevolod Stakhov Date: Fri, 8 Sep 2017 08:00:42 +0100 Subject: [PATCH] [Minor] More efforts to handle SPF PTR properly --- src/libserver/spf.c | 1 + 1 file changed, 1 insertion(+) diff --git a/src/libserver/spf.c b/src/libserver/spf.c index 6378fa5d2..83a4053c8 100644 --- a/src/libserver/spf.c +++ b/src/libserver/spf.c @@ -673,6 +673,7 @@ spf_record_dns_callback (struct rdns_reply *reply, gpointer arg) } else { cb->addr->flags |= RSPAMD_SPF_FLAG_RESOLVED; + cb->addr->flags &= ~RSPAMD_SPF_FLAG_PERMFAIL; spf_record_process_addr (rec, addr, elt_data); } break; -- 2.39.5