diff src/dnsbl.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/dnsbl.h	Sat Dec 17 13:47:28 2016 -0800
+++ b/src/dnsbl.h	Sat Dec 17 17:04:52 2016 -0800
@@ -40,6 +40,8 @@
     const char      *mailaddr;              // envelope from value
     const char      *fromaddr;              // header from value, set by mlfi_header()
     int             header_count;           // count of headers already seen
+    bool            dkim_ok;                // ok to proceed with dkim checking
+    const char      *dkim_signer;           // non null if message was validly signed
     const char      *queueid;               // sendmail queue id
     const char      *authenticated;         // client authenticated? if so, suppress all dnsbl checks, but check rate limits
     const char      *client_name;           // fully qualified host name of the smtp client xxx [ip.ad.dr.es] (may be forged)