Install DCC on cpanel server

By | 2 August 2018

Install DCC

NOTE: You need to open UDP Port 6277 in the firewall.

Download http://www.dcc-servers.net/dcc/source/dcc.tar.Z into /usr/local/src

Extract and install:

tar xvzf zxvf dcc-dccd.tar.Z
cd dcc-dccd-*
./configure
make
make install

Configure to run as a daemon

cd /var/dcc
nano dcc_conf

Change DCCD_ENABLE to off, and DCCIFD_ENABLE to on.

Configure startup script

cd /etc/rc.d/init.d
ln -s /var/dcc/libexec/rcDCC DCC
chkconfig --add DCC
/etc/rc.d/init.d/DCC start

Configure a cronjob to clean temporary file daily

cd /etc/cron.daily
ln -s /var/dcc/libexec/cron-dccd

Enable DCC

nano /etc/mail/spamassassin/v310.pre

Enable DCC from the list

That’s all folk.