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