Пробую настроить оповещатель mdadm на ubuntu server 14.04.2 по этой статье: http://interface31.ru/tech_it/2013/12/ubuntu-server-nastraivaem-uvedomleniya-...
В локалке работает. На указанный адрес моего же почтового сервера успешно приходит тестовое письмо такого вида:
From: mdadm monitoring <root>
To: mdadm@domain.ru
Subject: TestMessage event on /dev/md/0:ub-srv1
This is an automatically generated mail message from mdadm
running on ub-srv1
A TestMessage event had been detected on md device /dev/md/0.
Faithfully yours, etc.
P.S. The /proc/mdstat file currently contains the following:
Personalities : [linear] [multipath] [raid0] [raid1] [raid6] [raid5] [raid4] [raid10]
md0 : active raid1 sdd1[1] sdc1[2]
976629568 blocks super 1.2 [2/2] [UU]
md1 : active raid1 sdb1[1] sda1[0]
199098240 blocks super 1.2 [2/2] [UU]
unused devices: <none>
Fri 2015-10-23 16:59:19: Waiting for protocol to start...
Fri 2015-10-23 16:59:19: <-- 220 Mail.Ru ESMTP
Fri 2015-10-23 16:59:19: --> EHLO mail.veber.ru
Fri 2015-10-23 16:59:19: <-- 250-mx185.mail.ru ready to serve
Fri 2015-10-23 16:59:19: <-- 250-STARTTLS
Fri 2015-10-23 16:59:19: <-- 250-SIZE 73400320
Fri 2015-10-23 16:59:19: <-- 250 8BITMIME
Fri 2015-10-23 16:59:19: --> MAIL From:<root> SIZE=1264
Fri 2015-10-23 16:59:19: <-- 550 Unroutable sender address
Fri 2015-10-23 16:59:19: --> QUIT