Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

--MailErrorSummaryTo=rcpt not working #540

Closed
AlexanderSch90 opened this issue Feb 10, 2021 · 1 comment
Closed

--MailErrorSummaryTo=rcpt not working #540

AlexanderSch90 opened this issue Feb 10, 2021 · 1 comment

Comments

@AlexanderSch90
Copy link

Hey,
znapsend should send me an email in case of errors. What do I need to create a mail ?! I already have = root; = admin; = myexternalMailAdress@gmx.de tried. Unfortunately there is an error everywhere when calling the program with this Option:

--MailErrorSummaryTo = rcpt

Syslog says "Unknown option":
Feb 10 16:20:48 pve2 systemd[1]: Started ZnapZend - ZFS Backup System.
Feb 10 16:20:48 pve2 znapzend[32143]: Unknown option: mailErrorSummaryTo
Feb 10 16:20:48 pve2 systemd[1]: znapzend.service: Main process exited, code=exited, status=1/FAILURE
Feb 10 16:20:48 pve2 systemd[1]: znapzend.service: Failed with result 'exit-code'.
Feb 10 16:20:48 pve2 systemd[1]: znapzend.service: Service RestartSec=100ms expired, scheduling restart.
Feb 10 16:20:48 pve2 systemd[1]: znapzend.service: Scheduled restart job, restart counter is at 5.
Feb 10 16:20:48 pve2 systemd[1]: Stopped ZnapZend - ZFS Backup System.
Feb 10 16:20:48 pve2 systemd[1]: znapzend.service: Start request repeated too quickly.
Feb 10 16:20:48 pve2 systemd[1]: znapzend.service: Failed with result 'exit-code'.
Feb 10 16:20:48 pve2 systemd[1]: Failed to start ZnapZend - ZFS Backup System.

Maybe it is because i use this version? https://github.com/Gregy/znapzend-debian
Should i make an Issue there?

@oetiker
Copy link
Owner

oetiker commented Jun 28, 2021

note that this feature was only added in 0.21.0
https://github.com/oetiker/znapzend/releases/tag/v0.21.0

@oetiker oetiker closed this as completed Jun 28, 2021
oetiker added a commit that referenced this issue Sep 20, 2021
fix #540 - do not mention recipent when using -t switch
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

No branches or pull requests

2 participants