I said: > ...it just says: "debug: Razor2 is not available" (twice) in the > output with no other razor related errors. Why is this? How can I get > SpamAssassin to recognise that Razor is installed and working?
OK, I've worked out why Razor wasn't working after much trawling of the net. The clue was in this post:
http://thread.gmane.org/gmane.mail.spam.razor.user/2298
Main quote: "It sounds like you are the victim of installing with a broken CPAN that tried to install a new copy of perl as a "dependency". I bet you'll find that /usr/bin/perl and /usr/local/bin/perl are different versions of perl."
This is what had happened. I must have forgotten to do an "o conf prerequisites_policy ask" at the cpan prompt, and installed something which had perl 5.8.2 as a dependency.
To fix it, I removed all perl and SA related stuff from /user/local/bin and reinstalled Mail::SpamAssassin from CPAN (after first having upgraded CPAN itself).
Razor2 now works fine.
I now have a different problem, but I'll post that in a new thread to comply with netiquette :)
Nick...
