[rancid] Receiving empty mails
Vanja Luk
vanja.luk at gmail.com
Thu Mar 30 11:40:30 UTC 2017
Hello,
I have found out that the empty mails are sent only if a diff script is
enabled for the email notification:
MAILHEADERS="Content-Type: text/html; charset=ISO-8859-1"; export
MAILHEADERS
DIFFSCRIPT="/etc/rancid/diff2html.py"; export DIFFSCRIPT
As soon as the script is commented rancid does not send empty emails any
more.
On Wed, Mar 29, 2017 at 11:41 PM, Vanja Luk <vanja.luk at gmail.com> wrote:
> The backup schedule via cron works fine and if there are some diffs we are
> getting them via email, but an empty mail is sent even if there are no
> changes.
>
> Is there any way to avoid such behavior?
>
> Thanks.
> Vanja
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.shrubbery.net/pipermail/rancid-discuss/attachments/20170330/70cb1f66/attachment.html>
More information about the Rancid-discuss
mailing list