How To Install sendmail.x86_64 on Amazon Linux 2
Introduction
In this tutorial we learn how to install sendmail.x86_64
on Amazon Linux 2.
What is sendmail.x86_64
The Sendmail program is a very widely used Mail Transport Agent (MTA). MTAs send mail from one machine to another. Sendmail is not a client program, which you use to read your email. Sendmail is a behind-the-scenes program which actually moves your email over networks or the Internet to where you want it to go. If you ever need to reconfigure Sendmail, you will also need to have the sendmail-cf package installed. If you need documentation on Sendmail, you can install the sendmail-doc package.
We can use yum
to install sendmail.x86_64
on Amazon Linux 2. In this tutorial we discuss both methods but you only need to choose one of method to install sendmail.x86_64.
Install sendmail.x86_64 on Amazon Linux 2 Using yum
Update yum database with yum
using the following command.
sudo yum makecache --refresh
After updating yum database, We can install sendmail.x86_64
using yum
by running the following command:
sudo yum -y install sendmail.x86_64
How To Uninstall sendmail.x86_64 on Amazon Linux 2
To uninstall only the sendmail.x86_64
package we can use the following command:
sudo yum remove sendmail.x86_64
sendmail.x86_64 Package Contents on Amazon Linux 2
/etc/NetworkManager/dispatcher.d/10-sendmail
/etc/mail
/etc/mail/Makefile
/etc/mail/access
/etc/mail/access.db
/etc/mail/aliasesdb-stamp
/etc/mail/domaintable
/etc/mail/domaintable.db
/etc/mail/helpfile
/etc/mail/local-host-names
/etc/mail/mailertable
/etc/mail/mailertable.db
/etc/mail/make
/etc/mail/sendmail.cf
/etc/mail/sendmail.mc
/etc/mail/submit.cf
/etc/mail/submit.mc
/etc/mail/trusted-users
/etc/mail/virtusertable
/etc/mail/virtusertable.db
/etc/pam.d/smtp
/etc/pam.d/smtp.sendmail
/etc/sasl2/Sendmail.conf
/etc/smrsh
/etc/sysconfig/sendmail
/usr/bin/hoststat
/usr/bin/mailq
/usr/bin/mailq.sendmail
/usr/bin/makemap
/usr/bin/newaliases
/usr/bin/newaliases.sendmail
/usr/bin/purgestat
/usr/bin/rmail
/usr/bin/rmail.sendmail
/usr/lib/sendmail
/usr/lib/sendmail.sendmail
/usr/lib/systemd/system/sendmail.service
/usr/lib/systemd/system/sm-client.service
/usr/sbin/editmap
/usr/sbin/editmap.sendmail
/usr/sbin/mailstats
/usr/sbin/makemap
/usr/sbin/makemap.sendmail
/usr/sbin/praliases
/usr/sbin/sendmail
/usr/sbin/sendmail.sendmail
/usr/sbin/smrsh
/usr/share/doc/sendmail-8.14.7
/usr/share/doc/sendmail-8.14.7/FAQ
/usr/share/doc/sendmail-8.14.7/KNOWNBUGS
/usr/share/doc/sendmail-8.14.7/LICENSE
/usr/share/doc/sendmail-8.14.7/README
/usr/share/doc/sendmail-8.14.7/RELEASE_NOTES.gz
/usr/share/man/man1/mailq.1.gz
/usr/share/man/man1/mailq.sendmail.1.gz
/usr/share/man/man1/newaliases.1.gz
/usr/share/man/man1/newaliases.sendmail.1.gz
/usr/share/man/man5/aliases.5.gz
/usr/share/man/man5/aliases.sendmail.5.gz
/usr/share/man/man8/editmap.8.gz
/usr/share/man/man8/editmap.sendmail.8.gz
/usr/share/man/man8/hoststat.8.gz
/usr/share/man/man8/mailstats.8.gz
/usr/share/man/man8/makemap.8.gz
/usr/share/man/man8/makemap.sendmail.8.gz
/usr/share/man/man8/praliases.8.gz
/usr/share/man/man8/purgestat.8.gz
/usr/share/man/man8/rmail.8.gz
/usr/share/man/man8/rmail.sendmail.8.gz
/usr/share/man/man8/sendmail.8.gz
/usr/share/man/man8/sendmail.sendmail.8.gz
/usr/share/man/man8/smrsh.8.gz
/var/log/mail
/var/log/mail/statistics
/var/spool/clientmqueue
/var/spool/clientmqueue/sm-client.st
/var/spool/mqueue
References
Summary
In this tutorial we learn how to install sendmail.x86_64
on Amazon Linux 2 using yum.