-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

This procedure describes the installation procedure of crm114 SA plugin on a
CentOS 5.3 64 bit.

THIS IS A DRAFT to be improved.




Download TRE from http://www.laurikari.net/tre/download.html, unpack and
        ./configure --enable-stat
        make
        make install

Download crm114-20081111 or newer from
http://crm114.sourceforge.net/wiki/doku.php?id=download, unpack and

make
make install
mkdir /var/amavis/home/.crm114
cp *.crm /var/amavis/home/.crm114

Download SA plugin from http://mschuette.name/wp/crm114-spamassassin-plugin/
If your version of crm114 supports the --report_only option, then use it, and
then you may remove the --stats_only (in crm1114.pm) to obtain a bit more
information from crm114, not just its score.

cp crm114.pm /usr/lib/perl5/site_perl/<version>/Mail/SpamAssassin/Plugin

Download SA plugin configuration file from
http://mschuette.name/wp/crm114-spamassassin-plugin/ and

cp crm114.cf /var/amavis/home/.crm114
cd /var/amavis/home/.crm114
cssutil -b -r spam.css
cssutil -b -r nospam.css
touch priolist.mfp
chown -R amavis.amavis /var/amavis/home/.crm114/*

For a medium and larger sites the default size of css files (as built by cssutil
- -b -r) may be too small, use option -s or -S to cssutil to specify more 
entries.
Our current files have 8M entries each (as reported by 'cssutil -b -r spam.css'
and 'cssutil -b -r nonspam.css'), but is getting nearly full, I'll need to bump
it up.

edit and configure mailfilter.cf
edit and configure rewrites.mfp
edit and configure crm114.cf

edit /etc/amavisd.conf and add:

 @spam_scanners = (
    ['SpamAssassin', 'Amavis::SpamControl::SpamAssassin' ],

    ['CRM114', 'Amavis::SpamControl::ExtProg', 'crm',
      [ qw(-u /var/amavis/home/.crm114 mailreaver.crm
           --dontstore --report_only --stats_only
           --good_threshold=8 --spam_threshold=-8) ],
      mail_body_size_limit => 64000, score_factor => -0.20,
    ],
  );

Restart amavis, you should read in the logfile:
SpamControl: scanner CRM114, module Amavis::SpamControl::ExtProg
Found spam scanner CRM114      at /usr/local/bin/crm
one at he biginning an the other at the end of the inizialization log

In the scanning process you should read in the log file:
CRM114 result: score=xxx (xxx), status=xxx, cacheid=
CRM114 adding spam score xxx to existing xxx





Ciao,
luigi

- --
/
+--[Luigi Rosa]--
\

Don't ask...   It's magic!

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iEYEARECAAYFAkn/4JQACgkQ3kWu7Tfl6ZRDcACgmLmnml2zPrAgTwIey2V97xpy
qq0AoK4uQNbYC0VFC2rc1ci4/mtCrHIN
=5zxT
-----END PGP SIGNATURE-----

------------------------------------------------------------------------------
The NEW KODAK i700 Series Scanners deliver under ANY circumstances! Your
production scanning environment may not be a perfect world - but thanks to
Kodak, there's a perfect scanner to get the job done! With the NEW KODAK i700
Series Scanner you'll get full speed at 300 dpi even with all image 
processing features enabled. http://p.sf.net/sfu/kodak-com
_______________________________________________
AMaViS-user mailing list
AMaViS-user@lists.sourceforge.net 
https://lists.sourceforge.net/lists/listinfo/amavis-user 
 AMaViS-FAQ:http://www.amavis.org/amavis-faq.php3 
 AMaViS-HowTos:http://www.amavis.org/howto/ 

Reply via email to