How to Configure a Relay Host in Sendmail "Smart Host" On Oracle Linux 6 and 7
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/sendmail.mc 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:
Tagged:
0