/* Copyright (c) Wolfgang Breyha 2005-2008 * Vienna University Computer Center * wbreyha@gmx.net * License: same as current exim distribution * See the file NOTICE for conditions of use and distribution. */ /* This patch is based on code from Tom Kistners exiscan (ACL integration) and * the DCC local_scan patch from Christopher Bodenstein */ INSTALLATION: ------------ Apply the patch and add EXPERIMENTAL_DCC=yes to your Makefile. (Re-)build/install exim. exim -d should show EXPERIMENTAL_DCC under "Support for". CONFIGURATION: ------------- In the main section of exim.cf add at least dccifd_address = /usr/local/dcc/var/dccifd or dccifd_address = In the DATA ACL you can use the new condition dcc = * After that "dcc_header" contains the X-DCC-Header. *** WARNING: return codes changed from previous releases! Returnvalues are: fail for overall "R", "G" from dccifd defer for overall "T" from dccifd accept for overall "A", "S" from dccifd dcc = */defer_ok works as for spamd. dcc_result contains the overall result from DCC answer usually you'll use defer !dcc = * to greylist with DCC. if dcc_direct_add_header = true is set, then the dcc header will be added "in deep" and if the spool file was already written it gets removed. This forces exim to write it again if needed. This helps to get the DCC Header through to eg. SpamAssassin. if you want to pass even more headers in the middle of the DATA stage you can use $acl_m_dcc_add_header to add information from eg. ClamAV. Be carefull. Header syntax is not checked and added "as is".