Go to main content

Managing sendmail Services in Oracle® Solaris 11.3

Exit Print View

Updated: April 2020
 
 

Setting Up a Virtual Host

If you need to assign more than one IP address to a host, use sendmail to set up a virtual host.

Follow the instructions in Virtual Hosting except that in the ▒~@~\Sendmail Configuration▒~@~] section, do not perform Step 3.b.:

# cd sendmail-VERSION/cf/cf
# ./Build mailserver.cf
# cp mailserver.cf /etc/mail/sendmail.cf

Instead, use the following commands to set up a virtual host for the Oracle Solaris OS:

# cd /etc/mail/cf/cf
# make mailserver.cf
# cp mailserver.cf /etc/mail/sendmail.cf

Use the name of the .cf file for the value of mailserver.

For additional information, see the description of virtusertable in /etc/mail/cf/README, and see the sendmail(4) man page to learn how to modify the sendmail.cf configuration file.