Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: Migration of unmigrated content due to installation of a new plugin

...

We're going to install SpamAssassin 3.0.02, and add in SPF, Razor, Pyzor, and DCC. We're going to set up a mistake-based Bayesian learner (including forwarding the mail to another account), as described at ProcmailToForwardMail. This assumes that your system already has procmail installed, and has a new enough Perl and Python to work with this software, plus a number of the standard Perl modules, such as Net::DNS and DB_File. You need these two installed to use DNSBLs and Bayes, both of which are important for good performance.

...

No Format
cd $HOME
mkdir src
cd src
wget http://www.apache.org/dist/spamassassin/Mail-SpamAssassin-current.tar.gz
tar xvzf Mail-SpamAssassin-3current.0.0.tar.gz
cd Mail-SpamAssassin-3.0.02
perl Makefile.PL PREFIX=$HOME && make && make install

...

No Format
cd $HOME/src
wget http://unc.dl.sourceforge.net/sourceforge/razor/razor-agents-2.6167.tar.gz
tar xvzf razor-agents-2.6167.tar.gz
cd razor-agents-2.6167
perl Makefile.PL PREFIX=$HOME && make && make install
razor-client
razor-admin -create
razor-admin -discover
razor-admin -register

...

No Format
cd $HOME/src
wget http://unc.dl.sourceforge.net/sourceforge/pyzor/pyzor-0.4.0.tar.bz2
tar xvfj pyzor-0.4.0.tar.bz2
cd pyzor-0.4.0
python setup.py build
python setup.py install --home=$HOME
pyzor discover

If you get the following error message, define PYTHONPATH to point at $HOME/lib/python:

No Format

Traceback (most recent call last):
  File "<stdin>", line 1, in ?
ImportError: No module named pyzor.client

DCC support

To install DCC:

...

No Format
cd $HOME
wget http://wiki.apache.org/spamassassin-data/attachments/ProcmailToForwardMail/attachments/procmailrc.forward.txt
mv procmailprocmailrc.forward.txt .procmailrc

It's essential that you edit that file with your correct public and private addresses. Do this with pico .procmailrc.

...