Matthew Miller wrote:
On Fri, Mar 05, 2021 at 05:12:34PM +0100, Tomasz Torcz wrote:
> smartd even sends emails – that's how I was informed
> about one of my disks dying, few weeks ago,
I thought it would send email, but then I noticed that it's started
with "--capabilities", which breaks email notification according to the
manpage, so now I don't know what to believe.
It does indeed seem much less useful if it can't send email. Unless
Logwatch picks up the warnings from the log? But that again requires
local email.
It can, but most people don't have a good setup for even local
mail
delivery. Out of the box, we don't really do anything useful.
It wouldn't take much. Install Postfix, and when Anaconda creates the
first user account, have it add a mapping from root to that username in
/etc/aliases. Then a variety of MUAs can pick up the emails from
/var/spool/mail.
But I guess those who want fewer daemons won't be happy to see Postfix
added just for a chance to be warned about an imminent breakdown.
Björn Persson