[rancid] Re: Issues with Sendmail using Rancid
heas at shrubbery.net
Tue Nov 24 19:49:41 UTC 2009
Tue, Nov 24, 2009 at 11:39:52AM -0800, Joel Krauska:
> Look at the code.
> I had a similar problem..
> I had to explicitly reference /usr/sbin/sendmail.
> (/usr/sbin wasn't in the path for the rancid user I set up)
then alter PATH in rancid.conf. the configure script should have found
it and included /usr/sbin in the path.
> Type 'which sendmail' to figure out where you sendmail binary is and then try replacing the 5 lines in control_rancid that have "sendmail" with "/usr/sbin/sendmail"..
> (or whatever 'which' tells you)
> vishal.ud wrote:
> > Right , so i was intending to use our external smtp server . I edited
> > the below mentioned file (using UBuntu btw) . restarted sendmail .
> > However , i still get the
> > /home/rancid/bin/control_rancid: 477: sendmail: not found error
> > Mahaffey, Brian wrote:
> >> You may be missing your Relay if you send mail through another server.
> >> you can edit /etc/mail/sendmail.cf or /etc/sendmail.cf depend on your
> >> operating system.
> >> and edit as
> >> # "Smart" relay host (may be null)
> >> DS<mailserver_hostname>
> >> example
> >> DSmail.domain.com (remove the "< & >")
> >> Restart Sendmail
> >> -
> > _______________________________________________
> > Rancid-discuss mailing list
> > Rancid-discuss at shrubbery.net
> > http://www.shrubbery.net/mailman/listinfo.cgi/rancid-discuss
> Rancid-discuss mailing list
> Rancid-discuss at shrubbery.net
More information about the Rancid-discuss