Skip to content

Conversation

@gschafra
Copy link

- since Alpine's mail no longer supports `-S`
- fixes lobaro#82
@gschafra
Copy link
Author

Successfully tested it using a custom image build using this changes in one of our prod environments in my company

@sylvarg
Copy link

sylvarg commented Jan 20, 2024

Hi there. I also had the issue with emails not being sent after a backup. I can confirm the modifications in backup.sh, check.sh and entry.sh proposed in this PR are working when used with a correct msmprtc configuration file.
But the Dockerfile must obviously be modified accordingly to install the msmtp package and to "change" sendmail binary which is using busybox initially.
So, modifing the Dockerfile with :

RUN apk add --update --no-cache curl mailx msmtp

and adding

RUN ["ln", "-sf", "/usr/bin/msmtp", "/usr/sbin/sendmail"]

should also be part of this PR.

With this PR and the modifications above in the Dockerfile, emails are sent correctly.

@gschafra
Copy link
Author

@sylarevan Oh, thanks. Should be fixed now.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

notification mails not being sent

2 participants