Mercurial > dnsbl
diff src/context.h @ 423:c9b7b6dd1206 stable-6-0-59
use both envelope from and header from for spf checks when envelope from is a subdomain of the header from domain
author | Carl Byington <carl@five-ten-sg.com> |
---|---|
date | Wed, 26 Jul 2017 08:52:31 -0700 |
parents | 22027ad2a28f |
children | 6f2db3d19a34 |
line wrap: on
line diff
--- a/src/context.h Fri May 19 13:49:18 2017 -0700 +++ b/src/context.h Wed Jul 26 08:52:31 2017 -0700 @@ -318,7 +318,8 @@ void log(const char *queueid, const char *msg, const char *v); 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, int level = 0); + 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); const char *acceptable_content(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);