You must also set up name servers for the virtual addresses that get mapped to the real addresses. You can use Domain Name System (DNS) configuration to complete the following:
1.Select an available domain name.
2.Establish two machines as primary and secondary name servers for this domain.
3.Configure MX records for this domain.
4.Register this domain with InterNIC.
See the Tru64 UNIX manual Network Administration: Services for more information about configuring DNS.
After you create the virtual domain table, use the makemap command to create an address mapping database, based on the data in the table; for example:
# makemap btree virtusertable < virtusertable
This command creates the virtusertable.db file in BTREE format. Sendmail uses these files to determine whether the address on a mail messages has been mapped to a virtual domain. For more information on the makemap command, see the makemap(8) reference page.
After creating the database files, you can use the Administration utility to configure virtual domains on your system, as follows:
1.Under Mail on the Manage Components menu, choose Sendmail Server.
2.From the Sendmail Server Administration menu, choose Configure Sendmail Server.
3.On the Configure Sendmail Server menu, make sure that Server is selected and click on Configure.
4.From the Configure the Sendmail Server menu, choose Configure Virtual Domains.
5.On the Configure Virtual Domains form, set the Use Virtual Domains checkbox to enable virtual domains. (You can turn off this checkbox to disable virtual domains while retaining the virtual domains configuration.)
6.Enter the complete pathname for the virtual user table you created using the makemap command. (The default is /var/adm/sendmail/virtusertable.)
7.Enter the host aliases that are mapped in the Virtual Domain database in the Virtual Hosts/Domains list. If you configure virtual domains, then all the host aliases in this list will be checked for mapping in the virtusertable.
8.Set the Suppress Errors in the Absence of the Database File checkbox to allow database lookups to fail silently if the table_name.dir and table_name.pag files (where table_name is the file name for your virtual user table) do not exist. (This parameter corresponds to the
9.Ordinarily, Sendmail strips all nonescaped quotation marks and removes any backslashes (\) from a key before looking it up in the virtual user table. For example:
“Bob \?bigboy\?Roberts \(esq\)"@bob.com is ordinarily converted to:
Bob "bigboy" Roberts (esq)@bob.com
To preserve quotation marks and escape characters (those preceded by a backslash) in keys before database lookup, turn off the Strip Quotation Marks from Keys checkbox . (This parameter corresponds to the
10.Ordinarily, Sendmail converts a key to all lowercase letters before looking it up in the virtual user table. If keys in the virtual user table are