[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: sending short emails



* Greg <curtyshoo@gmail.com> [25-04/30=Wed 15:59 -0000]:
> On 2025-04-30, Eben King <eben@gmx.us> wrote:
> > I wrote a script around "ssmtp" which allowed me to fire off emails to
> > myself from cron.  Short things, like "empty the litterbox" or whatever,
> > just a few words.  Well, ssmtp is unmaintained and I can't get it to
> > work reliably with my email server (which is not gmail).  What can I use
> > to replace it, or should I just find a way to get a real MUA to send a
> > message for me?
> >
>
> msmtp?

I'm running exim4, and
  echo "$msg"|mail -s"$msg" $USER
works for me.  You may need to configure /etc/mailname
with a single line containing your local domain.


Reply to: