Recommendation for outgoing-only SMTP server

markstos@lemmy.world to Selfhosted@lemmy.world – 31 points –

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.

34

You are viewing a single comment

@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

I just started using OpenSMTPD as a backup relay and it seems to work for that. Very lightweight and easy to set up.