Mercurial > dnsbl
comparison 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 |
comparison
equal
deleted
inserted
replaced
256:818cabace58f | 257:d11b529ce9c5 |
---|---|
38 map<DNSWLP, bool> checked_white; // map of dnswlp to result of (ip listed on that dnswl) | 38 map<DNSWLP, bool> checked_white; // map of dnswlp to result of (ip listed on that dnswl) |
39 // message specific data | 39 // message specific data |
40 const char *mailaddr; // envelope from value | 40 const char *mailaddr; // envelope from value |
41 const char *queueid; // sendmail queue id | 41 const char *queueid; // sendmail queue id |
42 const char *authenticated; // client authenticated? if so, suppress all dnsbl checks, but check rate limits | 42 const char *authenticated; // client authenticated? if so, suppress all dnsbl checks, but check rate limits |
43 const char *client_name; // fully qualified host name of the smtp client | 43 const char *client_name; // fully qualified host name of the smtp client xxx [ip.ad.dr.es] (may be forged) |
44 char *client_dns_name; // fully qualified host name of the smtp client xxx | |
44 const char *host_uribl; // pointer to helo/client/from host name if found on uribl | 45 const char *host_uribl; // pointer to helo/client/from host name if found on uribl |
45 string_set hosts_uribl; // string set to hold the helo/client/from host name if found on uribl | 46 string_set hosts_uribl; // string set to hold the helo/client/from host name if found on uribl |
46 bool helo_uribl; // helo value on uribl | 47 bool helo_uribl; // helo value on uribl |
47 bool client_uribl; // client_name on uribl | 48 bool client_uribl; // client_name on uribl |
48 bool from_uribl; // envelope from value on uribl | 49 bool from_uribl; // envelope from value on uribl |