diff src/context.h @ 322:9f8411f3919c

add dkim white/black listing
author Carl Byington <carl@five-ten-sg.com>
date Sat, 17 Dec 2016 17:04:52 -0800
parents e172dc10fe24
children 5e4b5540c8cc
line wrap: on
line diff
--- a/src/context.h	Sat Dec 17 13:47:28 2016 -0800
+++ b/src/context.h	Sat Dec 17 17:04:52 2016 -0800
@@ -312,7 +312,7 @@
     dnsblp_list&    get_dnsbl_list();
     dnswlp_list&    get_dnswl_list();
 
-    bool        acceptable_content(recorder &memory, int score, int bulk, string& msg);
+    bool        acceptable_content(recorder &memory, int score, int bulk, const char *signer, const char *from, string& msg);
     bool        ignore_host(const char *host);
 
     void        dump(bool isdefault, bool &spamass, int level = 0);
@@ -389,10 +389,12 @@
 extern const char *token_white;
 extern const char *token_white_regex;
 extern const char *token_yes;
-extern const char *token_dkim;
+extern const char *token_dkim_signer;
+extern const char *token_dkim_from;
 extern const char *token_signed_white;
 extern const char *token_signed_black;
 extern const char *token_require_signed;
+extern const char *token_myhostname;
 
 extern pthread_mutex_t verifier_mutex;     // protect the verifier map
 extern pthread_mutex_t whitelister_mutex;  // protect the