CRM114 Installation on Centos 4

Chris Yuzik itdept at fractalweb.com
Tue Jul 31 16:29:18 IST 2007


Mike,

You're a genius!

I wiped out everything I had done yesterday and followed your 
instructions to the letter and everything is working flawlessly on my 
Centos 4.x system. The nonspam.css and spam.css files are being updated, 
and messages are being learned. Wonderful.

I'm sure many others will benefit from your great howto. Any chance you 
can post the Centos/RHEL instructions to the wiki somewhere?

Thanks,
Chris

Mike Kercher wrote:
> 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