Book Image

SpamAssassin: A practical guide to integration and configuration

Book Image

SpamAssassin: A practical guide to integration and configuration

Overview of this book

As a busy administrator, you know Spam is a major distraction in todays network. The effects range from inappropriate content arriving in the mailboxes up to contact email addresses placed on a website being deluged with unsolicited mail, causing valid enquiries and sales leads to be lost and wasting employee time. The perception of the problem of spam is as big as the reality. In response to the growing problem of spam, a number of free and commercial applications and services have been developed to help network administrators and email users combat spam. Its up to you to choose and then get the most out of an antispam solution. Free to use, flexible, and effective, SpamAssassin has become the most popular open source antispam application. Its unique combination of power and flexibility make it the right choice. This book will now help you set up and optimize SpamAssassin for your network.
Table of Contents (24 chapters)
SpamAssassin
Credits
About the Author
About the Reviewers
Introduction
Glossary

Uninstalling


The method to remove SpamAssassin depends on how it was installed. If SpamAssassin is installed using RPM, for example, then it should be uninstalled in the same manner. Failing to do this can cause problems either immediately or at some time in the future.

Uninstalling from Source

If SpamAssassin was installed from source, either using the CPAN module or manually, there is no simple command to uninstall it.

When Perl installs a module, it creates a list of files that are installed as part of the module. This packlist, as it is called, is usually located at /usr/lib/perl5/site_perl/<perl-version>/<arch>/auto/Mail/SpamAssassin/.packlist.

The<perl-version> and<arch> should be replaced with the appropriate values, for example 5.8.2 for the perl-version and i686-linux for the architecture. To locate all packing lists, use the find command:

# find /usr/lib/perl5/ -name .packlist | grep SpamAssassin
/usr/lib/perl5/site_perl/5.8.2/i686-linux/auto/Mail/SpamAssassin...