Configure mail (sendmail) on Linux (RHEL)

Mission: Configure sendmail to be able to send mails to a smtp relay.

– Edit /etc/mail/sendmail.cf or /etc/sendmail.cf , it depends on your operating system.
Edit as:

# “Smart” relay host (may be null)
DS<mailserver_hostname>

Then restart sendmail.

Advertisements
Configure mail (sendmail) on Linux (RHEL)