aboutsummaryrefslogtreecommitdiffstats
path: root/src/libserver/spf.h
diff options
context:
space:
mode:
authorAndrew Lewis <nerf@judo.za.org>2016-09-26 11:39:25 +0200
committerAndrew Lewis <nerf@judo.za.org>2016-09-26 11:39:25 +0200
commit18b3d066748baff20608adfa2270c50a40704c88 (patch)
tree009c73d1fac0eb8d1e6d721aee641d150330481d /src/libserver/spf.h
parentaa4e6f0e09a45d0e82be4d495e97a7c9eb7342a8 (diff)
downloadrspamd-18b3d066748baff20608adfa2270c50a40704c88.tar.gz
rspamd-18b3d066748baff20608adfa2270c50a40704c88.zip
[Minor] Fix SPF PERMFAIL/DNSFAIL behaviour on failed redirect
Diffstat (limited to 'src/libserver/spf.h')
-rw-r--r--src/libserver/spf.h2
1 files changed, 2 insertions, 0 deletions
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 */
};