[rancid] Re: Issues with Sendmail using Rancid
vishal.ud at directi.com
Tue Nov 24 19:52:33 UTC 2009
@joel u were right :
so it turns out the script rancid_control which controls the flow of
emails after a diff in the conf files , had a relative and not an
absolte path to sendmail . simply subsitituting it with
/usr/sbin/sendmail did the trick :d wohhoooo #rancid is now online !!!
thanks guys for ur help ..rancid is truly a brilliant tool ;)
Joel Krauska wrote:
> 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)
>>> DSmail.domain.com (remove the "< & >")
>>> Restart Sendmail
>> Rancid-discuss mailing list
>> Rancid-discuss at shrubbery.net
More information about the Rancid-discuss