diff src/dnsbl.h @ 178:d6531c702be3

embedded dcc filtering
author carl
date Thu, 04 Oct 2007 22:45:21 -0700
parents a4d313c2460b
children 7a722f482bfb
line wrap: on
line diff
--- a/src/dnsbl.h	Sun Sep 30 10:27:14 2007 -0700
+++ b/src/dnsbl.h	Thu Oct 04 22:45:21 2007 -0700
@@ -11,6 +11,7 @@
 
 #include "context.h"
 #include "spamass.h"
+#include "dccifd.h"
 
 extern int debug_syslog;
 
@@ -36,7 +37,10 @@
 	char			*client_name;			// fully qualified host name of the smtp client
 	bool			have_whites;			// have at least one whitelisted recipient? need to accept content and remove all non-whitelisted recipients if it fails
 	bool			only_whites;			// every recipient is whitelisted?
-	bool			want_spamassassin;		// at least one non-whitelisted recipients has a non zero spamassassin limit
+	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
+	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
 	url_scanner 	*scanner;				// object to handle body scanning
@@ -46,6 +50,7 @@
 	char			*uribl_message; 		// ""
 	string_set		*content_host_ignore;	// ""
 	SpamAssassin	*assassin;
+	DccInterface	*dccifd;
 
 
 	mlfiPriv();