Here's some information about using Razor with Amavis and SpamAssassin that I collected in the process of getting stuff working.

If you are using Debian there is a package for Razor. There are probably RPMs out there also. You could install things by downloading, untar'ing, and Make'ing. But Why? (smile)
Do this as root: "apt-get install razor"

After saying yes to downloading the dependencies and installing you have to some other steps. These are much like the RazorSiteWide steps, but specialized for Amavis.

Do these things as root and substitute the right directory and user names.

EXPLANATION: