How To Install spamassassin on CentOS 8

spamassassin is Spam filter for email which can be invoked from mail delivery agents

Introduction

In this tutorial we learn how to install spamassassin on CentOS 8.

What is spamassassin

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).

We can use yum or dnf to install spamassassin on CentOS 8. In this tutorial we discuss both methods but you only need to choose one of method to install spamassassin.

Install spamassassin on CentOS 8 Using dnf

Update yum database with dnf using the following command.

sudo dnf makecache --refresh

The output should look something like this:

CentOS Linux 8 - AppStream                                       43 kB/s | 4.3 kB     00:00    
CentOS Linux 8 - BaseOS                                          65 kB/s | 3.9 kB     00:00    
CentOS Linux 8 - ContinuousRelease                               43 kB/s | 3.0 kB     00:00    
CentOS Linux 8 - Extras                                          23 kB/s | 1.5 kB     00:00    
CentOS Linux 8 - FastTrack                                       40 kB/s | 3.0 kB     00:00    
CentOS Linux 8 - HighAvailability                                36 kB/s | 3.9 kB     00:00    
CentOS Linux 8 - Plus                                            24 kB/s | 1.5 kB     00:00    
CentOS Linux 8 - PowerTools                                      50 kB/s | 4.3 kB     00:00    
Extra Packages for Enterprise Linux Modular 8 - x86_64           13 kB/s | 9.2 kB     00:00    
Extra Packages for Enterprise Linux 8 - x86_64                   24 kB/s | 8.5 kB     00:00    
Metadata cache created.

After updating yum database, We can install spamassassin using dnf by running the following command:

sudo dnf -y install spamassassin

Install spamassassin on CentOS 8 Using yum

Update yum database with yum using the following command.

sudo yum makecache --refresh

The output should look something like this:

CentOS Linux 8 - AppStream                                       43 kB/s | 4.3 kB     00:00    
CentOS Linux 8 - BaseOS                                          65 kB/s | 3.9 kB     00:00    
CentOS Linux 8 - ContinuousRelease                               43 kB/s | 3.0 kB     00:00    
CentOS Linux 8 - Extras                                          23 kB/s | 1.5 kB     00:00    
CentOS Linux 8 - FastTrack                                       40 kB/s | 3.0 kB     00:00    
CentOS Linux 8 - HighAvailability                                36 kB/s | 3.9 kB     00:00    
CentOS Linux 8 - Plus                                            24 kB/s | 1.5 kB     00:00    
CentOS Linux 8 - PowerTools                                      50 kB/s | 4.3 kB     00:00    
Extra Packages for Enterprise Linux Modular 8 - x86_64           13 kB/s | 9.2 kB     00:00    
Extra Packages for Enterprise Linux 8 - x86_64                   24 kB/s | 8.5 kB     00:00    
Metadata cache created.

After updating yum database, We can install spamassassin using yum by running the following command:

sudo yum -y install spamassassin

How To Uninstall spamassassin on CentOS 8

To uninstall only the spamassassin package we can use the following command:

sudo dnf remove spamassassin

spamassassin Package Contents on CentOS 8

/etc/logrotate.d/sa-update
/etc/mail
/etc/mail/spamassassin
/etc/mail/spamassassin/channel.d
/etc/mail/spamassassin/channel.d/spamassassin-official.conf
/etc/mail/spamassassin/init.pre
/etc/mail/spamassassin/local.cf
/etc/mail/spamassassin/sa-update-keys
/etc/mail/spamassassin/spamassassin-default.rc
/etc/mail/spamassassin/spamassassin-helper.sh
/etc/mail/spamassassin/spamassassin-spamc.rc
/etc/mail/spamassassin/v310.pre
/etc/mail/spamassassin/v312.pre
/etc/mail/spamassassin/v320.pre
/etc/mail/spamassassin/v330.pre
/etc/mail/spamassassin/v340.pre
/etc/mail/spamassassin/v341.pre
/etc/mail/spamassassin/v342.pre
/etc/mail/spamassassin/v343.pre
/etc/sysconfig/sa-update
/etc/sysconfig/spamassassin
/usr/bin/sa-awl
/usr/bin/sa-check_spamd
/usr/bin/sa-learn
/usr/bin/sa-update
/usr/bin/spamassassin
/usr/bin/spamc
/usr/bin/spamd
/usr/lib/.build-id
/usr/lib/.build-id/c4
/usr/lib/.build-id/c4/05361fd43cb80a9a8bb833ff60bcb0cea239fc
/usr/lib/systemd/system/sa-update.service
/usr/lib/systemd/system/sa-update.timer
/usr/lib/systemd/system/spamassassin.service
/usr/share/doc/spamassassin
/usr/share/doc/spamassassin/CREDITS
/usr/share/doc/spamassassin/Changes
/usr/share/doc/spamassassin/LICENSE
/usr/share/doc/spamassassin/NOTICE
/usr/share/doc/spamassassin/README
/usr/share/doc/spamassassin/README.RHEL.Fedora
/usr/share/doc/spamassassin/TRADEMARK
/usr/share/doc/spamassassin/UPGRADE
/usr/share/doc/spamassassin/USAGE
/usr/share/doc/spamassassin/sample-nonspam.txt
/usr/share/doc/spamassassin/sample-spam.txt
/usr/share/man/man1/sa-awl.1.gz
/usr/share/man/man1/sa-learn.1.gz
/usr/share/man/man1/sa-update.1.gz
/usr/share/man/man1/spamassassin-run.1.gz
/usr/share/man/man1/spamassassin.1.gz
/usr/share/man/man1/spamc.1.gz
/usr/share/man/man1/spamd.1.gz
/usr/share/man/man3/Mail::SpamAssassin.3pm.gz
/usr/share/man/man3/Mail::SpamAssassin::AICache.3pm.gz
/usr/share/man/man3/Mail::SpamAssassin::ArchiveIterator.3pm.gz
/usr/share/man/man3/Mail::SpamAssassin::AsyncLoop.3pm.gz
/usr/share/man/man3/Mail::SpamAssassin::AutoWhitelist.3pm.gz
/usr/share/man/man3/Mail::SpamAssassin::Bayes.3pm.gz
/usr/share/man/man3/Mail::SpamAssassin::BayesStore.3pm.gz
/usr/share/man/man3/Mail::SpamAssassin::BayesStore::BDB.3pm.gz
/usr/share/man/man3/Mail::SpamAssassin::BayesStore::MySQL.3pm.gz
/usr/share/man/man3/Mail::SpamAssassin::BayesStore::PgSQL.3pm.gz
/usr/share/man/man3/Mail::SpamAssassin::BayesStore::Redis.3pm.gz
/usr/share/man/man3/Mail::SpamAssassin::BayesStore::SQL.3pm.gz
/usr/share/man/man3/Mail::SpamAssassin::Client.3pm.gz
/usr/share/man/man3/Mail::SpamAssassin::Conf.3pm.gz
/usr/share/man/man3/Mail::SpamAssassin::Conf::LDAP.3pm.gz
/usr/share/man/man3/Mail::SpamAssassin::Conf::Parser.3pm.gz
/usr/share/man/man3/Mail::SpamAssassin::Conf::SQL.3pm.gz
/usr/share/man/man3/Mail::SpamAssassin::DnsResolver.3pm.gz
/usr/share/man/man3/Mail::SpamAssassin::Logger.3pm.gz
/usr/share/man/man3/Mail::SpamAssassin::Logger::File.3pm.gz
/usr/share/man/man3/Mail::SpamAssassin::Logger::Stderr.3pm.gz
/usr/share/man/man3/Mail::SpamAssassin::Logger::Syslog.3pm.gz
/usr/share/man/man3/Mail::SpamAssassin::Message.3pm.gz
/usr/share/man/man3/Mail::SpamAssassin::Message::Metadata.3pm.gz
/usr/share/man/man3/Mail::SpamAssassin::Message::Node.3pm.gz
/usr/share/man/man3/Mail::SpamAssassin::PerMsgLearner.3pm.gz
/usr/share/man/man3/Mail::SpamAssassin::PerMsgStatus.3pm.gz
/usr/share/man/man3/Mail::SpamAssassin::PersistentAddrList.3pm.gz
/usr/share/man/man3/Mail::SpamAssassin::Plugin.3pm.gz
/usr/share/man/man3/Mail::SpamAssassin::Plugin::ASN.3pm.gz
/usr/share/man/man3/Mail::SpamAssassin::Plugin::AWL.3pm.gz
/usr/share/man/man3/Mail::SpamAssassin::Plugin::AccessDB.3pm.gz
/usr/share/man/man3/Mail::SpamAssassin::Plugin::AntiVirus.3pm.gz
/usr/share/man/man3/Mail::SpamAssassin::Plugin::AskDNS.3pm.gz
/usr/share/man/man3/Mail::SpamAssassin::Plugin::AutoLearnThreshold.3pm.gz
/usr/share/man/man3/Mail::SpamAssassin::Plugin::Bayes.3pm.gz
/usr/share/man/man3/Mail::SpamAssassin::Plugin::BodyRuleBaseExtractor.3pm.gz
/usr/share/man/man3/Mail::SpamAssassin::Plugin::Check.3pm.gz
/usr/share/man/man3/Mail::SpamAssassin::Plugin::DCC.3pm.gz
/usr/share/man/man3/Mail::SpamAssassin::Plugin::DKIM.3pm.gz
/usr/share/man/man3/Mail::SpamAssassin::Plugin::DNSEval.3pm.gz
/usr/share/man/man3/Mail::SpamAssassin::Plugin::FreeMail.3pm.gz
/usr/share/man/man3/Mail::SpamAssassin::Plugin::FromNameSpoof.3pm.gz
/usr/share/man/man3/Mail::SpamAssassin::Plugin::HashBL.3pm.gz
/usr/share/man/man3/Mail::SpamAssassin::Plugin::Hashcash.3pm.gz
/usr/share/man/man3/Mail::SpamAssassin::Plugin::MIMEEval.3pm.gz
/usr/share/man/man3/Mail::SpamAssassin::Plugin::MIMEHeader.3pm.gz
/usr/share/man/man3/Mail::SpamAssassin::Plugin::OLEVBMacro.3pm.gz
/usr/share/man/man3/Mail::SpamAssassin::Plugin::OneLineBodyRuleType.3pm.gz
/usr/share/man/man3/Mail::SpamAssassin::Plugin::PDFInfo.3pm.gz
/usr/share/man/man3/Mail::SpamAssassin::Plugin::PhishTag.3pm.gz
/usr/share/man/man3/Mail::SpamAssassin::Plugin::Phishing.3pm.gz
/usr/share/man/man3/Mail::SpamAssassin::Plugin::Pyzor.3pm.gz
/usr/share/man/man3/Mail::SpamAssassin::Plugin::Razor2.3pm.gz
/usr/share/man/man3/Mail::SpamAssassin::Plugin::ReplaceTags.3pm.gz
/usr/share/man/man3/Mail::SpamAssassin::Plugin::Reuse.3pm.gz
/usr/share/man/man3/Mail::SpamAssassin::Plugin::Rule2XSBody.3pm.gz
/usr/share/man/man3/Mail::SpamAssassin::Plugin::SPF.3pm.gz
/usr/share/man/man3/Mail::SpamAssassin::Plugin::Shortcircuit.3pm.gz
/usr/share/man/man3/Mail::SpamAssassin::Plugin::SpamCop.3pm.gz
/usr/share/man/man3/Mail::SpamAssassin::Plugin::Test.3pm.gz
/usr/share/man/man3/Mail::SpamAssassin::Plugin::TextCat.3pm.gz
/usr/share/man/man3/Mail::SpamAssassin::Plugin::TxRep.3pm.gz
/usr/share/man/man3/Mail::SpamAssassin::Plugin::URIDNSBL.3pm.gz
/usr/share/man/man3/Mail::SpamAssassin::Plugin::URIDetail.3pm.gz
/usr/share/man/man3/Mail::SpamAssassin::Plugin::VBounce.3pm.gz
/usr/share/man/man3/Mail::SpamAssassin::Plugin::WhiteListSubject.3pm.gz
/usr/share/man/man3/Mail::SpamAssassin::PluginHandler.3pm.gz
/usr/share/man/man3/Mail::SpamAssassin::RegistryBoundaries.3pm.gz
/usr/share/man/man3/Mail::SpamAssassin::SQLBasedAddrList.3pm.gz
/usr/share/man/man3/Mail::SpamAssassin::SubProcBackChannel.3pm.gz
/usr/share/man/man3/Mail::SpamAssassin::Timeout.3pm.gz
/usr/share/man/man3/Mail::SpamAssassin::Util.3pm.gz
/usr/share/man/man3/Mail::SpamAssassin::Util::DependencyInfo.3pm.gz
/usr/share/man/man3/Mail::SpamAssassin::Util::Progress.3pm.gz
/usr/share/man/man3/spamassassin-run.3pm.gz
/usr/share/perl5/vendor_perl/Mail
/usr/share/perl5/vendor_perl/Mail/SpamAssassin
/usr/share/perl5/vendor_perl/Mail/SpamAssassin.pm
/usr/share/perl5/vendor_perl/Mail/SpamAssassin/AICache.pm
/usr/share/perl5/vendor_perl/Mail/SpamAssassin/ArchiveIterator.pm
/usr/share/perl5/vendor_perl/Mail/SpamAssassin/AsyncLoop.pm
/usr/share/perl5/vendor_perl/Mail/SpamAssassin/AutoWhitelist.pm
/usr/share/perl5/vendor_perl/Mail/SpamAssassin/Bayes
/usr/share/perl5/vendor_perl/Mail/SpamAssassin/Bayes.pm
/usr/share/perl5/vendor_perl/Mail/SpamAssassin/Bayes/CombineChi.pm
/usr/share/perl5/vendor_perl/Mail/SpamAssassin/Bayes/CombineNaiveBayes.pm
/usr/share/perl5/vendor_perl/Mail/SpamAssassin/BayesStore
/usr/share/perl5/vendor_perl/Mail/SpamAssassin/BayesStore.pm
/usr/share/perl5/vendor_perl/Mail/SpamAssassin/BayesStore/BDB.pm
/usr/share/perl5/vendor_perl/Mail/SpamAssassin/BayesStore/DBM.pm
/usr/share/perl5/vendor_perl/Mail/SpamAssassin/BayesStore/MySQL.pm
/usr/share/perl5/vendor_perl/Mail/SpamAssassin/BayesStore/PgSQL.pm
/usr/share/perl5/vendor_perl/Mail/SpamAssassin/BayesStore/Redis.pm
/usr/share/perl5/vendor_perl/Mail/SpamAssassin/BayesStore/SDBM.pm
/usr/share/perl5/vendor_perl/Mail/SpamAssassin/BayesStore/SQL.pm
/usr/share/perl5/vendor_perl/Mail/SpamAssassin/Client.pm
/usr/share/perl5/vendor_perl/Mail/SpamAssassin/Conf
/usr/share/perl5/vendor_perl/Mail/SpamAssassin/Conf.pm
/usr/share/perl5/vendor_perl/Mail/SpamAssassin/Conf/LDAP.pm
/usr/share/perl5/vendor_perl/Mail/SpamAssassin/Conf/Parser.pm
/usr/share/perl5/vendor_perl/Mail/SpamAssassin/Conf/SQL.pm
/usr/share/perl5/vendor_perl/Mail/SpamAssassin/Constants.pm
/usr/share/perl5/vendor_perl/Mail/SpamAssassin/DBBasedAddrList.pm
/usr/share/perl5/vendor_perl/Mail/SpamAssassin/Dns.pm
/usr/share/perl5/vendor_perl/Mail/SpamAssassin/DnsResolver.pm
/usr/share/perl5/vendor_perl/Mail/SpamAssassin/HTML.pm
/usr/share/perl5/vendor_perl/Mail/SpamAssassin/Locales.pm
/usr/share/perl5/vendor_perl/Mail/SpamAssassin/Locker
/usr/share/perl5/vendor_perl/Mail/SpamAssassin/Locker.pm
/usr/share/perl5/vendor_perl/Mail/SpamAssassin/Locker/Flock.pm
/usr/share/perl5/vendor_perl/Mail/SpamAssassin/Locker/UnixNFSSafe.pm
/usr/share/perl5/vendor_perl/Mail/SpamAssassin/Locker/Win32.pm
/usr/share/perl5/vendor_perl/Mail/SpamAssassin/Logger
/usr/share/perl5/vendor_perl/Mail/SpamAssassin/Logger.pm
/usr/share/perl5/vendor_perl/Mail/SpamAssassin/Logger/File.pm
/usr/share/perl5/vendor_perl/Mail/SpamAssassin/Logger/Stderr.pm
/usr/share/perl5/vendor_perl/Mail/SpamAssassin/Logger/Syslog.pm
/usr/share/perl5/vendor_perl/Mail/SpamAssassin/MailingList.pm
/usr/share/perl5/vendor_perl/Mail/SpamAssassin/Message
/usr/share/perl5/vendor_perl/Mail/SpamAssassin/Message.pm
/usr/share/perl5/vendor_perl/Mail/SpamAssassin/Message/Metadata
/usr/share/perl5/vendor_perl/Mail/SpamAssassin/Message/Metadata.pm
/usr/share/perl5/vendor_perl/Mail/SpamAssassin/Message/Metadata/Received.pm
/usr/share/perl5/vendor_perl/Mail/SpamAssassin/Message/Node.pm
/usr/share/perl5/vendor_perl/Mail/SpamAssassin/NetSet.pm
/usr/share/perl5/vendor_perl/Mail/SpamAssassin/PerMsgLearner.pm
/usr/share/perl5/vendor_perl/Mail/SpamAssassin/PerMsgStatus.pm
/usr/share/perl5/vendor_perl/Mail/SpamAssassin/PersistentAddrList.pm
/usr/share/perl5/vendor_perl/Mail/SpamAssassin/Plugin
/usr/share/perl5/vendor_perl/Mail/SpamAssassin/Plugin.pm
/usr/share/perl5/vendor_perl/Mail/SpamAssassin/Plugin/ASN.pm
/usr/share/perl5/vendor_perl/Mail/SpamAssassin/Plugin/AWL.pm
/usr/share/perl5/vendor_perl/Mail/SpamAssassin/Plugin/AccessDB.pm
/usr/share/perl5/vendor_perl/Mail/SpamAssassin/Plugin/AntiVirus.pm
/usr/share/perl5/vendor_perl/Mail/SpamAssassin/Plugin/AskDNS.pm
/usr/share/perl5/vendor_perl/Mail/SpamAssassin/Plugin/AutoLearnThreshold.pm
/usr/share/perl5/vendor_perl/Mail/SpamAssassin/Plugin/Bayes.pm
/usr/share/perl5/vendor_perl/Mail/SpamAssassin/Plugin/BodyEval.pm
/usr/share/perl5/vendor_perl/Mail/SpamAssassin/Plugin/BodyRuleBaseExtractor.pm
/usr/share/perl5/vendor_perl/Mail/SpamAssassin/Plugin/Check.pm
/usr/share/perl5/vendor_perl/Mail/SpamAssassin/Plugin/DCC.pm
/usr/share/perl5/vendor_perl/Mail/SpamAssassin/Plugin/DKIM.pm
/usr/share/perl5/vendor_perl/Mail/SpamAssassin/Plugin/DNSEval.pm
/usr/share/perl5/vendor_perl/Mail/SpamAssassin/Plugin/FreeMail.pm
/usr/share/perl5/vendor_perl/Mail/SpamAssassin/Plugin/FromNameSpoof.pm
/usr/share/perl5/vendor_perl/Mail/SpamAssassin/Plugin/HTMLEval.pm
/usr/share/perl5/vendor_perl/Mail/SpamAssassin/Plugin/HTTPSMismatch.pm
/usr/share/perl5/vendor_perl/Mail/SpamAssassin/Plugin/HashBL.pm
/usr/share/perl5/vendor_perl/Mail/SpamAssassin/Plugin/Hashcash.pm
/usr/share/perl5/vendor_perl/Mail/SpamAssassin/Plugin/HeaderEval.pm
/usr/share/perl5/vendor_perl/Mail/SpamAssassin/Plugin/ImageInfo.pm
/usr/share/perl5/vendor_perl/Mail/SpamAssassin/Plugin/MIMEEval.pm
/usr/share/perl5/vendor_perl/Mail/SpamAssassin/Plugin/MIMEHeader.pm
/usr/share/perl5/vendor_perl/Mail/SpamAssassin/Plugin/OLEVBMacro.pm
/usr/share/perl5/vendor_perl/Mail/SpamAssassin/Plugin/OneLineBodyRuleType.pm
/usr/share/perl5/vendor_perl/Mail/SpamAssassin/Plugin/PDFInfo.pm
/usr/share/perl5/vendor_perl/Mail/SpamAssassin/Plugin/PhishTag.pm
/usr/share/perl5/vendor_perl/Mail/SpamAssassin/Plugin/Phishing.pm
/usr/share/perl5/vendor_perl/Mail/SpamAssassin/Plugin/Pyzor.pm
/usr/share/perl5/vendor_perl/Mail/SpamAssassin/Plugin/Razor2.pm
/usr/share/perl5/vendor_perl/Mail/SpamAssassin/Plugin/RelayEval.pm
/usr/share/perl5/vendor_perl/Mail/SpamAssassin/Plugin/ReplaceTags.pm
/usr/share/perl5/vendor_perl/Mail/SpamAssassin/Plugin/Reuse.pm
/usr/share/perl5/vendor_perl/Mail/SpamAssassin/Plugin/Rule2XSBody.pm
/usr/share/perl5/vendor_perl/Mail/SpamAssassin/Plugin/SPF.pm
/usr/share/perl5/vendor_perl/Mail/SpamAssassin/Plugin/Shortcircuit.pm
/usr/share/perl5/vendor_perl/Mail/SpamAssassin/Plugin/SpamCop.pm
/usr/share/perl5/vendor_perl/Mail/SpamAssassin/Plugin/Test.pm
/usr/share/perl5/vendor_perl/Mail/SpamAssassin/Plugin/TextCat.pm
/usr/share/perl5/vendor_perl/Mail/SpamAssassin/Plugin/TxRep.pm
/usr/share/perl5/vendor_perl/Mail/SpamAssassin/Plugin/URIDNSBL.pm
/usr/share/perl5/vendor_perl/Mail/SpamAssassin/Plugin/URIDetail.pm
/usr/share/perl5/vendor_perl/Mail/SpamAssassin/Plugin/URIEval.pm
/usr/share/perl5/vendor_perl/Mail/SpamAssassin/Plugin/VBounce.pm
/usr/share/perl5/vendor_perl/Mail/SpamAssassin/Plugin/WLBLEval.pm
/usr/share/perl5/vendor_perl/Mail/SpamAssassin/Plugin/WhiteListSubject.pm
/usr/share/perl5/vendor_perl/Mail/SpamAssassin/PluginHandler.pm
/usr/share/perl5/vendor_perl/Mail/SpamAssassin/RegistryBoundaries.pm
/usr/share/perl5/vendor_perl/Mail/SpamAssassin/Reporter.pm
/usr/share/perl5/vendor_perl/Mail/SpamAssassin/SQLBasedAddrList.pm
/usr/share/perl5/vendor_perl/Mail/SpamAssassin/SpamdForkScaling.pm
/usr/share/perl5/vendor_perl/Mail/SpamAssassin/SubProcBackChannel.pm
/usr/share/perl5/vendor_perl/Mail/SpamAssassin/Timeout.pm
/usr/share/perl5/vendor_perl/Mail/SpamAssassin/Util
/usr/share/perl5/vendor_perl/Mail/SpamAssassin/Util.pm
/usr/share/perl5/vendor_perl/Mail/SpamAssassin/Util/DependencyInfo.pm
/usr/share/perl5/vendor_perl/Mail/SpamAssassin/Util/Progress.pm
/usr/share/perl5/vendor_perl/Mail/SpamAssassin/Util/ScopedTimer.pm
/usr/share/perl5/vendor_perl/Mail/SpamAssassin/Util/TieOneStringHash.pm
/usr/share/perl5/vendor_perl/Mail/SpamAssassin/Util/TinyRedis.pm
/usr/share/perl5/vendor_perl/spamassassin-run.pod
/usr/share/spamassassin
/usr/share/spamassassin/10_default_prefs.cf
/usr/share/spamassassin/10_hasbase.cf
/usr/share/spamassassin/20_advance_fee.cf
/usr/share/spamassassin/20_aux_tlds.cf
/usr/share/spamassassin/20_body_tests.cf
/usr/share/spamassassin/20_compensate.cf
/usr/share/spamassassin/20_dnsbl_tests.cf
/usr/share/spamassassin/20_drugs.cf
/usr/share/spamassassin/20_dynrdns.cf
/usr/share/spamassassin/20_fake_helo_tests.cf
/usr/share/spamassassin/20_freemail.cf
/usr/share/spamassassin/20_freemail_domains.cf
/usr/share/spamassassin/20_freemail_mailcom_domains.cf
/usr/share/spamassassin/20_head_tests.cf
/usr/share/spamassassin/20_html_tests.cf
/usr/share/spamassassin/20_imageinfo.cf
/usr/share/spamassassin/20_mailspike.cf
/usr/share/spamassassin/20_meta_tests.cf
/usr/share/spamassassin/20_net_tests.cf
/usr/share/spamassassin/20_pdfinfo.cf
/usr/share/spamassassin/20_phrases.cf
/usr/share/spamassassin/20_porn.cf
/usr/share/spamassassin/20_ratware.cf
/usr/share/spamassassin/20_uri_tests.cf
/usr/share/spamassassin/20_vbounce.cf
/usr/share/spamassassin/23_bayes.cf
/usr/share/spamassassin/25_accessdb.cf
/usr/share/spamassassin/25_antivirus.cf
/usr/share/spamassassin/25_asn.cf
/usr/share/spamassassin/25_dcc.cf
/usr/share/spamassassin/25_dkim.cf
/usr/share/spamassassin/25_dnswl.cf
/usr/share/spamassassin/25_pyzor.cf
/usr/share/spamassassin/25_razor2.cf
/usr/share/spamassassin/25_replace.cf
/usr/share/spamassassin/25_spf.cf
/usr/share/spamassassin/25_textcat.cf
/usr/share/spamassassin/25_uribl.cf
/usr/share/spamassassin/30_text_de.cf
/usr/share/spamassassin/30_text_fr.cf
/usr/share/spamassassin/30_text_it.cf
/usr/share/spamassassin/30_text_nl.cf
/usr/share/spamassassin/30_text_pl.cf
/usr/share/spamassassin/30_text_pt_br.cf
/usr/share/spamassassin/50_scores.cf
/usr/share/spamassassin/60_adsp_override_dkim.cf
/usr/share/spamassassin/60_awl.cf
/usr/share/spamassassin/60_shortcircuit.cf
/usr/share/spamassassin/60_txrep.cf
/usr/share/spamassassin/60_whitelist.cf
/usr/share/spamassassin/60_whitelist_auth.cf
/usr/share/spamassassin/60_whitelist_dkim.cf
/usr/share/spamassassin/60_whitelist_spf.cf
/usr/share/spamassassin/60_whitelist_subject.cf
/usr/share/spamassassin/72_active.cf
/usr/share/spamassassin/72_scores.cf
/usr/share/spamassassin/73_sandbox_manual_scores.cf
/usr/share/spamassassin/STATISTICS-set0-72_scores.cf.txt
/usr/share/spamassassin/STATISTICS-set1-72_scores.cf.txt
/usr/share/spamassassin/STATISTICS-set2-72_scores.cf.txt
/usr/share/spamassassin/STATISTICS-set3-72_scores.cf.txt
/usr/share/spamassassin/languages
/usr/share/spamassassin/local.cf
/usr/share/spamassassin/regression_tests.cf
/usr/share/spamassassin/sa-update-pubkey.txt
/usr/share/spamassassin/sa-update.cron
/usr/share/spamassassin/user_prefs.template
/var/lib/spamassassin

References

Summary

In this tutorial we learn how to install spamassassin on CentOS 8 using yum and dnf.