diff src/dnsbl.h @ 377:7fd39f029936

reject if dkim signer is listed on surbl
author Carl Byington <carl@five-ten-sg.com>
date Sat, 18 Feb 2017 15:06:32 -0800
parents f4ca91f49cb6
children c378e9d03f37
line wrap: on
line diff
--- a/src/dnsbl.h	Wed Feb 08 11:40:44 2017 -0800
+++ b/src/dnsbl.h	Sat Feb 18 15:06:32 2017 -0800
@@ -49,8 +49,8 @@
     const char      *client_name;           // fully qualified host name of the smtp client xxx [ip.ad.dr.es] (may be forged)
           char      *client_dns_name;       // fully qualified host name of the smtp client xxx
     bool            client_dns_forged;      // rdns mismatch
-    const char      *host_uribl;            // pointer to helo/client/from host name if found on uribl
-    string_set      hosts_uribl;            // string set to hold the helo/client/from host name if found on uribl
+    const char      *host_uribl;            // pointer to helo/client/from/signer host name if found on uribl
+    string_set      hosts_uribl;            // string set to hold the helo/client/from/signer host name if found on uribl
     bool            helo_uribl;             // helo value on uribl
     bool            client_uribl;           // client_name on uribl
     bool            from_uribl;             // envelope from value on uribl
@@ -81,6 +81,7 @@
     void return_fd();
     size_t my_read(char *buf, size_t len);
     size_t my_write(const char *buf, size_t len);
+    const char *check_uribl_signers();
     void need_content_filter(CONTEXT &con);
 };