comparison src/dnsbl.h @ 168:6bac960af6b4

add generic reverse dns filtering regex
author carl
date Thu, 30 Aug 2007 11:08:46 -0700
parents 9b129ed78d7d
children a4d313c2460b
comparison
equal deleted inserted replaced
167:9b129ed78d7d 168:6bac960af6b4
31 map<DNSBLP, bool> checked; // map of dnsblp to result of (ip listed on that dnsbl) 31 map<DNSBLP, bool> checked; // map of dnsblp to result of (ip listed on that dnsbl)
32 // message specific data 32 // message specific data
33 char *mailaddr; // envelope from value 33 char *mailaddr; // envelope from value
34 char *queueid; // sendmail queue id 34 char *queueid; // sendmail queue id
35 char *authenticated; // client authenticated? if so, suppress all dnsbl checks, but check rate limits 35 char *authenticated; // client authenticated? if so, suppress all dnsbl checks, but check rate limits
36 char *client_name; // fully qualified host name of the smtp client
36 bool have_whites; // have at least one whitelisted recipient? need to accept content and remove all non-whitelisted recipients if it fails 37 bool have_whites; // have at least one whitelisted recipient? need to accept content and remove all non-whitelisted recipients if it fails
37 bool only_whites; // every recipient is whitelisted? 38 bool only_whites; // every recipient is whitelisted?
38 bool want_spamassassin; // at least one non-whitelisted recipients has a non zero spamassassin limit 39 bool want_spamassassin; // at least one non-whitelisted recipients has a non zero spamassassin limit
39 context_map env_to; // map each non-whitelisted recipient to their filtering context 40 context_map env_to; // map each non-whitelisted recipient to their filtering context
40 recorder *memory; // memory for the content scanner 41 recorder *memory; // memory for the content scanner