CRM114 - Problems with install

UxBoD uxbod at splatnix.net
Tue Jul 31 09:13:59 IST 2007


Hi Matt,

Please feel free :) Only just got into the office anyway. I will update with the Gentoo instructions. The necessary .crm's are :-

mailfilter.crm  maillib.crm  mailreaver.crm  mailtrainer.crm

also, rewrites.mfp can be a blank file. It will not learn as good, but will reduce the CPU overhead.

If the .pm is in the same directory as the .cf then you do not need to change the load_plugin line as it takes the path as relative.

Also check that the MIME decoder :-

:mime_decoder: /base64 -d/

and :cache_dupe_command: /\/bin\/ln/

have been set correctly in mailfilter.cf

Regards,

--[ UxBoD ]--
// PGP Key: "curl -s https://www.splatnix.net/uxbod.asc | gpg --import"
// Fingerprint: C759 8F52 1D17 B3C5 5854  36BD 1FB1 B02F 5DB5 687B
// Keyserver: www.keyserver.net Key-ID: 0x5DB5687B
// Phone: +44 845 869 2749 SIP Phone: uxbod at sip.splatnix.net

----- Original Message -----
From: "Matt Hampton" <matt at coders.co.uk>
To: "MailScanner discussion" <mailscanner at lists.mailscanner.info>
Sent: Tuesday, July 31, 2007 8:49:49 AM (GMT) Europe/London
Subject: Re: CRM114 - Problems with install

Johnny Stork wrote:
> Wow, even worse now. This must be the most messed up and confusing
> install ever with innacurate docs, files that dont exist etc. The how-to
> indicates


> I will just have to wait for complete and accurate instructions from somewhere.

Below is my take on it (CENTOS4.4)

UxBoD - any joy with the Wiki yet or shall I cut and paste this in?

matt



1) Install CRM software

Use the rpms from

ftp://fr.rpmfind.net/linux/fedora/extras/development/SRPMS/crm114-0-0.4.20070301.fc7.src.rpm
ftp://fr.rpmfind.net/linux/fedora/extras/development/SRPMS/tre-0.7.5-1.fc7.src.rpm


rpmbuild --rebuild crm114-0-0.4.20070301.fc7.src.rpm
rpmbuild --rebuild tre-0.7.5-1.fc7.src.rpm

rpm -ivh /usr/src/redhat/RPMS/i386/tre-0.7.5-1.i386.rpm \
	 /usr/src/redhat/RPMS/i386/tre-devel-0.7.5-1.i386.rpm \
	 /usr/src/redhat/RPMS/i386/crm114-0-0.4.20070301.i386.rpm


2) Create /etc/mail/spamassassin/crm114 (now refered to as $PREFIX)
3) cd $PREFIX
4) cssutil -b -r spam.css
5) cssutil -b -r nonspam.css

touch blacklist.mfp whitelist.mfp

copy all .crm from source examples to $PREFIX (haven't worked out which
one is necessary)




6) Modified mailfilter.cf with local settings

Change :spw: /DEFAULT-PASSWORD/

to     :spw: /SOMETHING-SECRET/


7) Same permissions on directory and files to same user that MailScanner
runs as
8) Installed crm114.pm and crm114.cf
9) Modified crm114.cf to local settings

loadplugin crm114 /etc/mail/spamassassin/crm114.pm
crm114_learn 1
crm114_autolearn 1
crm114_dynscore_factor -0.01              < to begin with whilst testing
crm114_command /usr/bin/crm -u $PREFIX mailreaver.crm

10) spamassassin -D --lint > /tmp/crm.test 2>&1 (as user in point 7) and
check that all is okay
11) Restart MailScanner
12) After a few minutes check documents are being loaded ie. cssutil -b
-r /etc/mail/spamassassin/crm114/spam.css with something like :-
-- 
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! 

-- 
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.



-- 
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.



More information about the MailScanner mailing list