diff 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
line wrap: on
line diff
--- a/src/dnsbl.h	Sat Nov 10 16:20:51 2007 -0800
+++ b/src/dnsbl.h	Sun Nov 11 12:49:25 2007 -0800
@@ -44,6 +44,8 @@
 	bool			want_spamassassin;		// at least one non-whitelisted recipient has a non zero spamassassin limit
 	bool			want_dccgrey;			// at least one non-whitelisted recipient wants dcc greylisting
 	bool			want_dccbulk;			// at least one non-whitelisted recipient wants dcc bulk filtering
+    bool            is_bulk_precedence;     // have precedence:bulk header to prevent autowhitelisting
+    delay_whitelist delayer;                // to remember autowhitelisting until we see headers
 	CONTEXT 		*content_context;		// first non-whitelisted recipient with a content filtering context
 	context_map 	env_to; 				// map each non-whitelisted recipient to their filtering context
 	recorder		*memory;				// memory for the content scanner