diff options
author | João Borges <rageknify@gmail.com> | 2023-08-05 20:01:42 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-08-05 20:01:42 +0100 |
commit | a53a73c74f0c835e0c19ab4582d3f96c1b376789 (patch) | |
tree | 0326de92d7250a629fc870a8178ee8d930803b9d /nixos/modules/services/monitoring | |
parent | ece9ec8d20600d8447667124c9c7132b93cc0a09 (diff) | |
download | nixlib-a53a73c74f0c835e0c19ab4582d3f96c1b376789.tar nixlib-a53a73c74f0c835e0c19ab4582d3f96c1b376789.tar.gz nixlib-a53a73c74f0c835e0c19ab4582d3f96c1b376789.tar.bz2 nixlib-a53a73c74f0c835e0c19ab4582d3f96c1b376789.tar.lz nixlib-a53a73c74f0c835e0c19ab4582d3f96c1b376789.tar.xz nixlib-a53a73c74f0c835e0c19ab4582d3f96c1b376789.tar.zst nixlib-a53a73c74f0c835e0c19ab4582d3f96c1b376789.zip |
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
Diffstat (limited to 'nixos/modules/services/monitoring')
-rw-r--r-- | nixos/modules/services/monitoring/smartd.nix | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/nixos/modules/services/monitoring/smartd.nix b/nixos/modules/services/monitoring/smartd.nix index 1e654cad5dd2..8b79ac0e0c1e 100644 --- a/nixos/modules/services/monitoring/smartd.nix +++ b/nixos/modules/services/monitoring/smartd.nix @@ -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 |