Skip to contentSkip to conversation

Any way to test mdadm email alerts?

DISCUSSION [email protected] 3 participants 3 messages Jan 29, 2004 MD RAID

lore
Share & tools
lore
#0 lore raw

Does anybody know if it's possible to test mdadm email alerts? Is there a way to see if the system really will send an alert of there's a problem (other than creating a problem and watching for an email)?

Also, does anyone know if it's possible to use Mozilla Mail or KMail (part of KDE) as the program that sends the mail, instead of using Sendmail (which seems terribly complicated to configure just for sending alerts).

Andy Liebman

#1 lore raw
Quoted 4 lines · [email protected] writes:

Does anybody know if it's possible to test mdadm email alerts? Is there a way to see if the system really will send an alert of there's a problem (other than creating a problem and watching for an email)?

Manually marking a disk as failed should trigger an email, but maybe that counts as creating a problem.

Quoted 4 lines

Also, does anyone know if it's possible to use Mozilla Mail or KMail (part of KDE) as the program that sends the mail, instead of using Sendmail (which seems terribly complicated to configure just for sending alerts).

You can't. You can install postfix instead of sendmail. The configuration of postfix is a little less cryptic.

Signature · 7 lines
Måns Rullgård
[email protected]

-
To unsubscribe from this list: send the line "unsubscribe linux-raid" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
#2 lore raw
In reply to [email protected]

Hi Andy

Quoting [email protected]:

Quoted 5 lines

Does anybody know if it's possible to test mdadm email alerts? Is there a way
to see if the system really will send an alert of there's a problem (other
than creating a problem and watching for an email)?

I don't :-(

Quoted 7 lines

Also, does anyone know if it's possible to use Mozilla Mail or KMail (part of
KDE) as the program that sends the mail, instead of using Sendmail (which
seems terribly complicated to configure just for sending alerts).

I don't know which linux distribution you're using but mostly there are some easy mailserver in the distribution or there is an easy way to configure sendmail/courier/exim or whatever you want to use. If you only want to deliver localy, you can have a look at "deliver".

Quoted 7 lines

Andy Liebman
-
To unsubscribe from this list: send the line "unsubscribe linux-raid" in
the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html

Greetings,

Wim Vinckier.