comparison 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
comparison
equal deleted inserted replaced
461:c22fc705c597 462:f3f1ece619ba
321 string_set& get_html_tags(); 321 string_set& get_html_tags();
322 dnsblp_list& get_dnsbl_list(); 322 dnsblp_list& get_dnsbl_list();
323 dnswlp_list& get_dnswl_list(); 323 dnswlp_list& get_dnswl_list();
324 324
325 void log(const char *queueid, const char *msg, const char *v); 325 void log(const char *queueid, const char *msg, const char *v);
326 const char *extra_spf_data(const char *signers);
326 bool in_signing_set(const char *s, const char *signers); 327 bool in_signing_set(const char *s, const char *signers);
327 void replace(char *buf, char *p, const char *what); 328 void replace(char *buf, char *p, const char *what);
328 bool resolve_spf(const char *from, uint32_t ip, mlfiPriv *priv); 329 bool resolve_spf(const char *from, uint32_t ip, mlfiPriv *priv, const char *extraspf);
329 bool resolve_one_spf(const char *from, uint32_t ip, mlfiPriv *priv, int level = 0); 330 bool resolve_one_spf(const char *from, uint32_t ip, mlfiPriv *priv, const char *extraspf, int level = 0);
330 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); 331 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);
331 bool ignore_host(const char *host); 332 bool ignore_host(const char *host);
332 333
333 void dump(bool isdefault, bool &spamass, int level = 0); 334 void dump(bool isdefault, bool &spamass, int level = 0);
334 }; 335 };