On 6/26/25 7:51 PM, Todd Zullinger wrote:
Samuel Sieb wrote:
On 6/26/25 3:22 PM, Robert Moskowitz wrote:
Try mailx for starters?
Or does it need more...
To get the terms right, you need an MDA or LDA, not an MTA. :-)
Something that can do local mail delivery and it seems that there are no
options available other than the usual servers.
If you really don't want to do that, you can try something from https://unix.stackexchange.com/questions/82093/minimal-mta-that-delivers-mail-locally-for-cron
A similar question came up in IRC just the other day, so
it's fresher in my mind than it would usually be...
What crond really requires by default for mail delivery is a
sendmail(8) compatible interface, which postfix, exim,
msmtp, ssmpt, and, of course, sendmail all provide.
In crond(8), the -m and -s options may also be useful:
-m This option allows you to specify a shell command
to use for sending Cron mail output instead of
using sendmail(8) This command must accept a fully
formatted mail message (with headers) on standard
input and send it as a mail message to the
recipients specified in the mail headers.
Specifying the string off (i.e., crond -m off)
will disable the sending of mail.
-s This option will direct Cron to send the job
output to the system log using syslog(3). This is
useful if your system does not have sendmail(8)
installed or if mail is disabled.
IMO the simplest thing to do is just install postfix. It
will handle local mail by default and you're done.
HA!
A number of customizations needed to /etc/postfix/main.cf
I thought I got them all, but I don't know where the test messages are
going to. (see my most recent post).
(It only listens on localhost interfaces by default, so
there's no effort involved to make it _not_ behave as an
internet facing MTA.)
It sounds like that's what you have on your Ubuntu system as
well, so it's not really any different. It's just that
Fedora no longer installs postfix by default in the desktop
spins.
I installed logwatch on Ubuntu and it did all the postfix setup for me....
--
_______________________________________________
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
Do not reply to spam, report it: https://pagure.io/fedora-infrastructure/new_issue