On Tue, 18 Oct 2005, Tom Brown wrote:
Default sendmail setup on a centos4.1 box - I need to send report type mails from this machine under cron. The SMTP relay i need to use requires user/pass so how can i send user/pass smtp auth from within the 'default' sendmail install? Anyone know what to change in sendmail.mc
Are you in a position to change the settings on the relay host? If so, just add a RELAY or OK line into the relay host's access.db (or its moral equivalent).
Otherwise, see Benji Fisher's notes on automating client authentication in sendmail:
http://www.sendmail.org/~ca/email/auth.html#smtpclient