diff src/dnsbl.h @ 350:f4ca91f49cb6

send the original mail from address to the verify server, not the srs/pvrs unwrapped version; recognize our own dkim signatures
author Carl Byington <carl@five-ten-sg.com>
date Mon, 26 Dec 2016 09:31:57 -0800
parents 5e4b5540c8cc
children 7fd39f029936
line wrap: on
line diff
--- a/src/dnsbl.h	Fri Dec 23 09:47:40 2016 -0800
+++ b/src/dnsbl.h	Mon Dec 26 09:31:57 2016 -0800
@@ -38,7 +38,8 @@
     map<DNSBLP, bool> checked_black;        // map of dnsblp to result of (ip listed on that dnsbl)
     map<DNSWLP, bool> checked_white;        // map of dnswlp to result of (ip listed on that dnswl)
     // message specific data
-    const char      *mailaddr;              // envelope from value
+    const char      *origaddr;              // envelope from value, lowercase, no srs/pvrs unwrapping
+    const char      *mailaddr;              // envelope from value, lowercase, srs/pvrs unwapped
     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
@@ -80,7 +81,7 @@
     void return_fd();
     size_t my_read(char *buf, size_t len);
     size_t my_write(const char *buf, size_t len);
-    void need_content_filter(const char *rcpt, CONTEXT &con);
+    void need_content_filter(CONTEXT &con);
 };
 
 void my_syslog(const char *queueid, const char *text);