Mercurial > dnsbl
diff src/context.h @ 421:22027ad2a28f stable-6-0-58
spf code now handles %{d} and %{h} macros; use envelope from value for spf if it is a subdomain of the header from domain
author | Carl Byington <carl@five-ten-sg.com> |
---|---|
date | Fri, 19 May 2017 13:44:13 -0700 |
parents | c378e9d03f37 |
children | c9b7b6dd1206 |
line wrap: on
line diff
--- a/src/context.h Wed Apr 26 09:27:01 2017 -0700 +++ b/src/context.h Fri May 19 13:44:13 2017 -0700 @@ -317,6 +317,7 @@ 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); 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);