CRM114 Installation on Centos 4
Mike Kercher
mkercher at nfsmith.com
Tue Jul 31 16:04:07 IST 2007
Here are the steps I used to install CRM114 on Centos 4:
yum install tre tre-devel
wget
ftp://fr.rpmfind.net/linux/fedora/extras/development/SRPMS/crm114-0-0.4.
20070301.fc7.src.rpm
rpmbuild --rebuild crm114-0-0.4.20070301.fc7.src.rpm
rpm -Uvh /usr/src/redhat/RPMS/i386/crm114-0-0.4.20070301.i386.rpm
cd /etc/mail/spamassassin/
wget http://mschuette.name/files/crm114.pm
wget http://mschuette.name/files/crm114.cf
vi crm114.cf
# commandline to execute CRM114
# default: crm -u ~/.crm114 mailreaver.crm
crm114_command /usr/bin/crm -u /etc/mail/spamassassin/crm114
mailreaver.crm
# should CRM114 be trained by SA-autolearn?
# If enabled, then SA's autolearn also calls the CRM114 plugin.
#
# This is different from :automatic_training: in CRM114's
mailfilter.cf
# because SA's score is influenced by several different factors
while
# CRM114 has to rely on its own classification.
# But anyway: Only activate this if you know what you're doing!
# default: 0
crm114_autolearn 1
mkdir crm114
cd crm114
cssutil -b -r spam.css
cssutil -b -r nonspam.css
cp /usr/share/doc/crm114-0/mailfilter.cf .
cp /usr/share/crm114/*.crm .
touch blacklist.mfp
touch whitelist.mfp
touch rewrites.mfp
cp /usr/share/doc/crm114-0/priolist.mfp.example priolist.mfp
vi mailfilter.cf
:spw: /YOUR_PASSWORD/
:rewrites_enabled: /no/
:log_to_allmail.txt: /no/
cd ..
spamassassin -D --lint > /tmp/crm.test 2>&1
vi /tmp/crm.test
service MailScanner restart
More information about the MailScanner
mailing list