Once your DNS servers have started publishing the mail routing information provided in the MX records described in section 5.2.2 Creating “MX” Records for the Domain, any mail for your domain will be sent to the hosts listed in those MX records. However, Unoverica Message Transport will not attempt to deliver these messages to local users until you have instructed it to do so.
By default, Unoverica Message Transport will only deliver mail to local users when the destination system portion of the address matches the TCP/IP hostname of the local mail server. If the destination system portion of an incoming mail message does not match the local hostname, then the system will attempt to deliver the message using one of several methods. It will attempt to locate a host in the SYS:/ETC/HOSTS database, as well as conduct DNS lookups, and will also use an explicit IP address if that has been provided. If none of these methods work, then the mail is returned to the sender as undeliverable.
Because you will have enabled DNS lookups (as described in section 5.2.1 Enabling the DNS Client), Unoverica Message Transport will see that mail for your domain is supposed to be sent to itself. However, if it has not been configured to attempt local delivery for that domain name, then the mail will be returned to the sender as undeliverable.
Unoverica Message Transport keeps a list in memory of the hostnames that it will accept mail for. In order to allow Unoverica Message Transport to deliver mail addressed to a domain to local users, you must add the domain name to that list.
This is achieved through the use of Unoverica Message Transports UCMCON.NLM management tool. To load UCMCON, type the following command at the NetWare console prompt:
:LOAD UCMCON <Enter>
You will be presented with a screen similar to the following:

Figure 5.8: UCMCON's main menu
Select the "Configuration" menu item and press <Enter>. You will then be presented with a set of configuration menu choices similar to the following:

Figure 5.9: UCMCON's Configuration menu.
Select the "Classes" menu option and press <Enter>. You will then be presented with a list of the currently defined "Class" options, similar to the following:

Figure 5.10: UCMCON's currently-defined classes.
"Classes" are used by SENDMAIL (and derivatives of SENDMAIL such as Unoverica Message Transport) to define variables that can be used throughout the system configuration. For more information on SENDMAIL classes, refer to section F.4 Defining Macro Classes.
The "User-defined class $w (Cw)" class defines a set of variables that identify the domains and hostnames the local system will accept mail for. These variables can be an IP address, a hostname, or a domain name. When Unoverica Message Transport first loads, it automatically determines values for the $w class based on data in the SYS:/ETC/HOSTS file and DNS. However, these defaults only refer to the hostname for the local systems IP address, and do not refer to the domain name alone.
In order to add the domain name to the list of systems that the server will deliver mail for, you must add it to the $w class. This is achieved through the use of the "$m" macro, which defines the domain name in use on this system (macros are like classes, in that they define variables used by the system). The "$m" variable contains the fully-qualified name of this host, minus the hostname (or, everything after the first "." in the hostname). The $m macro is automatically built when Unoverica Message Transport loads, although it is not associated with the $w class by default. You must manually link these two variables together in order for mail addressed to your domain name to be delivered locally.
To do this, select the "User-defined class $w (Cw)" entry, and press <Ins>. You will be presented with a menu similar to the following:

Figure 5.11: UCMCON's Class menu.
Select the "Add to Current Class" menu option and press <Enter>. You will be presented with an edit box for adding a new entry to the current $w class, similar to the following:

Figure 5.12: UCMCON's Add-to-Current-Class edit box.
Type "$m" (without the quote marks) and press <Enter>, and then press <Esc> to close the edit box. The $w class should now contain an entry of "$m" and "localhost". Continue pressing <Esc> until you are returned to the NetWare console prompt. Your system will now process mail addressed to your domain name.
For more information about the $w class, refer to section F.4.5 User-defined class $w (Cw). For more information about the $m macro, refer to section F.3.5 Domain part of hostname $m (Dm).
STEP: To continue to the next step in the configuration process, go to section 5.2.4 Changing the From: Headers.
Copyright 1997 Unoverica Corporation, All Rights Reserved page
Send comments to docs@unoverica.com