On 06May2020 20:20, Robert Moskowitz <rgm@xxxxxxxxxxxxxxx> wrote:
I am reading up on esmtp which comes with the base install and
seemingly no mta needed?
Anyway
https://linux.die.net/man/5/esmtprc
shows how to config for sending an email via esmtp to an mta, but not
just local delivery...
The bottom of that manual entry describes the "mta" setting, and says
that esmtp relies on a local MTA for local delivery (addresses without
an "@"). So you'll need something additional anyway. May as well go
straight to a proper MTA.
Had you considered a shell script? cron and most local commands should
be using "sendmail -oi addresses... < message" to deliver. A shell
script to accept those commands and copy the input to an mbox or Maildir
file would be pretty simple...
Um, it doesn't solve delivering email to a different (local) user.
I'm sure I've seen a minimal local MTA somewhere, can't remember.
Actually, I think it might have been an esmtp equivalent for purely
remote-via-SMTP email. The inverse of what you want.
Cheers,
Cameron Simpson <cs@xxxxxxxxxx>
_______________________________________________
users mailing list -- users@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe send an email to users-leave@xxxxxxxxxxxxxxxxxxxxxxx
Fedora Code of Conduct: https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: https://lists.fedoraproject.org/archives/list/users@xxxxxxxxxxxxxxxxxxxxxxx