Chapter 5: Configuring Mail Routing

Previous Page Next Page

5.3.4 Changing the From: Headers

While the steps listed above in sections 5.3.1, 5.3.2 and 5.3.3 will allow your system to process in-bound mail that contains your domain name, it will not automatically rewrite out-bound mail generated by your users’ mail clients. In order to label out-bound mail as being from your domain, you must:

  1. Update your mail clients to use user@domain.com addresses in the From: and Reply-To: fields.

  2. Modify the "User-defined macro $M (DM)" macro so that out-bound mail headers contain your domain name.

Since there are a tremendous variety of mail clients on the market, it is impossible to describe how update them with any measurable amount of accuracy. Refer to the documentation that came with your mail client to determine how to change the From: and Reply-To: fields in the client software.

The "User-defined macro $M (DM)" macro defines a variable that identifies the hostname to append to the From: address of any non-local mail. By default, the $M macro is undefined and so the mail server will append the fully-qualified hostname to the From: e-mail address. In our case, mail sent from user@unoverica.com will get rewritten as mail from user@greywolf.unoverica.com. To change this behavior you must define the $M macro to contain the domain name.

"Macros" 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 macros, refer to section F.3 Defining Macros.

This is achieved through the use of Unoverica Message Transport’s UCMCON.NLM management tool. UCMCON.NLM is a NetWare Loadable Module that runs on the NetWare server. 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:

Undisplayed Graphic

Figure 5.27: 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:

Undisplayed Graphic

Figure 5.28: UCMCON's Configuration menu.

Select the "Macros" menu item and press <Enter>. You will then be presented with a set of user-definable macros similar to the following:

Undisplayed Graphic

Figure 5.29: UCMCON's currently-defined macros.

Select the "User-defined macro $M (DM)" item and press <Enter>. You will be presented with an edit box for editing the $M macro, similar to the following:

Undisplayed Graphic

Figure 5.30: Defining the $M macro.

Type the name of your domain and press <Enter>, and then press <Esc> to close the edit box. The $M macro should now dInternet Service Providerlay your domain name. Continue pressing <Esc> until you are returned to the NetWare console prompt. Your system will now mark out-bound mail as being from your domain name.

For more information about the $M macro, refer to section F.3.12 User-defined macro $M (DM). For more information about the $m macro, refer to section F.3.5 Domain part of hostname $m (Dm).

STEP: To learn more about Unoverica Message Transport’s advanced configuration options, go to Chapter 6: Advanced Configuration Options.

Previous Page Next Page

Copyright 1997 Unoverica Corporation, All Rights Reserved page
Send comments to docs@unoverica.com