Author Topic: Install DCC for Postfix/Dovecot Spam Filtering along with SpamAssassin  (Read 3508 times)

0 Members and 1 Guest are viewing this topic.

Please do not try to use the ancient, modified versions of DCC software distributed by some Linux packagers. Those versions do not detect bulk mail as well as more recent versions. Installations using those old versions also have problems using the public DCC servers that often make it necessary to add their IP addresses to the blacklist that protects the public DCC servers.

The DCC source is available at and Rhyolite Software. The license on the free source is in the source as well as The free license is intended to cover individuals and organizations including Internet service providers using DCC to filter their own mail. Organizations selling anti-spam appliances or managed mail services are not eligible for the free license.

Distributed Checksum Clearinghouse (DCC) Installation:
Open UDP_OUT port 6277 in firewall.

DCC RPM Sources:
1.  [This will not work ]
2. [ Use This ]

DCC Installation:
Code: [Select]
# yum install sendmail-milter ( already installed )
# rpm -Uvh
# rpm -qa | grep DCC

If DCC Installation Failed
Code: [Select]
# yum groupinstall 'Development Tools'
Enable the DCC plugin
Code: [Select]
# vi /etc/mail/spamassassin/v310.pre
 # DCC - perform DCC message checks.
 # DCC is disabled here because it is not open source.  See the DCC
 # license for more details.
 loadplugin Mail::SpamAssassin::Plugin::DCC

Add the following to /etc/mail/spamassassin/
Code: [Select]
# dcc
use_dcc 1
dcc_home /var/dcc
dcc_path /usr/local/bin/dccproc
dcc_timeout     10
add_header all  DCC _DCCB_: _DCCR_
score DCC_CHECK 4.000

N.B:Some of them using dcc_home /etc/dcc
Other Location: /usr/libexec/dcc

Copy the below Command
Code: [Select]
# cp /usr/bin/dccproc /usr/local/bin/dccproc
# cp /usr/bin/cdcc /usr/local/bin/

Code: [Select]
# find / -name cdcc
# which cdcc
Code: [Select]
# cdcc info