summaryrefslogtreecommitdiffstats
path: root/src/spf.h
diff options
context:
space:
mode:
authorVsevolod Stakhov <vsevolod@rambler-co.ru>2009-12-04 19:46:01 +0300
committerVsevolod Stakhov <vsevolod@rambler-co.ru>2009-12-04 19:46:01 +0300
commit4639b204c25a13638bee42eceb4004e6ba0c67ec (patch)
treeaaa6003dabd6a38b1d00a0ffdd13bf34514ca132 /src/spf.h
parent2f551bd813a96567bac80aeaa186b706571b69f7 (diff)
downloadrspamd-4639b204c25a13638bee42eceb4004e6ba0c67ec.tar.gz
rspamd-4639b204c25a13638bee42eceb4004e6ba0c67ec.zip
* Updates to spf system:
- add plugin to work with spf records (initial version) - make all spf types working (except include and redirect that still need some attention) - add support of MX records to evdns - some major fixes and testing of the whole spf subsystem
Diffstat (limited to 'src/spf.h')
-rw-r--r--src/spf.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/spf.h b/src/spf.h
index b31980958..9c0f872b7 100644
--- a/src/spf.h
+++ b/src/spf.h
@@ -21,6 +21,7 @@ typedef enum spf_action_e {
SPF_RESOLVE_PTR,
SPF_RESOLVE_REDIRECT,
SPF_RESOLVE_INCLUDE,
+ SPF_RESOLVE_EXISTS,
SPF_RESOLVE_EXP
} spf_action_t;
@@ -33,7 +34,8 @@ struct spf_addr {
struct spf_record {
char **elts;
- char **cur_elt;
+ char *cur_elt;
+ int elt_num;
int nested;
int dns_requests;