Mercurial > dnsbl
comparison src/dnsbl.h @ 192:8f4a9a37d4d9
delay autowhitelisting to avoid out of office reply bots
author | carl |
---|---|
date | Sun, 11 Nov 2007 12:49:25 -0800 |
parents | 004b855c6c1f |
children | 82886d4dd71f |
comparison
equal
deleted
inserted
replaced
191:2a67d31099c3 | 192:8f4a9a37d4d9 |
---|---|
42 bool have_whites; // have at least one whitelisted recipient? need to accept content and remove all non-whitelisted recipients if it fails | 42 bool have_whites; // have at least one whitelisted recipient? need to accept content and remove all non-whitelisted recipients if it fails |
43 bool only_whites; // every recipient is whitelisted? | 43 bool only_whites; // every recipient is whitelisted? |
44 bool want_spamassassin; // at least one non-whitelisted recipient has a non zero spamassassin limit | 44 bool want_spamassassin; // at least one non-whitelisted recipient has a non zero spamassassin limit |
45 bool want_dccgrey; // at least one non-whitelisted recipient wants dcc greylisting | 45 bool want_dccgrey; // at least one non-whitelisted recipient wants dcc greylisting |
46 bool want_dccbulk; // at least one non-whitelisted recipient wants dcc bulk filtering | 46 bool want_dccbulk; // at least one non-whitelisted recipient wants dcc bulk filtering |
47 bool is_bulk_precedence; // have precedence:bulk header to prevent autowhitelisting | |
48 delay_whitelist delayer; // to remember autowhitelisting until we see headers | |
47 CONTEXT *content_context; // first non-whitelisted recipient with a content filtering context | 49 CONTEXT *content_context; // first non-whitelisted recipient with a content filtering context |
48 context_map env_to; // map each non-whitelisted recipient to their filtering context | 50 context_map env_to; // map each non-whitelisted recipient to their filtering context |
49 recorder *memory; // memory for the content scanner | 51 recorder *memory; // memory for the content scanner |
50 url_scanner *scanner; // object to handle body scanning | 52 url_scanner *scanner; // object to handle body scanning |
51 char *content_suffix; // for url body filtering based on ip addresses of hostnames in the body | 53 char *content_suffix; // for url body filtering based on ip addresses of hostnames in the body |