Forward email to smarthost (sendmail)

Print

If you'd like to send emails using sendmail and your ISP's SMTP server (or another smarthost), do the following in sendmail.cf:

Find a section that begins with DS and input your relay SMTP server:

DShost.domain.com

Once done, restart sendmail. 

Linux