On 07May2020 09:25, Robert Moskowitz <rgm@xxxxxxxxxxxxxxx> wrote:
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.
And then, to my chagrin, I reread and see it provides example
"mta" values like:
/usr/bin/procmail -d %T
So you may be good there.
Would first have to install procmail for this.
Yes, or one of the other suggestions. You need a delivery agent of some
kind.
It would be interesting to find a 'simple' python script to grab the
cron output and 'make' an email and appended to the spool/mail
Someone has already posts a simple shell script for that purpose to this
discussion.
I am finding things about python and email that is leading me down
many roads.
First is how does CRON even send emails? The MAILTO option triggers
where to send email, but what is the how? What is CRON using to grab
its output and stuff that into what emailer program?
Cron collects the command output and if not empty feeds it to
"/usr/sbin/sendmail -oi "$MAILTO"". So your need to intercept that.
installing an MTA installs a sendmail executable.
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