comparison src/dnsbl.h @ 136:f4746d8a12a3

add smtp auth rate limits
author carl
date Tue, 26 Sep 2006 13:59:14 -0700
parents d9d2f8699621
children ecb40aa3eaa5
comparison
equal deleted inserted replaced
135:8e813497582e 136:f4746d8a12a3
20 int ip; // ip4 address of the smtp client 20 int ip; // ip4 address of the smtp client
21 map<DNSBLP, bool> checked; // map of dnsblp to result of (ip listed on that dnsbl) 21 map<DNSBLP, bool> checked; // map of dnsblp to result of (ip listed on that dnsbl)
22 // message specific data 22 // message specific data
23 char *mailaddr; // envelope from value 23 char *mailaddr; // envelope from value
24 char *queueid; // sendmail queue id 24 char *queueid; // sendmail queue id
25 bool authenticated; // client authenticated? if so, suppress all dnsbl checks 25 char *authenticated; // client authenticated? if so, suppress all dnsbl checks, but check rate limits
26 bool have_whites; // have at least one whitelisted recipient? need to accept content and remove all non-whitelisted recipients if it fails 26 bool have_whites; // have at least one whitelisted recipient? need to accept content and remove all non-whitelisted recipients if it fails
27 bool only_whites; // every recipient is whitelisted? 27 bool only_whites; // every recipient is whitelisted?
28 context_map env_to; // map each non-whitelisted recipient to their filtering context 28 context_map env_to; // map each non-whitelisted recipient to their filtering context
29 recorder *memory; // memory for the content scanner 29 recorder *memory; // memory for the content scanner
30 url_scanner *scanner; // object to handle body scanning 30 url_scanner *scanner; // object to handle body scanning