http://bugzilla.opensuse.org/show_bug.cgi?id=1066921
Bug ID: 1066921
Summary: smartd.conf -m multiple destination is not honored
only the last is warned
Classification: openSUSE
Product: openSUSE Distribution
Version: Leap 42.3
Hardware: Other
OS: Other
Status: NEW
Severity: Normal
Priority: P5 - None
Component: Basesystem
Assignee: bnc-team-screening@forge.provo.novell.com
Reporter: bruno@ioda-net.ch
QA Contact: qa-bugs@suse.de
Found By: ---
Blocker: ---
Leap 42.3
smartmontools | package | 6.5-8.1 | x86_64 | updates
in /etc/smartd.conf
if you setup a line as
DEFAULT -d removable -a -s on -R 194 -R 231 -I 9 -s S/../.././03 -s
L/../(01|02|03|04|05|06|07)/7/01 -m user1@domain.tld,user2@domain.tld,@ALL -M
test
only user2 receive emails.
when man smartd.conf has example of this use case.
In journal you can see lines like this
nov 07 13:35:45 orville smartd[18126]: Test of <mail> to user1@domain.tld
user2@domain.tld @ALL: successful
nov 07 13:35:45 orville smartd[18126]: Device: /dev/sg18 [SAT], Failed SMART
usage Attribute: 1 Raw_Read_Error_Rate.
nov 07 13:35:45 orville smartd[18126]: Executing test of <mail> to
user1@domain.tld user2@domain.tld @ALL ...
nov 07 13:35:45 orville smartd[18126]: Test of <mail> to user1@domain.tld
user2@domain.tld @ALL: successful
But if you check postfix delivery user1 isn't contacted by email.
nov 07 13:15:52 orville postfix/pickup[16580]: 7A2AC140042: uid=0 from=<root>
nov 07 13:15:52 orville postfix/cleanup[17398]: 7A2AC140042:
message-id=<20171107121552.7A2AC140042@orville.disney.interne>
nov 07 13:15:52 orville postfix/qmgr[4690]: 7A2AC140042:
from=