summaryrefslogtreecommitdiffstats
path: root/krebs/3modules
diff options
context:
space:
mode:
authortv <tv@krebsco.de>2023-02-02 16:02:31 +0100
committertv <tv@krebsco.de>2023-02-02 16:02:31 +0100
commit38d0a0a5be8e472c60c3745df9f34aadc51514dd (patch)
treef69833b8f14b0b3579129733db67c59ed417c207 /krebs/3modules
parentc2b601d123714f29474a0434555bf90c2ebedbbd (diff)
urlwatch content-transfer-encoding: base64
Diffstat (limited to 'krebs/3modules')
-rw-r--r--krebs/3modules/urlwatch.nix5
1 files changed, 4 insertions, 1 deletions
diff --git a/krebs/3modules/urlwatch.nix b/krebs/3modules/urlwatch.nix
index 8ebbdd1f8..113f6e65d 100644
--- a/krebs/3modules/urlwatch.nix
+++ b/krebs/3modules/urlwatch.nix
@@ -181,8 +181,11 @@ let
sed '1!s/^ //'
)
echo To: ${shell.escape cfg.mailto}
+ echo Mime-Version: 1.0
+ echo Content-Type: text/plain\; charset=UTF-8
+ echo Content-Transfer-Encoding: base64
echo
- cat changes
+ base64 changes
} | /run/wrappers/bin/sendmail -t
fi
''}