[rancid] Completely disable mail functionality in 3.14?

Jethro Binks jethro.binks at strath.ac.uk
Thu May 14 09:40:51 UTC 2026


Don't know your environment or anything about esmtp (I guess client for sending email called by cron?), but does this help: https://unix.stackexchange.com/questions/711728/spam-messages-cb-crond1288-no-configuration-file-found-at-root-esmtprc-or/727772#727772


Jethro.


.  .  .  .  .  .  .  .  .  .  .  .  .  .  .  .  .  .  .  .  .  .  .  .  .

Jethro R Binks, Network Manager,

Information Services Directorate, University Of Strathclyde, Glasgow, UK

The University of Strathclyde is a charitable body, registered in Scotland, number SC015263.

________________________________
From: Rancid-discuss <rancid-discuss-bounces at www.shrubbery.net> on behalf of Andrew Weaver <aweaver at ee.net>
Sent: 13 May 2026 7:37 PM
To: rancid-discuss at www.shrubbery.net <rancid-discuss at www.shrubbery.net>
Subject: [rancid] Completely disable mail functionality in 3.14?


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.



-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.shrubbery.net/pipermail/rancid-discuss/attachments/20260514/3f94a201/attachment.htm>


More information about the Rancid-discuss mailing list