CRM114 Installation on Centos 4
Mike Kercher
mkercher at nfsmith.com
Tue Jul 31 17:08:42 IST 2007
I have added this to the wiki:
http://wiki.mailscanner.info/doku.php?id=documentation:anti_spam:spamass
assin:plugins:crm114
The formatting is all FUBAR is someone wants to go clean it up. I'm a
wiki n00b.
Mike
-----Original Message-----
From: mailscanner-bounces at lists.mailscanner.info
[mailto:mailscanner-bounces at lists.mailscanner.info] On Behalf Of Chris
Yuzik
Sent: Tuesday, July 31, 2007 10:29 AM
To: MailScanner discussion
Subject: Re: CRM114 Installation on Centos 4
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
--
MailScanner mailing list
mailscanner at lists.mailscanner.info
http://lists.mailscanner.info/mailman/listinfo/mailscanner
Before posting, read http://wiki.mailscanner.info/posting
Support MailScanner development - buy the book off the website!
More information about the MailScanner
mailing list