Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: converted to 1.6 markup

...

If you have the SpamAssassin source tree, well and good. If you got it from something like an RPM somewhere that did not include source, get the corresponding source or fetch Razor2.patch from http://www.spamassassin.org/released/Razor2.patch

Note: if you are using the official SpamAssassin RPMs, the Razor2.patch file is located in your documentation directory, usually /usr/share/doc/spamassassin-<version>.

See README and Razor2.patch in the source:

No Format
  If you have Razor2 turned on and are using Vipul's Razor 2.22
  or higher (until at least 2.33), you will need to apply a small patch.
  The instructions are located in the Razor2.patch file.
  (README file)

To verify your version of Razor, use: razor-admin -v

This should respond with something similar to: Razor Agents 2.36, protocol version 3

With a clean copy of razor-agents-2.36 expect to see the following output from patch:

...

but no rejects. If you see rejects you're probably looking at a previously patched or modified Razor2.

Razor 2.37 may contain these fixes. 40 contains these fixes already. The Changes file says "Applied patch from Mark Martinec and Vivek Khera of Amavid to untaint various file targets obtained from user input. This is the same patch pointed to by the SpamAssassin FAQ http://www.spamassassin.org/released/Razor2.patch"