Skip to main content

How to Install Distributed Checksum Clearinghouse (DCC) on CentOS Web Panel for Postfix/Dovecot ?

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 dcc-servers.net and Rhyolite SoftwareThe license on the free source is in the source as well as dcc-servers.net. 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. https://www.mirrorservice.org/sites/dl.atrpms.net/el7-x86_64/atrpms/stable/DCC-1.3.145-25.el7.x86_64.rpm  [This will not work ]
2. https://rpmfind.net/linux/atrpms/sl7-x86_64/atrpms/stable/DCC-1.3.145-25.el7.x86_64.rpm [ Use This ]
DCC Installation:
# yum install sendmail-milter ( already installed )
# rpm -Uvh https://rpmfind.net/linux/atrpms/sl7-x86_64/atrpms/stable/DCC-1.3.145-25.el7.x86_64.rpm
# rpm -qa | grep DCC
Enable the DCC plugin
# 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
If DCC Installation Failed
# yum groupinstall 'Development Tools'
Location
/var/lib/spamassassin/3.004001/updates_spamassassin_org/25_pyzor.cf
/var/lib/spamassassin/3.004001/updates_spamassassin_org/25_razor2.cf
/var/lib/spamassassin/3.004001/updates_spamassassin_org/25_dcc.cf
Add the following to /etc/mail/spamassassin/local.cf
# 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  and dcc_path /usr/bin/dccproc ( use it )
Other Location: /usr/libexec/dcc , Copy the below Command
# cp /usr/bin/dccproc /usr/local/bin/dccproc
# cp /usr/bin/cdcc /usr/local/bin/
DCC Check
# find / -name cdcc
# which cdcc
DCC Test
# cdcc info
# spamassassin -t -D dcc < /usr/share/doc/spamassassin-3.4.0/sample-spam.txt
DCC RPM Source :
https://rpmfind.net/linux/RPM/atrpms/sl7/x86_64/stable/DCC-1.3.145-25.el7.x86_64.html

N.B: Must Install below packages via Perl 
Geo::IP
Net::Patricia

DCC Updated Configuration for MailScanner with MailWatch on CentOS 7 for CWP7.Pro
# DCC
use_dcc 1
#dcc_home /etc/dcc
dcc_home /var/dcc
dcc_path /usr/bin/dccproc
#dcc_path /usr/local/bin/dccproc
dcc_timeout     10
add_header all  DCC _DCCB_: _DCCR_
score DCC_CHECK 4.000 
DCC RPM Package DownLoad Link

Comments