summaryrefslogtreecommitdiff
path: root/mdadm.conf.5
diff options
context:
space:
mode:
authorNeil Brown <neilb@suse.de>2006-05-15 01:27:04 +0000
committerNeil Brown <neilb@suse.de>2006-05-15 01:27:04 +0000
commit4948b8f72e7647582f16e511696895979536a1c0 (patch)
treeeabb2298cd49b81c6a5728945a26cdd09713ef8d /mdadm.conf.5
parent4ccdb956000d19fd03c4192ce7b8b147e34a5af0 (diff)
Support 'mailfrom' line in mdadm.conf so the From: line in alert emails can be explicitly set.
Signed-off-by: Neil Brown <neilb@suse.de>
Diffstat (limited to 'mdadm.conf.5')
-rw-r--r--mdadm.conf.514
1 files changed, 14 insertions, 0 deletions
diff --git a/mdadm.conf.5 b/mdadm.conf.5
index 91814650..f96476c4 100644
--- a/mdadm.conf.5
+++ b/mdadm.conf.5
@@ -182,6 +182,20 @@ 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
.B program