How can I perform a quick and easy installation of SpamAssassin?

Note: this article is quite dated now as there are easier ways to install spamassassin but if you want to install from source this will work.

Installing Spamassassin

Login as root and run a Perl shell (cpan I think)

perl -MCPAN -e shell

Then begin the installation:

install Mail::SpamAssassin

Install will commence and once complete, you should have a fully working spamassassin installation.

Depending on which SMTP MTA you’re using, additional customisation will be required.

You can also use:

cpan -i Mail::SpamAssassin

admin has written 102 articles