Luigi,

I wonder, were you able to resolve the problem by now?

> I installed and configured crm114 as a SA plugin, but it appears that
> crm114 don't change the score of the messages.
>
> For every message I have this entries:
> CRM114 result: score=-0 (0.00), status=UNSURE, cacheid=
> CRM114 adding spam score -0 to existing xxx

At debug level 5 you can see what is the full result coming from crm114,
when it is called as a spam scanner directly from amavisd (@spam_scanners).

> Obviously there was an error in that configuration directive: the data path
> was wrong.
>
> > After that run "spamassassin -L -D crm114 --lint" and check if the
> > plugin can execute the crm114 command and finds its output (score and
> > status).
>
> It executes but gives an error, the same I get if I start SA as a daemon:
>
> $ spamassassin -L -D crm114 --lint
> [14711] dbg: crm114: call_crm() called, action: check
> [14711] dbg: crm114: opening pipe: /usr/local/bin/crm -u
> /var/amavis/home/.crm114 mailreaver.crm --report_only --dontstore
> --good_threshold=10 --spam_threshold=-10 < /tmp/.spamassassin14711TI63Xytmp
> [14711] dbg: crm114: [14712] finished successfully
> [14711] dbg: crm114: call_crm returns (UNKNOWN, 0)
> [14711] warn: crm114: Error. Failed to get CRM114-Status. at
> /etc/mail/spamassassin/crm114.pm line 848.

This looks like a version of a crm114 plugin older than 0.8.0

> Executing the command line
>
> /usr/local/bin/crm -u /var/amavis/home/.crm114 mailreaver.crm --report_only
> --dontstore --good_threshold=10 -spam_threshold=-10
>
> both as root and as amavis user prints correctly the crm headers:
>
> $ /usr/local/bin/crm -u /var/amavis/home/.crm114 mailreaver.crm
> --report_only --dontstore --good_threshold=10 --spam_threshold=-10
>
> {some blank lines and a Ctrl-D}
>
> X-CRM114-Version: 20081111-BlameBarack ( TRE 0.7.5 (LGPL) ) MR-521F76D3
> X-CRM114-CacheID: sfid-
> X-CRM114-Status: UNSURE (   0.00  )
> X-CRM114-Notice: Please train this message.

Looks alright.


  Mark

------------------------------------------------------------------------------
Crystal Reports - New Free Runtime and 30 Day Trial
Check out the new simplified licensing option that enables unlimited
royalty-free distribution of the report engine for externally facing 
server and web deployment.
http://p.sf.net/sfu/businessobjects
_______________________________________________
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