aboutsummaryrefslogtreecommitdiffstats
path: root/.mailmap
diff options
context:
space:
mode:
authorWolfgang Müller2021-04-30 16:52:35 +0200
committerWolfgang Müller2021-04-30 16:52:35 +0200
commit15442e278022a377931774e311e257dc75f1df4c (patch)
tree1483593f5bc522f3c6c2ae092c6cecaeb3b9fa81 /.mailmap
parent455ffc5223bead2df4477bdae94d959855f7478f (diff)
downloadlifeboat-15442e278022a377931774e311e257dc75f1df4c.tar.gz
Add command to mail the output of a backup run
This commit introduces the 'run-report' command and a new config file 'config/recipient' which indicates the recipient of the report. Since lifeboat was always intended to be run via a cronjob, we assumed mail functionality would come from the specific crond implementation. This is well-supported throughout, but not a feature that systemd's timers (yet?) have. Since one of our systems is now running systemd, we needed a decent alternative. A wrapper script was considered, but at that point we could also just as simply include mail support in lifeboat itself. We have chosen to implement this by calling out to sendmail, which seems to be a de-facto standard (postfix has sendmail compatibility, as does msmtp). It should be available on a wide range of systems. For now, hardcode the message headers and send mail to one recipient only. Set the X-Report header for simple filtering by mail clients.
Diffstat (limited to '.mailmap')
0 files changed, 0 insertions, 0 deletions