ttionya / vaultwarden-backup

Backup vaultwarden (formerly known as bitwarden_rs) SQLite3/PostgreSQL/MySQL/MariaDB database by rclone. (Docker)
MIT License
1.04k stars 119 forks source link

send-mail: applet not found #93

Closed hildebrau closed 1 year ago

hildebrau commented 1 year ago

Thank you for this app. I have it setup now; but the emails don't work. It simply says: send-mail: applet not found at the end of the /app/backup.sh output.

I feel like I'm missing some documentation or some dependency package in the container.

Thank you!

hildebrau commented 1 year ago

I think I figured it out.. The example docker-compose.yml file was missing the mailx parameters.. so I used something like this after signing up for a mailgun account and setting up a domain.

MAIL_SMTP_VARIABLES: '-S smtp=smtps://smtp.mailgun.org:465 -S ssl-verify=strict -r vaultwarden-backup@removed(FullNameHereNoSpaces) -S smtp-auth-user=postmaster@removed -S smtp-auth-password=removed'

ttionya commented 1 year ago

Yes, email notifications are not enabled in the sample docker-compose.yml. If you want to use it you need to specify environment variable MAIL_SMTP_VARIABLES.