ssmtp is also my go-to for this. Or dma (DragonFly Mail Agent) if available.
Comment on Recommendation for outgoing-only SMTP server
atzanteol@sh.itjust.works 9 months ago
ssmtp is what I’ve used before.
mbirth@lemmy.mbirth.uk 9 months ago
synestine@sh.itjust.works 9 months ago
I use ssmtp as well for a simple sendmail replacement. It takes over the sendmail command, doesn’t open any ports. You configure it for the domain you want and tell it what server to send everything to and it works.
markstos@urbanists.social 9 months ago
@atzanteol @markstos@lemmy.world
ssmtp is unmaintained.
msmtp is the recommended successor. The Arch wiki recommends also considering OpenSMTPD, which I haven't looked at yet.
https://wiki.archlinux.org/title/SSMTP
EinfachUnersetzlich@lemm.ee 9 months ago
I just started using OpenSMTPD as a backup relay and it seems to work for that. Very lightweight and easy to set up.
atzanteol@sh.itjust.works 9 months ago
Ah, thanks