]> source.dussan.org Git - rspamd.git/commitdiff
[Minor] More efforts to handle SPF PTR properly
authorVsevolod Stakhov <vsevolod@highsecure.ru>
Fri, 8 Sep 2017 07:00:42 +0000 (08:00 +0100)
committerVsevolod Stakhov <vsevolod@highsecure.ru>
Sat, 9 Sep 2017 11:28:31 +0000 (12:28 +0100)
src/libserver/spf.c

index 6378fa5d2d80dfc4ebe7a357b7666ec82c2dab91..83a4053c81a4f92c92daae9711772046de19ff23 100644 (file)
@@ -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;