How To Install sendmail-doc on CentOS 8

sendmail-doc is Documentation about the Sendmail Mail Transport Agent program

Introduction

In this tutorial we learn how to install sendmail-doc on CentOS 8.

What is sendmail-doc

This package contains the Sendmail Installation and Operation Guide (PDF), text files containing configuration documentation, plus a number of contributed scripts and tools for use with Sendmail.

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

Install sendmail-doc 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 sendmail-doc using dnf by running the following command:

sudo dnf -y install sendmail-doc

Install sendmail-doc 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 sendmail-doc using yum by running the following command:

sudo yum -y install sendmail-doc

How To Uninstall sendmail-doc on CentOS 8

To uninstall only the sendmail-doc package we can use the following command:

sudo dnf remove sendmail-doc

sendmail-doc Package Contents on CentOS 8

/usr/share/doc/sendmail/README.cf
/usr/share/doc/sendmail/README.sendmail
/usr/share/doc/sendmail/README.smrsh
/usr/share/doc/sendmail/SECURITY
/usr/share/doc/sendmail/contrib
/usr/share/doc/sendmail/contrib/AuthRealm.p0
/usr/share/doc/sendmail/contrib/README
/usr/share/doc/sendmail/contrib/bitdomain.c
/usr/share/doc/sendmail/contrib/bounce-resender.pl
/usr/share/doc/sendmail/contrib/bsdi.mc
/usr/share/doc/sendmail/contrib/buildvirtuser
/usr/share/doc/sendmail/contrib/cidrexpand
/usr/share/doc/sendmail/contrib/dnsblaccess.m4
/usr/share/doc/sendmail/contrib/domainmap.m4
/usr/share/doc/sendmail/contrib/doublebounce.pl
/usr/share/doc/sendmail/contrib/etrn.0
/usr/share/doc/sendmail/contrib/etrn.pl
/usr/share/doc/sendmail/contrib/expn.pl
/usr/share/doc/sendmail/contrib/link_hash.sh
/usr/share/doc/sendmail/contrib/mail.local.linux
/usr/share/doc/sendmail/contrib/mailprio
/usr/share/doc/sendmail/contrib/mh.patch
/usr/share/doc/sendmail/contrib/mmuegel
/usr/share/doc/sendmail/contrib/movemail.conf
/usr/share/doc/sendmail/contrib/movemail.pl
/usr/share/doc/sendmail/contrib/passwd-to-alias.pl
/usr/share/doc/sendmail/contrib/qtool.8
/usr/share/doc/sendmail/contrib/qtool.pl
/usr/share/doc/sendmail/contrib/re-mqueue.pl
/usr/share/doc/sendmail/contrib/rmail.oldsys.patch
/usr/share/doc/sendmail/contrib/smcontrol.pl
/usr/share/doc/sendmail/contrib/socketmapClient.pl
/usr/share/doc/sendmail/contrib/socketmapServer.pl
/usr/share/doc/sendmail/op.pdf

References

Summary

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