Mercurial > notdcc
view homedir/whiteclnt @ 4:d329bb5c36d0
Changes making it compile the new upstream release
author | Peter Gervai <grin@grin.hu> |
---|---|
date | Tue, 10 Mar 2009 14:57:12 +0100 |
parents | c7f6b056b673 |
children |
line wrap: on
line source
# sample whitelist 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 whitelists. # Each line must be in one of the forms: #count [hex] type value # [hex] type value # Hexadecimal checksum values can be obtained from dccm, dccifd, and # dccproc log files. #include pathname #option log-all #option log-normal #option option log-subdirectory-day #option option log-subdirectory-hour #option option log-subdirectory-minute #option dcc-on #option dcc-off #option greylist-on #option greylist-off #option greylist-log-on #option greylist-log-off #option DCC-reps-off #option DCC-reps-on #option DNSBL-off #option DNSBL-on #option MTA-first #option MTA-last #option forced-discard-ok #option no-forced-discard #option threshold cksum_type,targets #option spam-trap-accept #option spam-trap-reject # 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 relays or any MX relays that might forward spam to this # system. #mx ip 10.3.4.5 #mx ip 10.6.7.0/28 # Use mxdcc instead of mx if the relay does DCC checks #mxdcc ip 10.8.9.10 # List SMTP submission clients such as web browsers that cannot tolerate # 4yz temporary rejections but that cannot be trusted to never send spam #submit ip 10.4.5.0/24 # 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 #ok env_to postmaster@example.com #ok 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 #many substitute helo EmailSender #many substitute helo Super #many substitute helo Testsmtp #many substitute helo laptop #many substitute helo localhost.com #many substitute helo localhost.localdomain #many substitute helo newsserver #many substitute helo oemcomputer #many substitute helo proxy #many substitute helo server #many substitute helo smtp.localhost.localdomain #many substitute helo test.com #many substitute helo unknown #many substitute helo webhome #many substitute helo webserver #many substitute helo whatever-your-domain-name-might-be.com #many substitute helo www #many substitute helo yourwebsite.com # #many substitute helo 10.0.0.1 #many substitute helo IP-addresses-of-your-DNS-HTTP-and-SMTP-servers # whitelist values common to the server and client include whitecommon