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
This commit is contained in:
João Borges
2023-08-05 20:01:42 +01:00
committed by GitHub
parent ece9ec8d20
commit a53a73c74f
+1 -1
View File
@@ -19,7 +19,7 @@ let
{
${pkgs.coreutils}/bin/cat << EOF
From: smartd on ${host} <${nm.sender}>
To: undisclosed-recipients:;
To: ${nm.recipient}
Subject: $SMARTD_SUBJECT
$SMARTD_FULLMESSAGE