Find the file main-v7sun.mc file in directory /usr/lib/mail/cf and create a copy of this file.
In the example in this section, a copy called sunone-msg.mc is created.
In the sunone-msg.mc file, add the following lines before the MAILER macros:
FEATURE(`nullclient’, `smtp:rhino.west.sesta.com’)dnl MASQUERADE_AS(`west.sesta.com’)dnl define(`confDOMAIN_NAME’, `west.sesta.com’)dnl
rhino.west.sesta.com is the localhost name and west.sesta.com is the default email domain as described in 1.3 Creating the Initial Messaging Server Runtime Configuration. In an HA environment, use the logical host name. See Chapter 3, Configuring High Availability for more information about logical hostnames for High Availability.
Compile the sunone-msg.mc file:
The sunone-msg.mc will output sunone-msg.cf.
Make a backup copy of the existing sendmail.cf file located in the /etc/mail directory.