# sample white list for DCC clients

# Changes in this file and the files it includes are noticed automatically
#   within a few minutes.


# See the dcc man page for the format of DCC white lists.
#   Each line must be in one of the forms:
#count [hex] type value
#      [hex] type value

#include pathname

#option log-all
#	log-normal
#	dcc-on
#	dcc-off
#	greylist-on
#	greylist-off
#	greylist-log-on
#	greylist-log-off
#	DCC-reps-off
#	DCC-reps-on
#	DNSBL-off
#	DNSBL-on
#	xfltr-off
#	xfltr-on
#	MTA-first
#	MTA-last
#	forced-discard-ok
#	forced-discard-nok

# Hexadecimal checksum values can be obtained from dccm, dccifd, and 
#   dccproc log files.

#	2006/05/29 01:59:05


# Do not tell the DCC servers about purely local mail.
#   If you don't delete this line, you should probably add lines listing
#   all of the host names of this system.
ok	ip	127.0.0.1

# List statically allocated IP addresses that you trust to never send
#   or forward unsolicited bulk email
#ok	ip	10.1.2.0/24

# List secondary MX servers or any MX servers that might forward spam
#   to this system.  Use "mxdcc" instead of "mx" if they run DCC clients
#mx	ip	10.3.4.5
#mx	ip	10.6.7.0/28
#mxdcc	ip	10.8.9.10

# Do not filter postmaster to avoid rejecting reports of spam.
#   As with all header checksums, all valid forms of the address must
#   be listed.
ok	env_to	postmaster
#	env_to	postmaster@example.com
#	env_to	postmaster@host.example.com

# See http://www.iecc.com/dcc-testmsg-whitelist.txt for list of checksums
#   of practically blank messages.  Such checksums can be usefully whitelisted.
#   See /var/dcc/libexec/fetch-testmsg-whitelist for a cron script to 
#   fetch them. 
#include testmsg-whitelist

# If dccm or dccifd is run with "-S mail_host" by adding that to DCCM_ARGS
#   or DCCIFD_ARGS in /var/dcc/dcc_conf, then uncommenting the following 
#   line would white-list all mail from the SMTP client at example.com.
#ok	substitute mail_host example.com

# If dccm, dccifd, or dccproc is run with "-S Mailing-list", then this line
#   would white-list all mail with either of two Mailing-List header
#   values:
#ok	hex substitute Mailing-List e78e0f7f b0d5212c 8a1a433a 769ad0fd
#ok	substitute Mailing-List host.example.com

# A lot of bulk mail lacks message-ID header lines.
#   If you receive much mail from lame mailing lists (often involving
#	qmail) or solicited bulk mail you probably do not want to use
#	this blacklist entry.
# many	message-id <>

# This rejects messages with substantial text but few words.
#   If you receive binary or non-text email, you probably
#   do not want to use this blacklist entry
#many	hex	FUZ2: 00000000 00000000 00000000 00000000

# Mail with SMTP HELO values commonly used seen in spam can be rejected
#   and reported to the DCC server as spam by running dccproc, dccifd, or dccm
#   with "-S HELO" and uncommenting the following lines:
#many	substitute helo localhost
#	substitute helo EmailSender
#	substitute helo laptop
#	substitute helo localhost.com
#	substitute helo localhost.localdomain
#	substitute helo whatever-your-domain-name-might-be.com
#	substitute helo newsserver
#	substitute helo oemcomputer
#	substitute helo proxy
#	substitute helo server
#	substitute helo Super
#	substitute helo test.com
#	substitute helo Testsmtp
#	substitute helo unknown
#	substitute helo webhome
#	substitute helo webserver
#	substitute helo www
#	substitute helo yourwebsite.com
#
#	substitute helo 10.0.0.1

# white list values common to the server and client
include whitecommon
