diff src/dnsbl.h @ 257:d11b529ce9c5 stable-6-0-31

Fix uribl lookups on client dns name, need to strip the ip address in brackets
author Carl Byington <carl@five-ten-sg.com>
date Sun, 01 Jul 2012 10:13:30 -0700
parents 836b7f2357f9
children f941563c2a95
line wrap: on
line diff
--- a/src/dnsbl.h	Mon Apr 09 18:13:58 2012 -0700
+++ b/src/dnsbl.h	Sun Jul 01 10:13:30 2012 -0700
@@ -40,7 +40,8 @@
     const char      *mailaddr;              // envelope from value
     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
+    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
     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
     bool            helo_uribl;             // helo value on uribl