Mercurial > dnsbl
diff src/context.h @ 462:f3f1ece619ba stable-6-0-75
change dkim_from syntax to allow "signer1,signer2;spf data"
author | Carl Byington <carl@five-ten-sg.com> |
---|---|
date | Sat, 09 Mar 2019 18:46:25 -0800 |
parents | f2bc221240e8 |
children | 428de28b34b7 |
line wrap: on
line diff
--- a/src/context.h Mon Dec 24 09:41:04 2018 -0800 +++ b/src/context.h Sat Mar 09 18:46:25 2019 -0800 @@ -323,10 +323,11 @@ dnswlp_list& get_dnswl_list(); void log(const char *queueid, const char *msg, const char *v); + const char *extra_spf_data(const char *signers); bool in_signing_set(const char *s, const char *signers); void replace(char *buf, char *p, const char *what); - bool resolve_spf(const char *from, uint32_t ip, mlfiPriv *priv); - bool resolve_one_spf(const char *from, uint32_t ip, mlfiPriv *priv, int level = 0); + bool resolve_spf(const char *from, uint32_t ip, mlfiPriv *priv, const char *extraspf); + bool resolve_one_spf(const char *from, uint32_t ip, mlfiPriv *priv, const char *extraspf, int level = 0); const char *acceptable_content(bool local_source, recorder &memory, int score, int bulk, const char *queueid, string_set &signers, const char *from, mlfiPriv *priv, string& msg); bool ignore_host(const char *host);