<div dir="ltr">Hello,<div>I have found out that the empty mails are sent only if a diff script is enabled for the email notification:</div><div><br></div><div><div>MAILHEADERS="Content-Type: text/html; charset=ISO-8859-1"; export MAILHEADERS</div><div>DIFFSCRIPT="/etc/rancid/diff2html.py"; export DIFFSCRIPT</div></div><div><br></div><div>As soon as the script is commented rancid does not send empty emails any more.</div><div><br></div></div><div class="gmail_extra"><br><div class="gmail_quote">On Wed, Mar 29, 2017 at 11:41 PM, Vanja Luk <span dir="ltr"><<a href="mailto:vanja.luk@gmail.com" target="_blank">vanja.luk@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div>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. </div><div><br></div><div>Is there any way to avoid such behavior?</div><div><br></div><div>Thanks.</div><span class="HOEnZb"><font color="#888888"><div>Vanja</div></font></span></div>
</blockquote></div><br></div>