[rancid] Completely disable mail functionality in 3.14?

heasley heas at shrubbery.net
Sat May 16 13:56:00 UTC 2026


Wed, May 13, 2026 at 02:37:00PM -0400, Andrew Weaver:
> 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?

I have no idea about this kinky esmtprc thing.  imo, ignore that.  If you
wish to discard all email, create a script that discards its input and
update rancid.conf to use it.  something like:

# Set to the name of the sendmail executable (or script) that will accept the
# -t option to take its rcpt and other headers from stdin and $MAILOPTS (see
# below).
SENDMAIL="/home/rancid/bin/discard"


% cat > /home/rancid/bin/discard << EOF
#!/bin/bash
cat > /dev/null
EOF



More information about the Rancid-discuss mailing list