Distributed Checksum Clearinghouses (DCC) este un filtru antispam foarte eficient, bazat pe sume de control calculate pentru mesajele recunoscute drept spam. Sumele de control sunt publice şi implementarea sistemului este foarte simplă.
…
The idea of the DCC is that if mail recipients could compare the mail they receive, they could recognize unsolicited bulk mail. A DCC server totals reports of checksums of messages from clients and answers queries about the total counts for checksums of mail messages. A DCC client reports the checksums for a mail message to a server and is told the total number of recipients of mail with each checksum. If one of the totals is higher than a threshold set by the client and according to local whitelists the message is unsolicited, the DCC client can log, discard, or reject the message
DCC este foarte util ca şi ca filtru adiţional la Spamassassin.
Pentru a instala DCC, paşii sunt în mare aceştia (server Linux, Spamassassin instalat):
- Asiguraţi-vă că portul UDP 6277 este deschis spre ieşire (outbond UDP 6277);
eu folosesc un firewall excelent, denumit csf, pentru care setarea se face în fişierul /etc/csf/csf.confnano -w /etc/csf/csf.confverificaţi setarea UDP_OUT:
# Allow outgoing UDP ports
# To allow outgoing traceroute add 33434:33523 to this list
UDP_OUT = "20,21,53,113,123,873,953,6277"şi restartaţi firewall-ul:
csf -r - descărcaţi si instalati DCC:
cd ~
rm -f dcc.tar.Z
wget http://www.rhyolite.com/anti-spam/dcc/source/dcc-dccd.tar.Z
tar -zxvf dcc-dccd.tar.Z
cd dcc-dccd-1.3.2
./configure
make
make install
- Modificaţi DCC pentru a rula ca demon
nano -w /etc/dcc/dcc_confasigurati-va ca DCCD_ENABLE este off si DCCIFD_ENABLE este on.
DCCD_ENABLE=off
DCCIFD_ENABLE=onPregatiti script-ul de start a serviciului
cd /etc/rc.d/init.d
ln -s /var/dcc/libexec/rcDCC DCC
chkconfig --add DCC
/etc/rc.d/init.d/DCC startsi mai puneti un link spre un program zilnic de curatenie
cd /etc/cron.daily
ln -s /var/dcc/libexec/cron-dccd - Activati modulul in Spamassassin
nano -w /etc/mail/spamassassin/local.cfsi adaugati liniile
# DCC home folder
# comment it to disable
dcc_home /var/dccrespectiv
nano -w /etc/mail/spamassassin/v310.presi de-comentati (stergeti semnaul # de la inceputul liniei) linia ce activeaza DCC
loadplugin Mail::SpamAssassin::Plugin::DCC
Detaliile de instalare sunt preluate din pagina http://www.rvskin.com/index.php?page=public/antispam
Bonus: spamurile lui Urban sunt deja înregistrate, aşa că folosirea filtrului v-ar fi de folos!
