#ssmtp

2023-08-25

How do I configure #sSMTP to change both, the FROM and the TO field?
mailer.conf refers to ssmtp for #sendmail, and is used by #CRON. Unfortunately, from- and to-fields in those mails only contain the local username and can not be delivered by the external mail server. Using mail(1) from the CLI does respect all the aliases from mail.rc and mails get delivered.
What's a proper way to setup system #mail with external #SMTP on #FreeBSD? Changing #MTA would be ok, if needed. #Email #followerpower

Greg Walker :manjaro:gregsie@linuxrocks.online
2023-08-22

#FOSS advice required!
#rasbperrypi
#debian
#manjaro
#freebsd
#openbsd

I have been running #ssmtp on raspberrypi as I need to get mail off the box. However, I see notes on debian that is is now unmaintained but still available as a package.

I've looked at #msmtp as an alternative and also #dma. both seem to work well

I only need a method of getting mail off the box so I don't need a full smtpd like exim, postfix etc.

What's the feeling for a futureproof, supported transfer agent?
TIA

Luricaun the Smolluricaun@chaos.social
2020-06-10

Dear GNU/Linux users. If you are using SSMTP and want to forward local users mails to an external email address do yourself a favor and install bsd-mailx and configure /etc/mail.rc accordingly.

Why you ask? Because it took me like FOREVER to figure shit out. The /etc/ssmtp/revaliases don't do what I expected from it since days.

After installing bsd-mailx and configuring /etc/mail.cf it finally worked (again).

#Linux #SSMTP #mailx

2019-11-13
Ich habe meinen Artikel über einen einfachen Mailversand mit SSMTP um einen Abschnitt für das User-Handling überarbeitet:

DE: https://herrdoering.de/de/einfaches-mail-setup-fuer-linux-und-php-mit-ssmtp/
EN: https://herrdoering.de/en/minimalistic-mail-setup-for-linux-and-php-with-ssmtp/

#smtp #mail #email #ssmtp

Client Info

Server: https://mastodon.social
Version: 2025.04
Repository: https://github.com/cyevgeniy/lmst