O'Reilly logo

SpamAssassin by Alistair McDonald

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Installing by Hand

It is possible to install SpamAssassin from source without using the CPAN module. The prerequisites are the same as when installing SpamAssassin via CPAN.

To install most Perl modules, including CPAN and Mail-SpamAssassin, there is a fairly standard set of commands. These can be repeated for most modules:

$ gunzip -c Module-9.99.tar.gz | tar xf -
$ cd Module-9.99
$ perl Makefile.PL
$ make test
su
# make install

When issuing the perl Makefile.PL command for a module, missing dependencies are often noted and appear as warnings:

Warning: prerequisite Xxx::Yyyy n.mm not found.

Before continuing, the appropriate missing dependencies should be downloaded and installed using the same sequence of commands. Once this is done, the installation ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required