Topic: [Tutorial] Install and enable DCC Antispam on iRedmail/Ubuntu
As there is no repository for DCC for Ubuntu (no apt-get ) here is how I've installed DCC on my ubuntu 9.10 x64. It should work no problem on other versions too (10.04, i386, x64, etc.)
NOTE 1: Firewall: Allow outgoing and incoming UDP packets port 6277.
NOTE 2: The following steps assume you already have a compiler installed as gcc (apt-get install gcc)
NOTE 3: I have set a score of 1.5 on spamassassin to be a bit more conservative while we test the service. Of course you can use the value you prefer...
wget http://www.dcc-servers.net/dcc/source/dcc-dccproc.tar.Z
tar xzvf dcc-dccproc.tar.Z
cd dcc-dccproc-1.3.139
./configure --with-uid=amavis
make
make install
chown -R amavis:amavis /var/dcc
ln -s /var/dcc/libexec/dccifd /usr/local/bin/dccifd
vim /etc/spamassassin/local.cf
*** INSERT THESE LINES : ***
#dcc
use_dcc 1
dcc_path /usr/local/bin/dccproc
score DCC_CHECK 1.500
*** SAVE AND QUIT ***
vim /etc/spamassassin/v310.pre
*** UNCOMMENT THIS LINE ***
loadplugin Mail::SpamAssassin::Plugin::DCC
*** SAVE AND QUIT ***
*** check if spamassassin loads the module: ***
spamassassin --lint -D
*** check if you can reach the DCC servers ***
cdcc info
If everything is ok...
/etc/init.d/amavis restart
enjoy
Hope it helps...
Alberto
***
EDIT 1: I confirm I've tested it also on Ubuntu 10.04, both 32 and 64 bits
EDIT 2: DCC seems to be pretty good on detecting spam. No false positives... I've upped the spamassassin scoring to 2.5
----
Spider Email Archiver: On-Premises, lightweight email archiving software developed by iRedMail team. Supports Amazon S3 compatible storage and custom branding.