I’m looking for a simple sendmail replacement to receive local mail, such as from cron and service failures and forward it to on to a real SMTP server.
I have used msmtpd
successfully but thought I’d ask if folks have other solutions they like.
I’m looking for a simple sendmail replacement to receive local mail, such as from cron and service failures and forward it to on to a real SMTP server.
I have used msmtpd
successfully but thought I’d ask if folks have other solutions they like.
Sendmail is a binary provided by a mail system and no mail system is installed by default on Fedora.
I’m looking for a solution that’s as simple as possible: provide a sendmail binary to pass the message to a third-party SMTP server.
I’ll connect to Mailgun via TLS— no port 25 involved.
Sendmail is provided by the
sendmail
package in Fedora. Here’s some instructions on installing and configuring it:https://tecadmin.net/install-sendmail-on-fedora/
But you might instead be looking for an SMTP client (or a Mail User Agent), which is different:
https://www.baeldung.com/linux/send-emails-from-terminal
If you have SMTP credentials with Mailgun, and you’re using port 465 or 587, you want an MUA, not an MTA (Mail Transfer Agent).
Sendmail can be both, but there are better tools if you’re looking for an SMTP client.