Thanks to Martin and Thomas for responding to my crm114 setup question.
I have since configured CRM114 as a SpamAssassin plugin, with my setup 
essentially that documented by Mark.

Mark had his crm114 setup to learn from scratch. The author of CRM114 also 
recommended this approach instead of pre-loading .css files with 
mailtrainer.crm. I did the same with cssutil -b -r spam.css (and nonspam.css). 
In any case, I don't really have local ham/spam mail to preload my .css files 
even if I wanted to.

My mistake earlier about the file size having grown. It remains 13 MB or so 
once created and stay the same.

SA currently still reporting CRM114 score as -0.00

Our setup is like this:

Internet mail >> SMTP gateway (postfix) >> Internal Exchange server >> local 
mailbox delivery.

So no local mailbox delivery at the gateway.


My /etc/mail/spamassassin/crm114.cf looks like this:

loadplugin Mail::SpamAssassin::Plugin::CRM114 /var/amavis/.crm114/crm114.pm
full      CRM114_CHECK  eval:check_crm()
priority  CRM114_CHECK  899
crm114_command /usr/bin/crm -u /var/amavis/.crm114 mailreaver.crm
add_header all CRM114-Status _CRM114STATUS_ ( _CRM114SCORE_ )
crm114_dynscore 1
crm114_dynscore_factor -0.10
crm114_good_threshold  10
crm114_spam_threshold -5
crm114_learn 1
crm114_autolearn 1
crm114_lookup_cacheid 1
crm114_cache_dir /var/amavis/.crm114/reaver_cache


/usr/bin/crm path is correct.
Everything in /var/amavis/.crm114 is owned by amavis

Is there anything I did not do right?


Patrick 

-----Original Message-----
From: Martin Schütte [mailto:li...@mschuette.name] 
Sent: Monday, August 10, 2009 5:38 AM
To: amavis-user@lists.sourceforge.net
Subject: Re: [AMaViS-user] crm114

Thomas Mueller wrote:
>> And I am not sure how to "train" CRM114.
> look out for a file called or containing "mailtrainer.crm"

Just one small addition:
To train single mails one can also use "crm mailreaver.crm --good" (or
--spam). When the crm114 plugin works correctly and option crm114_learn
is set in crm114.cf then CRM114 is also trained with "spamassassin
--report" (or --revoke).

-- 
Martin


------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
trial. Simplify your report design, integration and deployment - and focus on 
what you do best, core application coding. Discover what's new with 
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
_______________________________________________
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