nixos/smartd: Fix mail recipient field
Having undisclosed recipients results in emails being considered spam as mentioned in #192147, by instead identifying the recipient the emails are no longer considered spam
João Borges 2 years ago a53a73c7 ece9ec8d
··· 19 19 { 20 20 ${pkgs.coreutils}/bin/cat << EOF 21 21 From: smartd on ${host} <${nm.sender}> 22 22 - To: undisclosed-recipients:; 22 22 + To: ${nm.recipient} 23 23 Subject: $SMARTD_SUBJECT 24 24 25 25 $SMARTD_FULLMESSAGE