lobaro / restic-backup-docker

A docker container to automate backups with restic
Apache License 2.0
330 stars 114 forks source link

notification mails not being sent #82

Open revkorf opened 9 months ago

revkorf commented 9 months ago

After upgrading, I noticed all backups were running fine but notification mails where no longer sent. It appears Alpine linux mail command do not support the -S option to provide an external mailserver.

/ # cat /var/log/mail-last.log mail: unrecognized option: S usage: mail [-dEIinv] [-a header] [-b bcc-addr] [-c cc-addr] [-r from-addr] [-s subject] [--] to-addr ... mail [-dEIiNnv] -f [name] mail [-dEIiNnv] [-u user]

msmtp is an alternative.