comparison 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
comparison
equal deleted inserted replaced
422:9f47c3ad6443 423:c9b7b6dd1206
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 void replace(char *buf, char *p, const char *what);
321 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);
322 bool resolve_one_spf(const char *from, uint32_t ip, mlfiPriv *priv, int level = 0);
322 const char *acceptable_content(recorder &memory, int score, int bulk, const char *queueid, string_set &signers, const char *from, mlfiPriv *priv, string& msg); 323 const char *acceptable_content(recorder &memory, int score, int bulk, const char *queueid, string_set &signers, const char *from, mlfiPriv *priv, string& msg);
323 bool ignore_host(const char *host); 324 bool ignore_host(const char *host);
324 325
325 void dump(bool isdefault, bool &spamass, int level = 0); 326 void dump(bool isdefault, bool &spamass, int level = 0);
326 }; 327 };