How To Install sendmail-cf on CentOS 8
Introduction
In this tutorial we learn how to install sendmail-cf
on CentOS 8.
What is sendmail-cf
This package includes the configuration files you need to generate the sendmail.cf file distributed with the sendmail package. You will need the sendmail-cf package if you ever need to reconfigure and rebuild your sendmail.cf file.
We can use yum
or dnf
to install sendmail-cf
on CentOS 8. In this tutorial we discuss both methods but you only need to choose one of method to install sendmail-cf.
Install sendmail-cf 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-cf
using dnf
by running the following command:
sudo dnf -y install sendmail-cf
Install sendmail-cf 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-cf
using yum
by running the following command:
sudo yum -y install sendmail-cf
How To Uninstall sendmail-cf on CentOS 8
To uninstall only the sendmail-cf
package we can use the following command:
sudo dnf remove sendmail-cf
sendmail-cf Package Contents on CentOS 8
/usr/share/sendmail-cf
/usr/share/sendmail-cf/README
/usr/share/sendmail-cf/cf
/usr/share/sendmail-cf/cf/Build
/usr/share/sendmail-cf/cf/Makefile
/usr/share/sendmail-cf/cf/chez.cs.mc
/usr/share/sendmail-cf/cf/clientproto.mc
/usr/share/sendmail-cf/cf/cs-hpux10.mc
/usr/share/sendmail-cf/cf/cs-hpux9.mc
/usr/share/sendmail-cf/cf/cs-osf1.mc
/usr/share/sendmail-cf/cf/cs-solaris2.mc
/usr/share/sendmail-cf/cf/cs-sunos4.1.mc
/usr/share/sendmail-cf/cf/cs-ultrix4.mc
/usr/share/sendmail-cf/cf/cyrusproto.mc
/usr/share/sendmail-cf/cf/generic-bsd4.4.cf
/usr/share/sendmail-cf/cf/generic-bsd4.4.mc
/usr/share/sendmail-cf/cf/generic-hpux10.cf
/usr/share/sendmail-cf/cf/generic-hpux10.mc
/usr/share/sendmail-cf/cf/generic-hpux9.cf
/usr/share/sendmail-cf/cf/generic-hpux9.mc
/usr/share/sendmail-cf/cf/generic-linux.cf
/usr/share/sendmail-cf/cf/generic-linux.mc
/usr/share/sendmail-cf/cf/generic-mpeix.cf
/usr/share/sendmail-cf/cf/generic-mpeix.mc
/usr/share/sendmail-cf/cf/generic-nextstep3.3.cf
/usr/share/sendmail-cf/cf/generic-nextstep3.3.mc
/usr/share/sendmail-cf/cf/generic-osf1.cf
/usr/share/sendmail-cf/cf/generic-osf1.mc
/usr/share/sendmail-cf/cf/generic-solaris.cf
/usr/share/sendmail-cf/cf/generic-solaris.mc
/usr/share/sendmail-cf/cf/generic-sunos4.1.cf
/usr/share/sendmail-cf/cf/generic-sunos4.1.mc
/usr/share/sendmail-cf/cf/generic-ultrix4.cf
/usr/share/sendmail-cf/cf/generic-ultrix4.mc
/usr/share/sendmail-cf/cf/huginn.cs.mc
/usr/share/sendmail-cf/cf/knecht.mc
/usr/share/sendmail-cf/cf/mail.cs.mc
/usr/share/sendmail-cf/cf/mail.eecs.mc
/usr/share/sendmail-cf/cf/mailspool.cs.mc
/usr/share/sendmail-cf/cf/python.cs.mc
/usr/share/sendmail-cf/cf/s2k-osf1.mc
/usr/share/sendmail-cf/cf/s2k-ultrix4.mc
/usr/share/sendmail-cf/cf/submit.cf
/usr/share/sendmail-cf/cf/submit.mc
/usr/share/sendmail-cf/cf/tcpproto.mc
/usr/share/sendmail-cf/cf/ucbarpa.mc
/usr/share/sendmail-cf/cf/ucbvax.mc
/usr/share/sendmail-cf/cf/uucpproto.mc
/usr/share/sendmail-cf/cf/vangogh.cs.mc
/usr/share/sendmail-cf/domain
/usr/share/sendmail-cf/domain/Berkeley.EDU.m4
/usr/share/sendmail-cf/domain/CS.Berkeley.EDU.m4
/usr/share/sendmail-cf/domain/EECS.Berkeley.EDU.m4
/usr/share/sendmail-cf/domain/S2K.Berkeley.EDU.m4
/usr/share/sendmail-cf/domain/berkeley-only.m4
/usr/share/sendmail-cf/domain/generic.m4
/usr/share/sendmail-cf/feature
/usr/share/sendmail-cf/feature/accept_unqualified_senders.m4
/usr/share/sendmail-cf/feature/accept_unresolvable_domains.m4
/usr/share/sendmail-cf/feature/access_db.m4
/usr/share/sendmail-cf/feature/allmasquerade.m4
/usr/share/sendmail-cf/feature/always_add_domain.m4
/usr/share/sendmail-cf/feature/authinfo.m4
/usr/share/sendmail-cf/feature/badmx.m4
/usr/share/sendmail-cf/feature/bcc.m4
/usr/share/sendmail-cf/feature/bestmx_is_local.m4
/usr/share/sendmail-cf/feature/bitdomain.m4
/usr/share/sendmail-cf/feature/blacklist_recipients.m4
/usr/share/sendmail-cf/feature/block_bad_helo.m4
/usr/share/sendmail-cf/feature/compat_check.m4
/usr/share/sendmail-cf/feature/conncontrol.m4
/usr/share/sendmail-cf/feature/delay_checks.m4
/usr/share/sendmail-cf/feature/dnsbl.m4
/usr/share/sendmail-cf/feature/domaintable.m4
/usr/share/sendmail-cf/feature/enhdnsbl.m4
/usr/share/sendmail-cf/feature/generics_entire_domain.m4
/usr/share/sendmail-cf/feature/genericstable.m4
/usr/share/sendmail-cf/feature/greet_pause.m4
/usr/share/sendmail-cf/feature/ldap_routing.m4
/usr/share/sendmail-cf/feature/limited_masquerade.m4
/usr/share/sendmail-cf/feature/local_lmtp.m4
/usr/share/sendmail-cf/feature/local_no_masquerade.m4
/usr/share/sendmail-cf/feature/local_procmail.m4
/usr/share/sendmail-cf/feature/lookupdotdomain.m4
/usr/share/sendmail-cf/feature/loose_relay_check.m4
/usr/share/sendmail-cf/feature/mailertable.m4
/usr/share/sendmail-cf/feature/masquerade_entire_domain.m4
/usr/share/sendmail-cf/feature/masquerade_envelope.m4
/usr/share/sendmail-cf/feature/msp.m4
/usr/share/sendmail-cf/feature/mtamark.m4
/usr/share/sendmail-cf/feature/no_default_msa.m4
/usr/share/sendmail-cf/feature/nocanonify.m4
/usr/share/sendmail-cf/feature/nopercenthack.m4
/usr/share/sendmail-cf/feature/notsticky.m4
/usr/share/sendmail-cf/feature/nouucp.m4
/usr/share/sendmail-cf/feature/nullclient.m4
/usr/share/sendmail-cf/feature/prefixmod.m4
/usr/share/sendmail-cf/feature/preserve_local_plus_detail.m4
/usr/share/sendmail-cf/feature/preserve_luser_host.m4
/usr/share/sendmail-cf/feature/promiscuous_relay.m4
/usr/share/sendmail-cf/feature/queuegroup.m4
/usr/share/sendmail-cf/feature/ratecontrol.m4
/usr/share/sendmail-cf/feature/redirect.m4
/usr/share/sendmail-cf/feature/relay_based_on_MX.m4
/usr/share/sendmail-cf/feature/relay_entire_domain.m4
/usr/share/sendmail-cf/feature/relay_hosts_only.m4
/usr/share/sendmail-cf/feature/relay_local_from.m4
/usr/share/sendmail-cf/feature/relay_mail_from.m4
/usr/share/sendmail-cf/feature/require_rdns.m4
/usr/share/sendmail-cf/feature/smrsh.m4
/usr/share/sendmail-cf/feature/stickyhost.m4
/usr/share/sendmail-cf/feature/tls_session_features.m4
/usr/share/sendmail-cf/feature/use_client_ptr.m4
/usr/share/sendmail-cf/feature/use_ct_file.m4
/usr/share/sendmail-cf/feature/use_cw_file.m4
/usr/share/sendmail-cf/feature/uucpdomain.m4
/usr/share/sendmail-cf/feature/virtuser_entire_domain.m4
/usr/share/sendmail-cf/feature/virtusertable.m4
/usr/share/sendmail-cf/hack
/usr/share/sendmail-cf/hack/cssubdomain.m4
/usr/share/sendmail-cf/hack/xconnect.m4
/usr/share/sendmail-cf/m4
/usr/share/sendmail-cf/m4/cf.m4
/usr/share/sendmail-cf/m4/cfhead.m4
/usr/share/sendmail-cf/m4/proto.m4
/usr/share/sendmail-cf/m4/version.m4
/usr/share/sendmail-cf/mailer
/usr/share/sendmail-cf/mailer/cyrus.m4
/usr/share/sendmail-cf/mailer/cyrusv2.m4
/usr/share/sendmail-cf/mailer/fax.m4
/usr/share/sendmail-cf/mailer/local.m4
/usr/share/sendmail-cf/mailer/mail11.m4
/usr/share/sendmail-cf/mailer/phquery.m4
/usr/share/sendmail-cf/mailer/pop.m4
/usr/share/sendmail-cf/mailer/procmail.m4
/usr/share/sendmail-cf/mailer/qpage.m4
/usr/share/sendmail-cf/mailer/smtp.m4
/usr/share/sendmail-cf/mailer/usenet.m4
/usr/share/sendmail-cf/mailer/uucp.m4
/usr/share/sendmail-cf/ostype
/usr/share/sendmail-cf/ostype/a-ux.m4
/usr/share/sendmail-cf/ostype/aix3.m4
/usr/share/sendmail-cf/ostype/aix4.m4
/usr/share/sendmail-cf/ostype/aix5.m4
/usr/share/sendmail-cf/ostype/altos.m4
/usr/share/sendmail-cf/ostype/amdahl-uts.m4
/usr/share/sendmail-cf/ostype/bsd4.3.m4
/usr/share/sendmail-cf/ostype/bsd4.4.m4
/usr/share/sendmail-cf/ostype/bsdi.m4
/usr/share/sendmail-cf/ostype/bsdi1.0.m4
/usr/share/sendmail-cf/ostype/bsdi2.0.m4
/usr/share/sendmail-cf/ostype/darwin.m4
/usr/share/sendmail-cf/ostype/dgux.m4
/usr/share/sendmail-cf/ostype/domainos.m4
/usr/share/sendmail-cf/ostype/dragonfly.m4
/usr/share/sendmail-cf/ostype/dynix3.2.m4
/usr/share/sendmail-cf/ostype/freebsd4.m4
/usr/share/sendmail-cf/ostype/freebsd5.m4
/usr/share/sendmail-cf/ostype/freebsd6.m4
/usr/share/sendmail-cf/ostype/gnu.m4
/usr/share/sendmail-cf/ostype/hpux10.m4
/usr/share/sendmail-cf/ostype/hpux11.m4
/usr/share/sendmail-cf/ostype/hpux9.m4
/usr/share/sendmail-cf/ostype/irix4.m4
/usr/share/sendmail-cf/ostype/irix5.m4
/usr/share/sendmail-cf/ostype/irix6.m4
/usr/share/sendmail-cf/ostype/isc4.1.m4
/usr/share/sendmail-cf/ostype/linux.m4
/usr/share/sendmail-cf/ostype/maxion.m4
/usr/share/sendmail-cf/ostype/mklinux.m4
/usr/share/sendmail-cf/ostype/mpeix.m4
/usr/share/sendmail-cf/ostype/nextstep.m4
/usr/share/sendmail-cf/ostype/openbsd.m4
/usr/share/sendmail-cf/ostype/osf1.m4
/usr/share/sendmail-cf/ostype/powerux.m4
/usr/share/sendmail-cf/ostype/ptx2.m4
/usr/share/sendmail-cf/ostype/qnx.m4
/usr/share/sendmail-cf/ostype/riscos4.5.m4
/usr/share/sendmail-cf/ostype/sco-uw-2.1.m4
/usr/share/sendmail-cf/ostype/sco3.2.m4
/usr/share/sendmail-cf/ostype/sinix.m4
/usr/share/sendmail-cf/ostype/solaris11.m4
/usr/share/sendmail-cf/ostype/solaris2.m4
/usr/share/sendmail-cf/ostype/solaris2.ml.m4
/usr/share/sendmail-cf/ostype/solaris2.pre5.m4
/usr/share/sendmail-cf/ostype/solaris8.m4
/usr/share/sendmail-cf/ostype/sunos3.5.m4
/usr/share/sendmail-cf/ostype/sunos4.1.m4
/usr/share/sendmail-cf/ostype/svr4.m4
/usr/share/sendmail-cf/ostype/ultrix4.m4
/usr/share/sendmail-cf/ostype/unicos.m4
/usr/share/sendmail-cf/ostype/unicosmk.m4
/usr/share/sendmail-cf/ostype/unicosmp.m4
/usr/share/sendmail-cf/ostype/unixware7.m4
/usr/share/sendmail-cf/ostype/unknown.m4
/usr/share/sendmail-cf/ostype/uxpds.m4
/usr/share/sendmail-cf/sendmail.schema
/usr/share/sendmail-cf/sh
/usr/share/sendmail-cf/sh/makeinfo.sh
/usr/share/sendmail-cf/siteconfig
/usr/share/sendmail-cf/siteconfig/uucp.cogsci.m4
/usr/share/sendmail-cf/siteconfig/uucp.old.arpa.m4
/usr/share/sendmail-cf/siteconfig/uucp.ucbarpa.m4
/usr/share/sendmail-cf/siteconfig/uucp.ucbvax.m4
References
Summary
In this tutorial we learn how to install sendmail-cf
on CentOS 8 using yum and dnf.