How to Install and Uninstall spamassassin.x86_64 Package on Amazon Linux 2

Last updated: October 06,2024

1. Install "spamassassin.x86_64" package

Please follow the guidelines below to install spamassassin.x86_64 on Amazon Linux 2

$ sudo yum makecache $ sudo yum install spamassassin.x86_64

2. Uninstall "spamassassin.x86_64" package

This tutorial shows how to uninstall spamassassin.x86_64 on Amazon Linux 2:

$ sudo yum remove spamassassin.x86_64 $ sudo yum autoremove

3. Information about the spamassassin.x86_64 package on Amazon Linux 2

Loaded plugins: ovl, priorities
Available Packages
Name : spamassassin
Arch : x86_64
Version : 3.4.4
Release : 3.amzn2.0.1
Size : 1.3 M
Repo : amzn2-core/2/x86_64
Summary : Spam filter for email which can be invoked from mail delivery
: agents
URL : https://spamassassin.apache.org/
License : ASL 2.0
Description : SpamAssassin provides you with a way to reduce if not completely
: eliminate Unsolicited Commercial Email (SPAM) from your incoming
: email. It can be invoked by a MDA such as sendmail or postfix, or
: can be called from a procmail script, .forward file, etc. It uses
: a genetic-algorithm evolved scoring system to identify messages
: which look spammy, then adds headers to the message so they can be
: filtered by the user's mail reading software. This distribution
: includes the spamd/spamc components which create a server that
: considerably speeds processing of mail.
:
: To enable spamassassin, if you are receiving mail locally, simply
: add this line to your ~/.procmailrc:
: INCLUDERC=/etc/mail/spamassassin/spamassassin-default.rc
:
: To filter spam for all users, add that line to /etc/procmailrc
: (creating if necessary).