Topic: [Tutorial] Integrating Razor2 and Pyzor to Iredmail by giorgiolago
[Tutorial] Integrating Razor2 and Pyzor to Iredmail by giorgiolago
==========
Related forum topic: Install Pyzor, Razor2 and DCC on your CentOS/RHEL iRedMail Server
==========
To integrate the Razor2 pyzor in iredmail is simple enough to follow the proper steps:
ps: the port 2307/TCP on your firewall must be open to the Razor2, and port 24441/UDP must be open to pyzor to work;)
# apt-get install razor
# mkdir /var/lib/amavis/.razor; chown -Rf amavis:amavis /var/lib/amavis/.razor
# su amavis
$ razor-admin -home=/var/lib/amavis/.razor -create
$ razor-admin -home=/var/lib/amavis/.razor -discover
$ razor-admin -home=/var/lib/amavis/.razor -register
$ exit
# apt-get install pyzor
# mkdir /var/lib/amavis/.pyzor; chown amavis:amavis /var/lib/amavis/.pyzor
# su amavis
$ pyzor --homedir /var/lib/amavis/.pyzor discover
$ exit
in /etc/spamassassin/local.cf add this options:
use_razor2 1
score RAZOR2_CHECK 2.500
score PYZOR_CHECK 2.500
Restart amavisd to make it work:
# /etc/init.d/amavis restart
----
Spider Email Archiver: On-Premises, lightweight email archiving software developed by iRedMail team. Supports Amazon S3 compatible storage and custom branding.