Author Topic: Install Pyzor for Postfix/Dovecot Spam Filtering along with SpamAssassin  (Read 3306 times)

0 Members and 1 Guest are viewing this topic.

Offline
*
Pyzor is a collaborative, networked system to detect and block spam using digests of messages.Using Pyzor client a short digest is generated that is likely to uniquely identify the email message. This digest is thensent to a Pyzor server to:
  • check the number of times it has been reported as spam or whitelisted as not-spam
  • report the message as spam
  • whitelist the message as not-spam
Since the entire system is released under the GPL, people are free to host their own independent servers. There is,however, a well-maintained and actively used public server available (courtesy of SpamExperts) at:
Code: [Select]
public.pyzor.org:24441Open the following port in your firewall:
UDP 24441 Outgoing : Pyzor
TCP 24441 Incoming : Pyzor

Pyzor RPM Sources:
1. ftp://mirror.switch.ch/pool/4/mirror/fedora/linux/releases/22/Everything/x86_64/os/Packages/p/pyzor-0.5.0-10.fc21.noarch.rpm [This will not work ]
2. http://209.132.181.8/pub/archive/fedora/linux/releases/22/Everything/x86_64/os/Packages/p/pyzor-0.5.0-10.fc21.noarch.rpm [ Use This ]

Pyzor Installation
Code: [Select]
# rpm -Uvh http://209.132.181.8/pub/archive/fedora/linux/releases/22/Everything/x86_64/os/Packages/p/pyzor-0.5.0-10.fc21.noarch.rpm
Enable the Pyzor plugin
Code: [Select]
# vi /etc/mail/spamassassin/v310.pre
# Pyzor - perform Pyzor message checks.
#
loadplugin Mail::SpamAssassin::Plugin::Pyzor

Add the following to /etc/mail/spamassassin/local.cf
Code: [Select]
# pyzor
use_pyzor 1
pyzor_options --homedir /etc/mail/spamassassin/.pyzor
pyzor_path /usr/bin/pyzor
score PYZOR_CHECK 3.000

Discover the Pyzor Home Directory
Code: [Select]
# pyzor --homedir /etc/mail/spamassassin/.pyzor discover
  downloading servers from http://pyzor.sourceforge.net/cgi-bin/inform-servers-0-3-x

Restart
Code: [Select]
# systemctl restart spamassassinTest
Code: [Select]
# spamassassin -t -D pyzor < /usr/share/doc/spamassassin-3.4.0/sample-spam.txt


Original Article : https://www.awsmonster.com/2020/03/how-to-install-pyzor-on-centos-web.html