Skip to main content

How to Install Pyzor on CentOS Web Panel for Postfix/Dovecot ?

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:
Open the following port in your firewall:
UDP 24441 Outgoing : Pyzor
TCP 24441 Incoming : Pyzor

Pyzor RPM Sources:
1. [This will not work ]
2. [ Use This ]
Pyzor Installation
# rpm -Uvh
Enable the Pyzor plugin
# vi /etc/mail/spamassassin/v310.pre
# Pyzor - perform Pyzor message checks.
loadplugin Mail::SpamAssassin::Plugin::Pyzor
Add the following to /etc/mail/spamassassin/
# pyzor
use_pyzor 1
pyzor_options --homedir /etc/mail/spamassassin/.pyzor
pyzor_path /usr/bin/pyzor
score PYZOR_CHECK 3.000
N.B: You can use header to Pyzor: add_header all Pyzor _PYZOR_ 
Discover the Pyzor Home Directory
# pyzor --homedir /etc/mail/spamassassin/.pyzor discover
  downloading servers from
# systemctl restart spamassassin
# spamassassin -t -D pyzor < /usr/share/doc/spamassassin-3.4.0/sample-spam.txt
Pyzor RPM Source:
Pyzor Documentation :
Sourceforge :
GitHub :

Pyzor Updated Configuration for MailScanner with MailWatch on CentOS 7 for CWP7.Pro

# pyzor
use_pyzor 1
pyzor_options --homedir /etc/mail/spamassassin/.pyzor
pyzor_path /usr/bin/pyzor
add_header all Pyzor _PYZOR_
score PYZOR_CHECK 3.000 
Pyzor RPM Package DownLoad Link