summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-xshow-req9
1 files changed, 6 insertions, 3 deletions
diff --git a/show-req b/show-req
index dd0a4bc..ac9def5 100755
--- a/show-req
+++ b/show-req
@@ -108,8 +108,10 @@ TABLE="$(
if [[ "$CRON" -eq 0 ]]; then
echo "$TABLE"
else
- echo "To: ra@spline.de
-Subject: Neue Zertifikatsanträge gefunden
+ /usr/sbin/sendmail -t <<EOM
+To: ra@spline.de
+Subject: Neue Zertifikatsantraege gefunden
+Content-Type: text/plain; charset="utf-8"
Hallo,
@@ -122,5 +124,6 @@ wurden. Sobald die Zertifikate verfügbar sind, werden sie innerhalb
der nächsten Stunde automatisch auf den Servern installiert.
Gruß,
-bcfg2" | sendmail -t
+bcfg2
+EOM
fi