Skip to content
Snippets Groups Projects
Verified Commit c29ca1c8 authored by David Mehren's avatar David Mehren
Browse files

Make sender address configurable

parent e3b7f753
No related branches found
No related tags found
No related merge requests found
......@@ -36,3 +36,4 @@ borgbackup_keep_weekly: 8
borgbackup_keep_monthly: 6
borgbackup_keep_yearly: 0
borgbackup_use_msmtp: true
borgbackup_email_from: "notifications@oh14.de"
#!/bin/bash
msmtp root << EOF
From: $1 on $(hostname) <notifications@oh14.de>
From: $1 on $(hostname) <{{ borgbackup_email_from }}>
Subject: $1 failed on host $(hostname)
Oh no :(
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment