From 4948b8f72e7647582f16e511696895979536a1c0 Mon Sep 17 00:00:00 2001 From: Neil Brown Date: Mon, 15 May 2006 01:27:04 +0000 Subject: Support 'mailfrom' line in mdadm.conf so the From: line in alert emails can be explicitly set. Signed-off-by: Neil Brown --- mdadm.conf.5 | 14 ++++++++++++++ 1 file changed, 14 insertions(+) (limited to 'mdadm.conf.5') diff --git a/mdadm.conf.5 b/mdadm.conf.5 index 91814650..f96476c4 100644 --- a/mdadm.conf.5 +++ b/mdadm.conf.5 @@ -181,6 +181,20 @@ option). There should only be one line and it should have only one address. +.TP +.B MAILFROM +The +.B mailfrom +line (which can only be abbreviate at leat 5 characters) gives an +address to appear in the "From" address for alert mails. This can be +useful if you want to explicitly set a domain, as the default from +address is "root" with no domain. All words on this line are +catenated with spaces to form the address. + +Note that this value cannot be set via the +.I mdadm +commandline. It is only settable via the config file. + .TP .B PROGRAM The -- cgit v1.2.3