Using Pyzor
Pyzor is a completely free database and software HashSharingSystem, written by Frank Tobin. http://pyzor.sourceforge.net/ .
Pyzor Install Hints
- Be sure to run "pyzor discover" after you install Pyzor, so that you can download the server to contact.
Using Pyzor Site-wide
- Note permissions advice concerning /etc/mail/spamassassin in RazorSiteWide and add the following to your /etc/mail/spamassassin/local.cf:
pyzor_options --homedir /etc/mail/spamassassin
- Now put some servers in that dir:
pyzor --homedir /etc/mail/spamassassin discover
- And finally, restart spamd:
/etc/init.d/spamd restart
- Make sure that when you call spamassassin -r that you do it like this:
spamassassin -x -C /etc/mail/spamassassin -r
That will ensure that spamassassin uses the /etc/mail/spamassassin/local.cf config and not try to create user_prefs all over the place.
- Now put some servers in that dir:
Is it working?
You can run SpamAssassin from the command line to figure out if it is using Pyzor. The process is described at RazorHowToTell, but the summary is to run the following from the command line:
spamassassin -D < /usr/share/doc/spamc/sample-spam.txt
...where /usr/share/doc/spamc/sample-spam.txt is the path to a sample email that you want to test. Read the resulting debug text and you will know what tests get called.
Pyzor on Debian
- If you are using Debian, there are (currently) packages for testing and unstable available from the main tree:
- There are also backports to woody available from various sources. One (that works for me) is:
http://www.gothgoose.net/debian/
Detailed instructions
Very detailed instructions on configuring pyzor for a personal Unix account are in SingleUserUnixInstall.
Reporting
Using SpamAssassin to submit spam is described in ReportingSpam.