How To Install ssmtp on Fedora 36
Introduction
In this tutorial we learn how to install ssmtp
on Fedora 36.
What is ssmtp
A secure, effective and simple way of getting mail off a system to your mail hub. It contains no suid-binaries or other dangerous things - no mail spool to poke around in, and no daemons running in the background. Mail is simply forwarded to the configured mailhost. Extremely easy configuration. WARNING or manage a queue. That belongs on a mail hub with a system administrator.
We can use yum
or dnf
to install ssmtp
on Fedora 36. In this tutorial we discuss both methods but you only need to choose one of method to install ssmtp.
Install ssmtp on Fedora 36 Using dnf
Update yum database with dnf
using the following command.
sudo dnf makecache --refresh
After updating yum database, We can install ssmtp
using dnf
by running the following command:
sudo dnf -y install ssmtp
Install ssmtp on Fedora 36 Using yum
Update yum database with yum
using the following command.
sudo yum makecache --refresh
After updating yum database, We can install ssmtp
using yum
by running the following command:
sudo yum -y install ssmtp
How To Uninstall ssmtp on Fedora 36
To uninstall only the ssmtp
package we can use the following command:
sudo dnf remove ssmtp
ssmtp Package Contents on Fedora 36
/etc/ssmtp
/etc/ssmtp/revaliases
/etc/ssmtp/ssmtp.conf
/usr/bin/mailq
/usr/bin/mailq.ssmtp
/usr/bin/newaliases
/usr/bin/newaliases.ssmtp
/usr/lib/.build-id
/usr/lib/.build-id/97
/usr/lib/.build-id/97/dd9537b090c32382733930bf1cdb543cc751fc
/usr/sbin/sendmail
/usr/sbin/sendmail.ssmtp
/usr/sbin/ssmtp
/usr/share/doc/ssmtp
/usr/share/doc/ssmtp/CHANGELOG_OLD
/usr/share/doc/ssmtp/COPYING
/usr/share/doc/ssmtp/COPYRIGHT
/usr/share/doc/ssmtp/ChangeLog
/usr/share/doc/ssmtp/INSTALL
/usr/share/doc/ssmtp/README
/usr/share/doc/ssmtp/TLS
/usr/share/man/man5/ssmtp.conf.5.gz
/usr/share/man/man8/mailq.8.gz
/usr/share/man/man8/mailq.ssmtp.8.gz
/usr/share/man/man8/newaliases.8.gz
/usr/share/man/man8/newaliases.ssmtp.8.gz
/usr/share/man/man8/sendmail.8.gz
/usr/share/man/man8/ssmtp.8.gz
References
Summary
In this tutorial we learn how to install ssmtp
on Fedora 36 using yum and [dnf]((/fedora/36/dnf/).