How To Configure Sendmail to Forward Mails to a Relay Host aka Smarthost
(Doc ID 2018587.1)
Last updated on DECEMBER 01, 2017
Applies to:Solaris SPARC Operating System - Version 10 3/05 HW1 to 11.2 [Release 10.0 to 11.0]
Oracle Solaris on SPARC (64-bit)
The default sendmail.cf is set up as an MTA (mail router), using DNS to forward mails to the Mail Exchanger (MX) record for the domainname resolution In the event that the DNS config does not cater for public network access or does not contain valid MX (mail exchange) records for forwarding, sendmail will fallback to forwarding message to the default host named "mailhost.domainname"
Eg. /etc/mail/sendmail.cf :
In the absence of either mailhost or MX record in the DNS naming services, one can set up the sendmail to forward messages to a defined Mail Relay / Relayer, otherwise known as Smarthost, using this macro SMART_HOST 19.6.47 :
To view full details, sign in with your My Oracle Support account.
Don't have a My Oracle Support account? Click to get started!
In this Document