From 18b3d066748baff20608adfa2270c50a40704c88 Mon Sep 17 00:00:00 2001 From: Andrew Lewis Date: Mon, 26 Sep 2016 11:39:25 +0200 Subject: [Minor] Fix SPF PERMFAIL/DNSFAIL behaviour on failed redirect --- src/libserver/spf.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/libserver/spf.h') diff --git a/src/libserver/spf.h b/src/libserver/spf.h index 1e2bcfe45..ab2d0bc53 100644 --- a/src/libserver/spf.h +++ b/src/libserver/spf.h @@ -39,6 +39,7 @@ typedef enum spf_action_e { #define RSPAMD_SPF_FLAG_REDIRECT (1 << 7) #define RSPAMD_SPF_FLAG_TEMPFAIL (1 << 8) #define RSPAMD_SPF_FLAG_NA (1 << 9) +#define RSPAMD_SPF_FLAG_PERMFAIL (1 << 10) struct spf_addr { guchar addr6[sizeof (struct in6_addr)]; @@ -61,6 +62,7 @@ struct spf_resolved { guint ttl; gboolean temp_failed; gboolean na; + gboolean perm_failed; GArray *elts; /* Flat list of struct spf_addr */ ref_entry_t ref; /* Refcounting */ }; -- cgit v1.2.3