CRM114

Alex Broens ms-list at alexb.ch
Mon Jul 30 16:40:39 IST 2007


On 7/30/2007 5:28 PM, Mike Kercher wrote:
>  
> 
> -----Original Message-----
> From: mailscanner-bounces at lists.mailscanner.info
> [mailto:mailscanner-bounces at lists.mailscanner.info] On Behalf Of UxBoD
> Sent: Monday, July 30, 2007 9:19 AM
> To: MailScanner discussion
> Subject: Re: CRM114
> 
> The plugin is automatically loaded via the .cf.
> 
> The way I set it up was :-
> 
> 1) Install CRM software
> 2) Create /etc/mail/spamassassin/crm114
> 3) cd /etc/mail/spamassassin/crm114
> 4) cssutil -b -r spam.css
> 5) cssutil -b -r nonspam.css
> 6) Modified mailfilter.cf with local settings
> 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
> 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 :-
> 
> [root at bianchi crm114]# cssutil -r -b spam.css 
> 
>  Sparse spectra file spam.css statistics: 
> 
>  Total available buckets          :      1048577 
>  Total buckets in use             :       108553  
>  Total in-use zero-count buckets  :            0  
>  Total buckets with value >= max  :            0  
>  Total hashed datums in file      :       126637
>  Documents learned                :         3223  
>  Features learned                 :       126638  
>  Average datums per bucket        :         1.17
>  Maximum length of overflow chain :            7  
>  Average length of overflow chain :         1.18 
>  Average packing density          :         0.10
> 
> 13) If using MailWatch create a report filter with "sareport contains
> CRM", and see how it is scoring emails
> 14) Sit back, relax, and enjoy :)
> 
> Regards,
> 
> --[ UxBoD ]--
> 
> 
> 
> I tried installing this and got errors in my --lint:
> 
> [19709] dbg: plugin: loading Mail::SpamAssassin::Plugin::crm114 from
> @INC
> [19709] warn: plugin: failed to create instance of plugin
> Mail::SpamAssassin::Plugin::crm114: Can't locate object method "new" via
> package "Mail::SpamAssassin::Plugin::crm114" at (eval 133) line 1
> 
> What did I miss?

edit crm114.cf, line 33

loadplugin crm114 /etc/mail/spamassassin/crm114.pm

your next hurdle will be

line 47

crm114_command /usr/bin/crm  -u /etc/mail/spamassassin/crm114 mailreaver.crm

UxBod doesn't get my direct mails so I'm asking here (tho its sorta 
off-topi- sorry)

would you be so kind and mail me/us your mailfilter.cf or whatever you'e 
using? or add to Wiki

thx

Alex








More information about the MailScanner mailing list