Installing ssmtp - still not found after installing EPEL?

Issues related to applications and software problems and general support
Post Reply
dgorgan
Posts: 1
Joined: 2019/10/30 14:58:59

Installing ssmtp - still not found after installing EPEL?

Post by dgorgan » 2019/10/30 15:15:30

I'm trying to install ssmtp to relay mail to Office 365, but I can't seem to install it. I've followed instructions to install EPEL to make ssmtp available, but I've seen no change after doing so.

To be honest, I'm having issues with sendmail and I'm trying to set up a relay to Office 365. I'm just looking for a simpler solution - if there's an alternative to ssmtp available to CentOS, I'd be happy to hear it.

User avatar
TrevorH
Site Admin
Posts: 33202
Joined: 2009/09/24 10:40:56
Location: Brighton, UK

Re: Installing ssmtp - still not found after installing EPEL?

Post by TrevorH » 2019/10/30 15:40:12

The ssmtp package is orphaned in EPEL as far as I know. That means it has no maintainer who will produce newer packages. The msmtp package isn't there either.

CentOS 8 is just a month old and many EPEL contributors won't even start to package for EPEL 8 until CentOS 8 comes out as they don't have RHEL licenses. If a package is orphaned then there is no-one to build it and care for it so it doesn't get added.

For now I would use postfix since that comes out of the box configured to relay mail from localhost to the intended destination. You can easily change that to deliver it to a smarthost too.

EPEL packages are managed via bugzilla.redhat.com. You can search there for existing bug reports and raise new ones if there are none currently. There are Fedora pages about how to become an EPEL maintainer should you wish to help build and maintain things in the future.
The future appears to be RHEL or Debian. I think I'm going Debian.
Info for USB installs on http://wiki.centos.org/HowTos/InstallFromUSBkey
CentOS 5 and 6 are deadest, do not use them.
Use the FAQ Luke

ahabab
Posts: 1
Joined: 2022/09/19 11:13:00

Re: Installing ssmtp - still not found after installing EPEL?

Post by ahabab » 2022/09/19 16:46:14

I want to learn the process of sending emails from the terminal or a shell script from a Linux operating system, using some of the popular CLI tools. Thats why I am trying to install sSMTP. But somehow I could not.
root@localhost ~]# yum install ssmtp
Last metadata expiration check: 2:10:14 ago on Mon 19 Sep 2022 07:08:56 PM +06.
No match for argument: ssmtp
Error: Unable to find a match: ssmtp

[root@localhost ~]# yum repolist
repo id repo name
AppStream dvd local AppStream repo
BaseOS dvd local Base OS repo
appstream CentOS Stream 8 - AppStream
baseos CentOS Stream 8 - BaseOS
epel Extra Packages for Enterprise Linux 8 - x86_64
epel-modular Extra Packages for Enterprise Linux Modular 8 - x86_64
extras CentOS Stream 8 - Extras
extras-common CentOS Stream 8 - Extras common packages

If I can't install this package, is there any other similar app that I can use for email sending?

User avatar
TrevorH
Site Admin
Posts: 33202
Joined: 2009/09/24 10:40:56
Location: Brighton, UK

Re: Installing ssmtp - still not found after installing EPEL?

Post by TrevorH » 2022/09/19 17:08:50

Try esmtp or msmtp.
The future appears to be RHEL or Debian. I think I'm going Debian.
Info for USB installs on http://wiki.centos.org/HowTos/InstallFromUSBkey
CentOS 5 and 6 are deadest, do not use them.
Use the FAQ Luke

tunk
Posts: 1205
Joined: 2017/02/22 15:08:17

Re: Installing ssmtp - still not found after installing EPEL?

Post by tunk » 2022/09/19 17:19:13


Post Reply