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

Martin Schütte said the following on 05/05/09 23:30:

> First of all check the crm114_command configured in crm114.cf
> This is the most common error source because path names are often 
> different and you have to make sure the amavis user can access all 
> required paths and files.

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.


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.



Any hints?



Ciao,
luigi

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

Is a computer language with GOTOs totally Wirth-less?
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iEYEARECAAYFAkoBLbwACgkQ3kWu7Tfl6ZQcGwCfZ6wvH3MFbT9DpSH2NYyR5S8P
jPoAnAiBUsOLW6a2e2LSF+rG3YRRy5Q+
=w2fK
-----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