Here is a replacement for bug 988384.
This is a better place for it.
*** Expected, documented, and desired behavior:
In /etc/smartd.conf it is permitted to specify multiple email recipients.
Here is the relevant snippet:
#
This bug appears to still be present in version 6.6-1, the current in
buster. Additionally, Jawaad's proposed patch (no longer?) appears to
work, as it provides the multiple recipients space-delimited, where
mail wants them to be comma-delimited, at least for me. In
smartd-runner, I changed:
recip
Gabriele's fix will only work for two recipients.
I modified the smartd-runner script as follows for additional recipients as
I needed three:
#run-parts --report --lsbsysinit --arg=$tmp --arg="$1" \
#--arg="$2" --arg="$3" -- /etc/smartmontools/run.d
subject_opt="${1}"
shift
Package: smartmontools
Version: 5.39.1+svn3124-2
Severity: normal
Using more than one email recipient in /etc/smartd.conf using the syntax
-m fi...@example.com,sec...@example.com
results in the second email recipient to be ignored.
I solved adding in /usr/share/smartmontools/smartd-runner in
4 matches
Mail list logo