could someone please check if this manual for centos 6/7 is correct?
Code:
yum install perl-Razor-Agent pyzor
Code:
pyzor --homedir /etc/mail/spamassassin discover
mkdir /etc/mail/spamassassin/.razor
sudo razor-admin -home=/etc/mail/spamassassin/.razor -register
sudo razor-admin -home=/etc/mail/spamassassin/.razor -create
sudo razor-admin -home=/etc/mail/spamassassin/.razor -discover
Code:
nano /etc/mail/spamassassin/99_pyzor_razor.cf
use_pyzor 1
pyzor_options --homedir /etc/mail/spamassassin
pyzor_path /usr/bin/pyzor
use_razor2 1
razor_config /etc/mail/spamassassin/.razor/razor-agent.conf
Code:
systemctl restart spamassassin.service