Mercurial > dnsbl
comparison 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 |
comparison
equal
deleted
inserted
replaced
420:4901cdbc1fca | 421:22027ad2a28f |
---|---|
315 dnsblp_list& get_dnsbl_list(); | 315 dnsblp_list& get_dnsbl_list(); |
316 dnswlp_list& get_dnswl_list(); | 316 dnswlp_list& get_dnswl_list(); |
317 | 317 |
318 void log(const char *queueid, const char *msg, const char *v); | 318 void log(const char *queueid, const char *msg, const char *v); |
319 bool in_signing_set(const char *s, const char *signers); | 319 bool in_signing_set(const char *s, const char *signers); |
320 void replace(char *buf, char *p, const char *what); | |
320 bool resolve_spf(const char *from, uint32_t ip, mlfiPriv *priv, int level = 0); | 321 bool resolve_spf(const char *from, uint32_t ip, mlfiPriv *priv, int level = 0); |
321 const char *acceptable_content(recorder &memory, int score, int bulk, const char *queueid, string_set &signers, const char *from, mlfiPriv *priv, string& msg); | 322 const char *acceptable_content(recorder &memory, int score, int bulk, const char *queueid, string_set &signers, const char *from, mlfiPriv *priv, string& msg); |
322 bool ignore_host(const char *host); | 323 bool ignore_host(const char *host); |
323 | 324 |
324 void dump(bool isdefault, bool &spamass, int level = 0); | 325 void dump(bool isdefault, bool &spamass, int level = 0); |