part one, part two and part three if you’re not familiar with them.
The content of this article was written to work with the previous three articles but should work on any SpamAssassin set-up.
First off we need to install Razor.
sudo apt-get install razor
Now we need to run three commands to register and configure Razor.
sudo razor-admin -home=/etc/spamassassin/.razor -register
sudo razor-admin -home=/etc/spamassassin/.razor -create
sudo razor-admin -home=/etc/spamassassin/.razor -discover
These 3 commands should be pretty self explanatory, they register Razor, create it’s configuration and discover the Razor servers.
Now we’ll install Pyzor.
sudo apt-get install pyzor
Now we also need to tell Pyzor to discover it’s servers.
pyzor --homedir /etc/mail/spamassassin discover
Add the following lines to the end …