Install Spamassassin (Source)
Spamassassin is an open-source Spam filtering system. It's primary objective is to identify and tag messages as spam.
- RPM Install
Note : In order to get the RPM files necessary for installation, you need to build them directly from the source. I have included directions on this below. Also, because of UTF-8 settings on some Linux installations, I am explicitly setting the LANG environment variable before compiling.
shell> export LANG=C ; rpmbuild -tb Mail-SpamAssassin-3.0.2.tar.gz
By default, the RPM files are built and placed into /usr/src/redhat/RPMS/i386 on a Redhat system.
shell> cd /usr/src/redhat/RPMS/i386
rootshell> rpm -ivh spamassassin-3.0.2-1.i386.rpm perl-Mail-SpamAssassin-3.0.2-1.i386.rpm
- Source Install - Detailed instructions can be found on the Spamassassin homepage
shell> tar zxvf Mail-Spamassassin-3.0.2.tar.gz
shell> cd Mail-Spamassassin-3.0.2
shell> perl Makefile.PL
shell> make
rootshell> make install
Spamassassin installation is now complete. There is still a bit of configuration to be done. See the below configuration section for more information.