You're almost there! Please answer a few more questions for access to the Applications content. Complete registration
Interested in joining? Complete your registration by providing Areas of Interest here. Register

How to Configure a Relay Host in Sendmail "Smart Host" On Oracle Linux 6 and 7

edited Apr 13, 2022 6:36AM in Cloud Infrastructure - Linux

Sendmail is a standard Linux OS mail delivery service. A Relay Host can be configured with Sendmail's "Smart Host" option using the following steps:

Install the sendmail-cf package:

# yum install sendmail-cf

Edit the following file /etc/mail/ and change the following line:

dnl define(`SMART_HOST',`smtp.your.provider')dnl

Remove dnl ("delete through newline") from the beginning of the line, so it now looks like the following line:

define(`SMART_HOST',`smtp.your.provider') dnl

Then replace smtp.your.provider with the address of the SMTP relay server. The address of the SMTP relay server can be specified using any of the following 3 options:

Howdy, Stranger!

Log In

To view full details, sign in.


Don't have an account? Click here to get started!