comparison src/context.h @ 381:879a470c6ac3

fetch spf txt records for required dkim signers
author Carl Byington <carl@five-ten-sg.com>
date Tue, 28 Feb 2017 17:02:07 -0800
parents 17f21fcd44a8
children c378e9d03f37
comparison
equal deleted inserted replaced
380:0495e767bfb7 381:879a470c6ac3
21 class VERIFY; 21 class VERIFY;
22 class SMTP; 22 class SMTP;
23 class WHITELISTER; 23 class WHITELISTER;
24 class DELAYWHITE; 24 class DELAYWHITE;
25 class recorder; 25 class recorder;
26 class mlfiPriv;
26 27
27 typedef map<const char *, const char *, ltstr> string_map; 28 typedef map<const char *, const char *, ltstr> string_map;
28 typedef set<int> int_set; 29 typedef set<int> int_set;
29 typedef set<int32_t> int32_t_set; 30 typedef set<int32_t> int32_t_set;
30 typedef int32_t_set * int32_t_set_p; 31 typedef int32_t_set * int32_t_set_p;
312 dnsblp_list& get_dnsbl_list(); 313 dnsblp_list& get_dnsbl_list();
313 dnswlp_list& get_dnswl_list(); 314 dnswlp_list& get_dnswl_list();
314 315
315 void log(const char *queueid, const char *msg, const char *v); 316 void log(const char *queueid, const char *msg, const char *v);
316 bool in_signing_set(const char *s, const char *signers); 317 bool in_signing_set(const char *s, const char *signers);
317 const char *acceptable_content(recorder &memory, int score, int bulk, const char *queueid, string_set &signers, const char *from, string& msg); 318 const char *acceptable_content(recorder &memory, int score, int bulk, const char *queueid, string_set &signers, const char *from, mlfiPriv *priv, string& msg);
318 bool ignore_host(const char *host); 319 bool ignore_host(const char *host);
319 320
320 void dump(bool isdefault, bool &spamass, int level = 0); 321 void dump(bool isdefault, bool &spamass, int level = 0);
321 }; 322 };
322 323