First, read the page Using Pyzor in SpamAssassin.
Then, download Pyzor from sourgeforge.net. Unarchive the tar ball, and follow the instructions in INSTALL file inside the source tree.
There is a usage file in the source tree. Or you can read it from online.
You have to open firewall to allow download from TCP pyzor.sourceforge.net:80. After you have downloaded the pyzor server list by doing
# pyzor --homedir /etc/mail/spamassassin discover
# cat /etc/mail/spamassassin/servers
you will have to download from both TCP and UDP in the servers and ports listed in the file /etc/mail/spamassassin/servers.
To see if you can connect to the pyzor servers, do
# pyzor ping
This should return
public.pyzor.org:24441 (200, 'OK')
Next, you can test like this:
# echo "test" | spamassassin -D pyzor 2>&1 | less
Recent comments
2 weeks 3 days ago
27 weeks 4 days ago
28 weeks 3 days ago
39 weeks 3 days ago
40 weeks 5 days ago
49 weeks 3 days ago
49 weeks 5 days ago
50 weeks 4 days ago
51 weeks 3 days ago
51 weeks 4 days ago