[rancid] Re: RANCID Log Messages: "sendmail: not found" with no mailed diffs
Traiano Welcome
twelcome at tenet.ac.za
Thu Sep 17 14:27:52 UTC 2009
Hi Ron
Ron Whitney wrote:
>> That was also my first suspicion, but I've checked that I can
>> still use sendmail on my server ( "| sendmail -t" as is used in the
>> control_rancid script).
>>
>
> Can you still use sendmail when logged in as the rancid user? IOW,
> could this be a path/permissions issue? Just a thought.
>
I've tested this bit as well, it doesn't look like a paths/permissions
issue. When I su to rancid and test using my script, I get a mail.
Here's the output of the sendmail wrapper when called by the rancid user:
---
% id
uid=1007(rancid) gid=1007(rancid) groups=1007(rancid)
% which sendmail
/usr/sbin/sendmail
% sendmail
Exim is a Mail Transfer Agent. It is normally called by Mail User Agents,
not directly from a shell command line. Options and/or arguments control
what it does when called. For a list of options, see the Exim documentation.
% pwd
/var/lib/rancid
%
---
More information about the Rancid-discuss
mailing list