How To Install bogofilter on Rocky Linux 8

In this tutorial we learn how to install bogofilter on Rocky Linux 8. bogofilter is Fast anti-spam filtering by Bayesian statistical analysis

Introduction

In this tutorial we learn how to install bogofilter on Rocky Linux 8.

What is bogofilter

Bogofilter is a Bayesian spam filter. In its normal mode of operation, it takes an email message or other text on standard input, does a statistical check against lists of “good” and “bad” words, and returns a status code indicating whether or not the message is spam. Bogofilter is designed with fast algorithms (including Berkeley DB system), coded directly in C, and tuned for speed, so it can be used for production by sites that process a lot of mail.

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

Install bogofilter on Rocky Linux 8 Using dnf

Update yum database with dnf using the following command.

sudo dnf makecache --refresh

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

sudo dnf -y install bogofilter

Install bogofilter on Rocky Linux 8 Using yum

Update yum database with yum using the following command.

sudo yum makecache --refresh

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

sudo yum -y install bogofilter

How To Uninstall bogofilter on Rocky Linux 8

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

sudo dnf remove bogofilter

bogofilter Package Contents on Rocky Linux 8

/etc/bogofilter.cf
/usr/bin/bf_compact
/usr/bin/bf_copy
/usr/bin/bf_tar
/usr/bin/bogofilter
/usr/bin/bogolexer
/usr/bin/bogotune
/usr/bin/bogoutil
/usr/lib/.build-id
/usr/lib/.build-id/7b
/usr/lib/.build-id/7b/a59b093689b6e47b18fcc0b1d50aa01d1bf7b7
/usr/lib/.build-id/96
/usr/lib/.build-id/96/f456d73f0677bed7d19c824e6e29415ca1702f
/usr/lib/.build-id/a2
/usr/lib/.build-id/a2/888ea69d9a266ed44a2705f5d7e7553a940dc6
/usr/lib/.build-id/c5
/usr/lib/.build-id/c5/00f4e01e2932d2515945982d6393fbc4d8f28c
/usr/share/doc/bogofilter
/usr/share/doc/bogofilter/AUTHORS
/usr/share/doc/bogofilter/COPYING
/usr/share/doc/bogofilter/NEWS
/usr/share/doc/bogofilter/README
/usr/share/doc/bogofilter/README.git
/usr/share/doc/bogofilter/RELEASE.NOTES
/usr/share/doc/bogofilter/TODO
/usr/share/doc/bogofilter/bogofilter-SA-2002-01
/usr/share/doc/bogofilter/bogofilter-SA-2004-01
/usr/share/doc/bogofilter/bogofilter-SA-2005-01
/usr/share/doc/bogofilter/bogofilter-SA-2005-02
/usr/share/doc/bogofilter/bogofilter-SA-2010-01
/usr/share/doc/bogofilter/bogofilter-SA-2012-01
/usr/share/doc/bogofilter/bogofilter-tuning.HOWTO.html
/usr/share/doc/bogofilter/bogofilter.cf.example
/usr/share/doc/bogofilter/contrib
/usr/share/doc/bogofilter/contrib/.deps
/usr/share/doc/bogofilter/contrib/.deps/.dirstamp
/usr/share/doc/bogofilter/contrib/.dirstamp
/usr/share/doc/bogofilter/contrib/README.contrib
/usr/share/doc/bogofilter/contrib/README.randomtrain
/usr/share/doc/bogofilter/contrib/bfproxy.pl
/usr/share/doc/bogofilter/contrib/bogo.R
/usr/share/doc/bogofilter/contrib/bogofilter-milter.pl
/usr/share/doc/bogofilter/contrib/bogofilter-qfe.sh
/usr/share/doc/bogofilter/contrib/bogogrep.c
/usr/share/doc/bogofilter/contrib/bogogrep.o
/usr/share/doc/bogofilter/contrib/bogominitrain.pl
/usr/share/doc/bogofilter/contrib/dot-qmail-bogofilter-default
/usr/share/doc/bogofilter/contrib/mailfilter.example
/usr/share/doc/bogofilter/contrib/mime.get.rfc822.pl
/usr/share/doc/bogofilter/contrib/parmtest.sh
/usr/share/doc/bogofilter/contrib/printmaildir.pl
/usr/share/doc/bogofilter/contrib/procmailrc.example
/usr/share/doc/bogofilter/contrib/randomtrain.sh
/usr/share/doc/bogofilter/contrib/scramble.sh
/usr/share/doc/bogofilter/contrib/spamitarium.pl
/usr/share/doc/bogofilter/contrib/stripsearch.pl
/usr/share/doc/bogofilter/contrib/trainbogo.sh
/usr/share/doc/bogofilter/contrib/vm-bogofilter.el
/usr/share/doc/bogofilter/html
/usr/share/doc/bogofilter/html/bf_compact.html
/usr/share/doc/bogofilter/html/bf_copy.html
/usr/share/doc/bogofilter/html/bf_tar.html
/usr/share/doc/bogofilter/html/bogofilter-faq-fr.html
/usr/share/doc/bogofilter/html/bogofilter-faq-it.html
/usr/share/doc/bogofilter/html/bogofilter-faq.html
/usr/share/doc/bogofilter/html/bogofilter-tuning.HOWTO.html
/usr/share/doc/bogofilter/html/bogofilter.html
/usr/share/doc/bogofilter/html/bogolexer.html
/usr/share/doc/bogofilter/html/bogotune-faq.html
/usr/share/doc/bogofilter/html/bogotune.html
/usr/share/doc/bogofilter/html/bogoupgrade.html
/usr/share/doc/bogofilter/html/bogoutil.html
/usr/share/doc/bogofilter/integrating-with-postfix
/usr/share/doc/bogofilter/integrating-with-qmail
/usr/share/doc/bogofilter/programmer
/usr/share/doc/bogofilter/programmer/OS2
/usr/share/doc/bogofilter/programmer/OS2/configure.os2
/usr/share/doc/bogofilter/programmer/README.RISC-OS
/usr/share/doc/bogofilter/programmer/README.freebsd
/usr/share/doc/bogofilter/programmer/README.hp-ux
/usr/share/doc/bogofilter/programmer/README.memory-checking
/usr/share/doc/bogofilter/programmer/README.osx
/usr/share/doc/bogofilter/programmer/RISC-OS
/usr/share/doc/bogofilter/programmer/RISC-OS/gsl
/usr/share/doc/bogofilter/programmer/RISC-OS/gsl/Makefile
/usr/share/doc/bogofilter/programmer/RISC-OS/src
/usr/share/doc/bogofilter/programmer/RISC-OS/src/Makefile
/usr/share/doc/bogofilter/xml
/usr/share/doc/bogofilter/xml/bf_compact.xml
/usr/share/doc/bogofilter/xml/bf_copy.xml
/usr/share/doc/bogofilter/xml/bf_tar.xml
/usr/share/doc/bogofilter/xml/bogofilter.xml
/usr/share/doc/bogofilter/xml/bogolexer.xml
/usr/share/doc/bogofilter/xml/bogotune.xml
/usr/share/doc/bogofilter/xml/bogoupgrade.xml
/usr/share/doc/bogofilter/xml/bogoutil.xml
/usr/share/man/man1/bf_compact.1.gz
/usr/share/man/man1/bf_copy.1.gz
/usr/share/man/man1/bf_tar.1.gz
/usr/share/man/man1/bogofilter.1.gz
/usr/share/man/man1/bogolexer.1.gz
/usr/share/man/man1/bogotune.1.gz
/usr/share/man/man1/bogoutil.1.gz

References

Summary

In this tutorial we learn how to install bogofilter on Rocky Linux 8 using yum and dnf.