LWN.net Logo

Fedora keeps sendmail — for now

Fedora keeps sendmail — for now

Posted Aug 12, 2013 22:37 UTC (Mon) by cas (subscriber, #52554)
In reply to: Fedora keeps sendmail — for now by mjg59
Parent article: Fedora keeps sendmail — for now

and as i said several times previously, you can't depend on the MUA being configured or working either.

just saying "it's too hard" and giving up is not a solution.

to configure either an MUA or an MTA there's a certain minimum amount of knowledge and understanding (or at least facts, like the smarthost name or IP address) required.

the same questions will be asked of the user, and a useful answer required - whether that's asked in a dialog/whiptail popup, a GUI dialog, or a plain tty style.

also, some here seem to think that only a GUI or ncurses app is an MUA. or that only automated scripts, cron job need to send mail via command-line interface.

/usr/sbin/sendmail *IS* an MUA. as is /usr/bin/mail. I can use them to send useful information to any email address....and I can do it reliably and conveniently, with consistent and documented command-line options.

grep foobar /var/log/something.log | sendmail me@somewhere.example.com

that's using an MUA. if i want to get fancy, i can use other command-line tools to compress the log extract and send it as a properly formatted mime-attachment.


(Log in to post comments)

Fedora keeps sendmail — for now

Posted Aug 12, 2013 22:46 UTC (Mon) by mjg59 (subscriber, #23239) [Link]

"and as i said several times previously, you can't depend on the MUA being configured or working either."

Yup. As a result, email's a poor default for reporting things, and so josh is trying to fix the fact that there are still things in Debian that default to logging via email. As you've demonstrated, it's easy to bridge from syslog to email if you know that your local configuration supports that.

Copyright © 2013, Eklektix, Inc.
Comments and public postings are copyrighted by their creators.
Linux is a registered trademark of Linus Torvalds