Mercurial > dnsbl
comparison 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 |
comparison
equal
deleted
inserted
replaced
376:7ad7acf60758 | 377:7fd39f029936 |
---|---|
47 const char *queueid; // sendmail queue id | 47 const char *queueid; // sendmail queue id |
48 const char *authenticated; // client authenticated? if so, suppress all dnsbl checks, but check rate limits | 48 const char *authenticated; // client authenticated? if so, suppress all dnsbl checks, but check rate limits |
49 const char *client_name; // fully qualified host name of the smtp client xxx [ip.ad.dr.es] (may be forged) | 49 const char *client_name; // fully qualified host name of the smtp client xxx [ip.ad.dr.es] (may be forged) |
50 char *client_dns_name; // fully qualified host name of the smtp client xxx | 50 char *client_dns_name; // fully qualified host name of the smtp client xxx |
51 bool client_dns_forged; // rdns mismatch | 51 bool client_dns_forged; // rdns mismatch |
52 const char *host_uribl; // pointer to helo/client/from host name if found on uribl | 52 const char *host_uribl; // pointer to helo/client/from/signer host name if found on uribl |
53 string_set hosts_uribl; // string set to hold the helo/client/from host name if found on uribl | 53 string_set hosts_uribl; // string set to hold the helo/client/from/signer host name if found on uribl |
54 bool helo_uribl; // helo value on uribl | 54 bool helo_uribl; // helo value on uribl |
55 bool client_uribl; // client_name on uribl | 55 bool client_uribl; // client_name on uribl |
56 bool from_uribl; // envelope from value on uribl | 56 bool from_uribl; // envelope from value on uribl |
57 bool have_whites; // have at least one whitelisted recipient? need to accept content and remove all non-whitelisted recipients if it fails | 57 bool have_whites; // have at least one whitelisted recipient? need to accept content and remove all non-whitelisted recipients if it fails |
58 bool only_whites; // every recipient is whitelisted? | 58 bool only_whites; // every recipient is whitelisted? |
79 void reset(bool final = false); // for a new message | 79 void reset(bool final = false); // for a new message |
80 void get_fd(); | 80 void get_fd(); |
81 void return_fd(); | 81 void return_fd(); |
82 size_t my_read(char *buf, size_t len); | 82 size_t my_read(char *buf, size_t len); |
83 size_t my_write(const char *buf, size_t len); | 83 size_t my_write(const char *buf, size_t len); |
84 const char *check_uribl_signers(); | |
84 void need_content_filter(CONTEXT &con); | 85 void need_content_filter(CONTEXT &con); |
85 }; | 86 }; |
86 | 87 |
87 void my_syslog(const char *queueid, const char *text); | 88 void my_syslog(const char *queueid, const char *text); |
88 void my_syslog(mlfiPriv *priv, const char *text); | 89 void my_syslog(mlfiPriv *priv, const char *text); |