[rancid] Completely disable mail functionality in 3.14?

Andrew Weaver aweaver at ee.net
Wed May 13 18:55:14 UTC 2026


Hello,

I apologize for replying to myself but it seems like the reason it's 
trying to send that many emails is because it thinks that this is a 
change and so it's creating a diff for things like this:

38,39c38,39
< ! syslog1.sys             r-       131072      --      26-Apr-2016 
15:15:24
< ! syslog2.sys             r-       131072      --      26-Apr-2016 
15:15:24
---
> ! syslog1.sys             r-       131072      --      26-Apr-2016 
> 15:26:39
> ! syslog2.sys             r-       131072      --      26-Apr-2016 
> 15:26:39

We're solely using RANCID as a way to backup the configuration files on 
our devices.

Is there any way to globally disable it checking the file dates on the 
syslog files on network devices?

I noticed on other switches it appears to think that the wattage being 
used by the PSUs is a configuration change.

Do I need to make a custom version of whatever commands it's running to 
exclude things that change constantly?

On 2026-05-13 14:37, Andrew Weaver wrote:

> Hello,
> 
> I noticed that the logs on our RANCID machine were growing quite large.
> 
> I determined that it is because it's writing 10MB of this half of the 
> time rancid-run runs:
> 
> No configuration file found at /home/rancid/.esmtprc or /etc/esmtprc
> No configuration file found at /home/rancid/.esmtprc or /etc/esmtprc
> No configuration file found at /home/rancid/.esmtprc or /etc/esmtprc
> No configuration file found at /home/rancid/.esmtprc or /etc/esmtprc
> No configuration file found at /home/rancid/.esmtprc or /etc/esmtprc
> No configuration file found at /home/rancid/.esmtprc or /etc/esmtprc
> 
> So then I created a blank .esmtprc file that caused it to start logging 
> two lines for each thing that I don't want it doing in the first place. 
> ;)
> 
> File /home/rancid/.esmtprc must have no more than -rwx--x--- (0710) 
> permissions.
> open: /home/rancid/.esmtprc: Success
> 
> OK fine, I fixed that.
> 
> How do I just disable every single thing to do with SMTP .esmtprc, etc?
> 
> Thank you so much if anyone can assist me.
> 
> _______________________________________________
> Rancid-discuss mailing list
> Rancid-discuss at www.shrubbery.net
> https://www.shrubbery.net/mailman/listinfo/rancid-discuss
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.shrubbery.net/pipermail/rancid-discuss/attachments/20260513/4c154156/attachment.htm>


More information about the Rancid-discuss mailing list