[rancid] Re: Issues with Sendmail using Rancid

Joel Krauska jkrauska at gmail.com
Tue Nov 24 19:39:52 UTC 2009


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)

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
> 



More information about the Rancid-discuss mailing list