CRM114 - Problems with install
Matt Hampton
matt at coders.co.uk
Tue Jul 31 08:49:49 IST 2007
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 :-
More information about the MailScanner
mailing list