Message Exchange Installation Guide

Message Exchange Installation Guide


April, 2002

This manual provides installation and setup instructions for Message Exchange, electronic mail software for VMS systems.

Revision/Update Information: This is a revised manual.

Operating System and Version: VAX/VMS V5.5 or later

OpenVMS Alpha V6.2 or later

Software Version: Message Exchange V5.3


21 April 2002

The information in this document is subject to change without notice and should not be construed as a commitment by MadGoat Software. MadGoat Software assumes no responsibility for any errors that may appear in this document.

No part of this publication may be reproduced, transmitted, transcribed, stored in a retrieval system, or translated into any language or computer language, in any form or by any means electronic, mechanical, magnetic, optical, chemical, or otherwise without the prior written permission of MadGoat Software.

Use of this software and documentation is subject to the terms and conditions set forth in the License Agreement.

The Licensed Materials are provided with RESTRICTED RIGHTS. Use, duplication, or disclosure by the Government is subject to restrictions as set forth in subparagraph (c)(1)(ii) of the Rights in Technical Data and Computer Software clause at DFARS §252.227-7013 or subparagraphs (c)(1) and (2) of the Commercial Computer Software---Restricted Rights at 48 CFR §52.227-19, as applicable.

MadGoat, Message Exchange, and MX are trademarks of MadGoat Software.

Compaq, DECnet, OpenVMS, VAX, and VMS are registered trademarks of Compaq Information Technologies Group, L.P. in the United States and other countries. All other product names may be trademarks of their respective companies.

MultiNet and TCPware are registered trademarks of Process Software Corporation.

LISTSERV is a registered trademark of L-Soft International.

WIN/TCP and Pathway are registered trademarks of Attachmate, Inc.

Copyright ©2002

Portions of the software were adapted from the NetBSD Project. Refer to the Release Notes for copyright information.

Contents


Preface

This guide describes how to install Message Exchange (MX).

Intended Audience

This manual is intended for use by the system manager or any individual responsible for installing and maintaining MX.

Document Structure

This guide consists of three chapters and three appendices.
Chapter 1 Contains pre-installation information.
Chapter 2 Describes the MX installation procedure.
Chapter 3 Contains post-installation information.
Appendix A Contains a listing of a sample installation.
Appendix B Describes the contents of the MX distribution kit.
Appendix C Contains a list of the files created by an installation.

Related Documents

You can find additional information in the following documents:


Chapter 1
Preparing to Install Message Exchange

This chapter describes the steps that should be taken prior to installing the Message Exchange software.

1.1 Software License Key

MX requires a license key to enable its operation. If you have not obtained a license key for MX from MadGoat, the installation kit will automatically register a temporary evaluation license for you. The temporary key enables the product for 30 days.

1.2 Prerequisite Software

MX requires VAX/VMS version V5.5 or later, or OpenVMS Alpha V6.2 or later, to run. The SMTP support option requires a NETLIB-supported TCP/IP package (refer to the NETLIB release notes for further information). SMTP-over-DECnet requires DECnet, but does not require either NETLIB or any TCP/IP package. The UUCP support option requires DECUS UUCP V1.1 or later.

1.3 Upgrading from Previous Versions of MX

If you are currently running MX V4.0 or later, you can install MX V5.3 as an upgrade; the installation procedure will automatically detect this and notify you that it is upgrading your current installation. If you are currently running a version of MX prior to V4.0, you must either:

  1. upgrade to MX V4.0, V4.1, V4.2, or V5.0 first, then install MX V5.3 as an upgrade; or
  2. install MX V5.3 in a new location.

1.4 VMScluster Support and MX Clusters

MX fully supports VMScluster systems in both homogeneous and heterogeneous configurations.

An "MX cluster" consists of one or more VMScluster nodes that meet the following criteria:

  1. All nodes in the MX cluster share one User Authorization File (SYSUAF.DAT) and one VMS Mail profile (VMSMAIL_PROFILE.DATA).
  2. All nodes have mounted the disk that contains the MX images and directories.
  3. All nodes have mounted the disk that contains the message queue.
  4. If MX is to be used for network mail, at least one node in the MX cluster is running the networking software required for each type of network link desired.
  5. The logical name MAIL$SYSTEM_FLAGS is defined to a value of at least 3. (Refer to VMS Mail Utility Manual for further information on MAIL$SYSTEM_FLAGS.)

For homogeneous VMScluster systems, the MX cluster will usually include all nodes in the VMScluster.

1.4.1 Answering VMScluster-related Installation Questions

The MX installation procedure automatically detects that you are in a VMScluster and will ask additional questions during installation about where in the cluster each installed MX processing agent should run. The processing agents are programs which are run as detached processes. They can be run on any or all nodes in the cluster (following the MX Cluster guidelines outlined above), and will automatically cooperate in providing their respective services.

When asked to provide a cluster node name for running the processing agents, be sure to specify the SCSNODE name (or use an asterisk ("*") to have an agent run on all nodes in the cluster).

1.4.2 Mixed-Architecture VMSclusters (VAX and Alpha systems)

Mixed-architecture VMSclusters (those containing both VAX and Alpha systems) are fully supported by MX. The MX directory tree can be shared by both systems if it resides on a common disk. When the VAX and Alpha systems share a common MX directory, agents may be run on both types of systems.

When MX is first installed, and the installation proceduredetermines that the node is part of a cluster, it will record installation information in the MX directory tree. A subsequent installation of the same version of MX in the same directory tree, but on a system of a different architecture, will cause the installation procedure to ask whether or not just architecture-specific files should be installed.

Note

MX must be installed twice on a mixed-VMScluster: once on a VAX system and once on an Alpha system. Installing MX on a VAX installs the VAX executable images and installing it on an Alpha installs the Alpha images. Only the first installation needs to include all of the architecture-independent files.

The MX_ROOT: directory tree contains two directories for executables: MX_ROOT:[EXE] for VAX executables and MX_ROOT:[ALPHA_EXE] for Alpha executables. The logical MX_EXE:, which is used in all examples below, will automatically be defined appropriately on each system in the cluster.

1.5 Determining Your Node Name

MX requires two node names for its operation. The first, the MX cluster name, is used by MX to coordinate access to the message queue.

The second node name is the MX network node name. This is the name that is used by the MX software to identify mail originating locally. You should decide on a node name for your system before installing the MX software. If your host has a registered Internet domain name, you should use that name. If you are on a UUCP network and do not have a registered Internet domain name, you should use your UUCP host name. Otherwise, you should use a host name that fits with the naming conventions at your site.

In an MX cluster environment, MX will use a single network name to identify the entire cluster. If you have several nodes with their own network node names, and your networking software does not support the use of a cluster-wide alias, you could either pick one node to be the "master" for E-mail purposes or use the MX_VMSMAIL_FROM_FORMAT logical name (described in Message Exchange Management Guide) to have each node insert its own host name in return addresses on outgoing messages. What you do will depend on your network software and setup.

1.6 Accessing the Online Release Notes

MX provides online release notes, which you can display or print by using VMSINSTAL with the OPTIONS N parameter. After the installation, you can read the release notes by printing the file SYS$HELP:MXvvn.RELEASE_NOTES, where "vvn" denotes the version number of the software. For example, for version V5.2 of MX, the file name would be MX052.

The release notes for NETLIB are provided in the file SYS$HELP:NETLIBvvn.RELEASE_NOTES, where "vvn" identifies the version of NETLIB shipped with the MX distribution kit. This file is created during NETLIB installation and is not accessible through VMSINSTAL OPTIONS N.

1.7 Mailer Accounts

You can run the detached processes MX uses under the SYSTEM account, or, if you prefer, under a separate "mailer" account.

Note, however, that using a mailer account may complicate the process for starting up MX on your system; see Section 3.5 for further information on MX startup procedures.

If you intend to use an account other than SYSTEM for running the MX detached processes, you should create the account before installing MX. The mailer account should have the following attributes:

Figure 1-1 shows the UAF entry for a typical Mailer account.

1.7.1 SMTP-over-DECnet/X.25 Dedicated Account

If you intend to use the MX SMTP-over-DECnet or SMTP-over-X.25 support, you may want to establish a special server account to be used exclusively for the DECSMTP and X25_SMTP DECnet objects. If so, you should ensure that the accounts have NETWORK access and the privileges TMPMBX, NETMBX, SYSPRV, and SYSLCK (both authorized and default). Figure 1-2 shows the UAF entry for a typical SMTP-over-DECnet or SMTP-over-X.25 server account. See Section 3.10 for more information on setting up the MX SMTP-over-DECnet and SMTP-over-X.25 support.

Figure 1-1 Mailer Account attributes



Username: MAILER                           Owner:  MX Mailer account 
Account:  NETSTUF                          UIC:    [1076,76] ([MAILER]) 
CLI:      DCL                              Tables: DCLTABLES 
Default:  USER_DISK:[MAILER] 
LGICMD:   NL: 
Login Flags:  Disctly Defcli 
Primary days:   Mon Tue Wed Thu Fri 
Secondary days:                     Sat Sun 
Primary   000000000011111111112222  Secondary 000000000011111111112222 
Day Hours 012345678901234567890123  Day Hours 012345678901234567890123 
Network:  -----  No access  ------            -----  No access  ------ 
Batch:    ##### Full access ######            ##### Full access ###### 
Local:    -----  No access  ------            -----  No access  ------ 
Dialup:   -----  No access  ------            -----  No access  ------ 
Remote:   -----  No access  ------            -----  No access  ------ 
Expiration:            (none)    Pwdminimum:  3   Login Fails:     0 
Pwdlifetime:           (none)    Pwdchange:             (none) 
Last Login:            (none) (interactive), 19-JAN-1990 14:38 (non-interactive) 
Maxjobs:         0  Fillm:        60  Bytlm:        36000 
Maxacctjobs:     0  Shrfillm:      0  Pbytlm:           0 
Maxdetach:       0  BIOlm:        20  JTquota:       1024 
Prclm:           4  DIOlm:        18  WSdef:          512 
Prio:            4  ASTlm:       325  WSquo:          512 
Queprio:       100  TQElm:        10  WSextent:      2048 
CPU:        (none)  Enqlm:       600  Pgflquo:      25600 
Authorized Privileges: 
  CMKRNL SYSNAM DETACH TMPMBX WORLD EXQUOTA NETMBX PHY_IO SYSPRV SYSLCK 
Default Privileges: 
  CMKRNL SYSNAM DETACH TMPMBX WORLD EXQUOTA NETMBX PHY_IO SYSPRV SYSLCK 
Identifier                         Value           Attributes 
  ARPANET_ACCESS                   %X80010042      NORESOURCE NODYNAMIC 
  INTERNET_ACCESS                  %X80010043      NORESOURCE NODYNAMIC 

Figure 1-2 SMTP-over-DECnet server account attributes



Username: DNSMTP_SRV                       Owner:  MX DECSMTP object account 
Account:  NETSTUF                          UIC:    [1076,77] ([DNSMTP_SRV]) 
CLI:      DCL                              Tables: DCLTABLES 
Default:  USER_DISK:[DNSMTP_SRV] 
LGICMD:   NL: 
Login Flags:  Disctly Defcli 
Primary days:   Mon Tue Wed Thu Fri 
Secondary days:                     Sat Sun 
Primary   000000000011111111112222  Secondary 000000000011111111112222 
Day Hours 012345678901234567890123  Day Hours 012345678901234567890123 
Network:  ##### Full access ######            ##### Full access ###### 
Batch:    -----  No access  ------            -----  No access  ------ 
Local:    -----  No access  ------            -----  No access  ------ 
Dialup:   -----  No access  ------            -----  No access  ------ 
Remote:   -----  No access  ------            -----  No access  ------ 
Expiration:            (none)    Pwdminimum:  3   Login Fails:     0 
Pwdlifetime:           (none)    Pwdchange:             (none) 
Last Login:            (none) (interactive), 19-JAN-1990 14:38 (non-interactive) 
Maxjobs:         0  Fillm:        60  Bytlm:        36000 
Maxacctjobs:     0  Shrfillm:      0  Pbytlm:           0 
Maxdetach:       0  BIOlm:        20  JTquota:       1024 
Prclm:           4  DIOlm:        18  WSdef:          512 
Prio:            4  ASTlm:       325  WSquo:          512 
Queprio:       100  TQElm:        10  WSextent:      2048 
CPU:        (none)  Enqlm:       600  Pgflquo:      25600 
Authorized Privileges: 
  TMPMBX NETMBX SYSPRV SYSLCK 
Default Privileges: 
  TMPMBX NETMBX SYSPRV SYSLCK 

1.8 Installation Procedure Requirements

Before installing MX, ensure that the following privileges, resources, and requirements are met:

1.9 Saving Current Configuration

If MX is already installed on your system, you should create an MCP command file from your current MX configuration database prior to installing a new version of MX. To do this, use the following commands:


$ MCP :== $MX_EXE:MCP
$ MCP/FILE=MX_DIR:MX_CONFIG SHOW ALL/OUTPUT=MX_DIR:OLD_CONFIG.MCP/COMMAND

You can then use this MX command file to re-create your MX configuration database once the new version of MX is installed.


Chapter 2
Installing Message Exchange

MX uses VMSINSTAL for installation. If you do not know how to use VMSINSTAL, you should first read the chapter on installing software in the VMS System Manager's Manual. For the installation, you should be logged into the SYSTEM account, or another suitably privileged account.

Note

MX must be installed twice on a mixed-architecture VMScluster: once on a VAX system, and once on an Alpha system. Installing MX on a VAX installs the VAX executable images and installing it on an Alpha installs the Alpha images. The first installation (VAX or Alpha) will also provide the architecture-independent files. When installing on a mixed VMScluster, be sure to specify a device name for the MX installation directory that is valid on both the VAX and Alpha systems, and refers to the same device in both cases. Using a platform-specific logical name, such as SYS$SYSDEVICE, will cause the installation to fail.

2.1 Shutting down MX

If any MX processes are currently running, you should stop them before installing a new version of MX, including any SMTP servers (which are not shutdown with the MCP SHUTDOWN command in versions of MX prior to V2.2-2). Unprocessed mail should remain queued until you start the new MX processes.

2.2 Invoking VMSINSTAL

Invoke VMSINSTAL to install MX.


$ @SYS$UPDATE:VMSINSTAL MXvvn ddcu:

Substitute the appropriate values for vvn and ddcu.


 
         VAX/VMS Software Product Installation Procedure V5.5-2 
 
It is dd-Mmm-yyyy at hh:mm. 
Enter a question mark (?) at any time for help. 
 

If there are any users logged into the system, you will see the message


%VMSINSTAL-W-ACTIVE, The following processes are still active: 
...process names... 
 

You can install MX while users are logged in, though it is safer to perform the installation while no one is logged in and while your network links are shut down.


* Do you want to continue anyway [NO]?

If you wish to continue, answer YES.


* Are you satisfied with the backup of your system disk [YES]?

If you feel comfortable with your system disk backup, answer YES. Otherwise, answer NO, perform the backup, then restart the installation procedure.

2.3 Preliminary Installation Checks

The installation procedure first checks to make sure that the version of VMS that you are running is compatible with the version of MX being installed, and does some preliminary checks on disk space. It then tries to determine the type of installation and the location of the MX directory tree.

2.3.1 Ensuring that MX is Currently Shut Down

If a version of MX is currently installed, the installation procedure will check to see if any MX delivery agents are currently running. If so, it will warn you of this and ask if you wish to continue with the installation:


%MX-I-NOTDOWN, MX delivery agents have not been shut down.
* Do you wish to continue [NO]?
It is strongly recommended that you answer NO to this question, shut down MX, then restart the installation.

2.3.2 Determining the Installation Type

The installation procedure examines the system to determine if a version of MX is already installed. If there is a version of MX installed, it then determines whether this is an upgrade from an upgradable previous version of MX, or a reinstall of the current version. In either case, the installation procedure asks you if you wish to update the MX installation it found:


%MX-I-INSTALDET, An installation of MX Vv.u has been detected at dev:[dir].
* Do you wish to update the existing installation [YES]? 
If you answer YES to this question, the installation procedure will skip the question about selecting a location for the MX directory tree.

If this is a fresh install, or you answer NO when asked about updating an existing installation, you are then asked:


* Where should the MX top directory be located [SYS$SYSDEVICE:[MX]]:

You may place the MX directories on any disk you like. If MX is already installed on the system and its logical names are defined, the default answer will be the definition of your existing MX root directory.

Note

If you are installing MX on a mixed VMScluster where VAX and Alpha systems will share a common directory, be sure you specify a disk that is common to both types of systems. The default device (SYS$SYSDEVICE:) may not be appropriate, especially if you do not cross-mount your VAX and Alpha system disks between systems of different architectures.

2.3.3 Mixed-Architecture Installation

MX next determines if the system is part of a VMScluster, and if the version of MX currently being installed has already been installed once on a node in the cluster of a different architecture. If both of these are found to be true the installation procedure then asks:


*  Do you wish to install only arch-specific files [YES]? 

You should answer YES to this question unless you really want to re-install the architecture-independent files.

The last of the preliminary questions is


* Do you want to purge files replaced by this installation [YES]?

If this is the first time you have installed MX, answering NO to this question can save some time when the MX files are moved into their directories.

2.4 Component Selection

A menu of MX components appears next, and you are asked to enter your choices from the menu:


     1. [ ] Base MX software 
     2. [ ] NETLIB network support 
     3. [ ] SMTP interface support 
     4. [ ] UUCP interface support 
     5. [ ] SMTP-over-DECnet support 
     6. [ ] SMTP-over-X.25 support 
     7. [ ] Site-provided interface support 
     8. [ ] Mailing List/File Server support 
     9. [ ] Documentation 
    10. [ ] Example files and programs 
    11. [ ] User-contributed files and programs 
 
    13.     Exit 
 
*       Your choice [13]: 

The exact contents of this menu may differ from the above display, depending on the system's architecture (VAX or Alpha). In addition, if this is an architecture-specific-only installation (see Section 2.3.3), the last three choices in the menu will not be displayed.

Enter the number corresponding to the component you wish to install; multiple components may be selected by entering the numbers as a comma-separated list. The menu is displayed again after each selection, with asterisks appearing next to the items you have selected; selecting a component twice removes it from the selection list.

When you are upgrading to a new version of MX, the installation procedure will look at your current configuration to automatically determine the components that should be installed. If you wish to omit any of those components that were selected, simply select them again to remove it from the list.

When you have selected the components you want to install, enter 13 to exit the menu. Your selections are displayed again and you are asked to confirm your selections:


    You have selected the following optional components: 
 
    (selected components listed here) 
 
* Is this correct [YES]? 

Press RETURN to continue the installation, or enter NO to return to the components menu.

Component Notes

You must install the Base software component if this is your first installation of MX, or if you are upgrading from a previous version of MX. The other components are optional and may be installed at any time after the Base component is installed. If you re-install the Base component, you must also re-install all desired optional components as well, except for documentation, examples and contributed files.

If you elect to install SMTP support, NETLIB support will automatically be installed as well. If you have already installed the NETLIB support component, you can disable the NETLIB re-installation by re-selecting it on the menu.

2.5 NETLIB Component Installation

If you are installing the NETLIB component (required for SMTP support using TCP/IP), the saveset containing the NETLIB support files will be loaded and you will be asked some questions regarding the configuration of NETLIB.

The NETLIB installation procedure displays a menu of supported TCP/IP packages and asks for the packages for which you wish to install NETLIB support. The list for Alpha and VAX systems may not be the same, depending on the number of TCP/IP packages supported on each platform.


     1. [ ] CMU TCP/IP 
     2. [ ] Digital TCP/IP Services 
     3. [ ] Process MultiNet 
     4. [ ] Process TCPware 
     5. [ ] Attachmate PathWay 
 
     6.     Exit 
 
*       Your choice [6]: 

The installation procedure attempts to pre-select those packages which appear to be installed on the system. Selections are made just as from the MX optional components menu. When you exit this menu, your selections are displayed and you are asked to confirm them:


    You have selected the following TCP/IP support: 
 
      (packages listed here) 
 
* Is this correct [YES]? 

Press RETURN to continue or enter NO to return to the menu.

If you elected to install support for more than one TCP/IP package, you are then asked to select the one that will be used by default when the NETLIB startup procedure executes:


    You have selected support for more than one TCP/IP package. 
    You must now select which is to be used by default on the 
    current system. 
 
      (packages listed here) 
 
*       Your choice: 

Select the package you wish to use by default. If you need to have different packages used on different systems in a VMScluster, you will need to edit the NETLIB_STARTUP command procedure as described in Section 3.8.

The final NETLIB installation question asks where the NETLIB shareable libraries should be placed:


* Where should the NETLIB libraries be placed [device:[directory]]:

If this is your first installation of NETLIB, the default answer for this question will be the directory where the MX executables are located. However, you may specify any valid location for these files.

2.6 The Installation Completes

After the configuration questions and NETLIB component installations, which always require input from the installer, all selected components are installed. Files are copied from the each save set of the installation kit, then all installed files are copied to their destination directories. Informational messages about the individual components are displayed as needed.


Chapter 3
Post-Installation Information

This chapter contains important information about setting up MX configuration and startup options.

3.1 License Key Registration

If the installation procedure did not detect the presence of a registered license key for MX, it will ask you if you have a license key. If you do, it will invoke MX_LICENSE.COM so you can enter the license key data. If you do not, it will automatically register a temporary evaluation license key, which is enables the product for 30 days.

3.2 Configuring MX

When installing MX for the first time, or upgrading from a previous version, the installation procedure automatically invokes the MXCONFIG command procedure to assist in creating or updating your MX configuration files. If you are adding options to an existing MX installation, and have already created a configuration database, this step is skipped. If you want to create a new MX configuration from scratch, you may use the MXCONFIG command procedure to create an MX configuration database after the installation completes:


$ @SYS$STARTUP:MX_STARTUP LOGICALS
$ @MX_DIR:MXCONFIG

MXCONFIG prompts you for some basic information about the MX message queue, your local host name, and MX processing agents. This information is used to create logical names used by MX and control the parts of MX that are started during the system startup procedure. The prompts for these configuration elements contain detailed descriptions for each of these configuration options.

If MXCONFIG is invoked as part of an initial installation, it will also ask about your network connectivity, and create an MCP command file to create an MX configuration database. You can use MXCONFIG to define all routing information and Postmaster aliases for a typical Internet-connected system. Once the basic configuration is created with MXCONFIG, you can tailor it as you wish using the MCP commands described in Message Exchange Management Guide.

3.3 Message Queue Location and Limits

The first step of the MXCONFIG procedure (option 1 on the menu when invoked outside the installation procedure) asks questions about configuring the MX message queue. The first question asks for the directory where the queue should be located. If you are configuring MX for the first time, the default location will be MX_ROOT:[QUEUE]; however, the queue may be located on any accessible disk on the system or cluster. If you are re-configuring MX, the default answer to this question will be your current MX message queue directory. You may use this procedure to move the message queue to a new location, if needed.

After other questions about the cluster name and whether completed messages should be deleted from the queue immediately, MXCONFIG prompts for configuration information regarding the maximum allowable size for messages and minimum amount of space that should be kept free on the disk device containing the message queue.

3.3.1 Maximum Message Size

You may specify a maximum size for any message that enters your system. By default, the maximum size is set to zero, indicating that there is no fixed maximum. This default setting is adequate for most systems; users sometimes send very large files through e-mail, and if sufficient space is available, this is not a problem. However, if your system has limited disk space available, restricting messages to a reasonable maximum size may help prevent mailboxes from consuming too much disk space.

3.3.2 Message Queue Limits

To prevent system failures or other undesirable behavior from occurring due to disk devices becoming too full, MX checks the amount of free space available on the disk containing the message queue before accepting a message for delivery. MXCONFIG prompts you for a value that represents, as a percentage value, the amount of free space that should be reserved on the queue disk. If a message is entered (via SMTP, VMS MAIL, or any other source) that would cause the amount of free space to drop below this value, the message is automatically refused and deleted from the system.

MXCONFIG sets the reserved free space to a default value of 10%, which will ensure that MX never causes the disk to become more than 90% full. If you elected during installation to place the message queue on a very large disk (larger than 1GB), you may wish to configure the reserved free space to a smaller value; the minimum allowed value is 1% (which allows the disk to become 99% full before MX refuses to accept messages). If your message queue is on a very small disk (smaller than 500MB), you may wish to configure the reserved free space to a larger value.

At some sites, the message queue disk may be located on a very large disk that is also very full, and even the 1% minimum that is settable through MXCONFIG may not be low enough to allow MX to operate consistently. MX provides a means for configuring the minimum reserved free space as an absolute number of disk blocks, rather than a percentage. This is not settable through MXCONFIG; to configure the reserved free space in disk blocks, you must add the following logical name definition to your system startup procedure:


$DEFINE/SYSTEM/EXEC MX_FLQ_DISK_FREE_ABSOLUTE n
where n is the minimum allowed free space on the disk, in disk blocks. This logical name overrides the percentage setting that is configured through MXCONFIG. The minimum allowed value for n is 1024.

Note

Warning: MX may temporarily exceed the reserved free space setting while a message is being entered into the queue. Configuring the reserved free space setting to too low a value may cause the disk containing the message queue to become 100% full at times; this may have undesirable side-effects, especially if the message queue resides on your system disk.

3.4 Establishing a Postmaster

All Internet sites that use electronic mail must be able to accept mail to the username Postmaster. If you do not have a real username called POSTMASTER on your system, you should either establish aliases with the MCP DEFINE ALIAS command:


MCP> DEFINE ALIAS Postmaster "user@host"

(substituting appropriate values for user and host), or use the SET FORWARD command in VMS Mail to forward mail from Postmaster to a real user:


MAIL> SET FORWARD/USER=POSTMASTER user

Even if you are not connected to the Internet, it is still a good idea to create a Postmaster username or forwarding address.

3.5 Adding MX Startup to System Startup

The startup procedure for MX may vary depending on:

In either case, remember that if you are running the MX SMTP-over-TCP/IP support, you should start MX after you start your TCP/IP software.

If you are running L-Soft International's LISTSERV, you must define the LISTSERV logicals, but not the process, before starting MX. For example:


$ @SYS$STARTUP:LISTSERV_STARTUP.COM LOGICALS
$ @SYS$STARTUP:MX_STARTUP.COM
$ @SYS$STARTUP:LISTSERV_STARTUP.COM

Standalone Systems

If you intend to run MX under the SYSTEM account, all you need to add to your system startup procedure is the command:


$ @SYS$STARTUP:MX_STARTUP

If you are using a separate mailer account, you would use the following commands instead:


$ @SYS$STARTUP:MX_STARTUP LOGICALS
$ SUBMIT/NOPRINT/USER=mailer SYS$STARTUP:MX_STARTUP

For mailer substitute the username you assigned to your mailer account.

Clustered Systems

In a cluster environment, as long as you are running MX under the SYSTEM account, the startup command is as easy as for standalone systems:


$ @SYS$STARTUP:MX_STARTUP

However, if you are running MX under a separate mailer account, how each node in the cluster starts MX depends on whether or not it will run one or more of the MX processes (as selected during MX installation).

If the node will not run one or more of the MX processing agents, such as a satellite node in a Local-Area or Mixed-Interconnect VMScluster, all it needs to start up MX is the command:


$ @SYS$STARTUP:MX_STARTUP
which just defines the necessary logical names and install the necessary images for interfacing VMS Mail with MX.

If the node will run one or more MX processes, those processes need to be started up under the mailer account's username, so you would use the commands:


$ @SYS$STARTUP:MX_STARTUP LOGICALS
$ SUBMIT/NOPRINT/USER=mailer/QUEUE=nodeque SYS$STARTUP:MX_STARTUP
substituting the mailer account name for mailer and the name of a batch queue that runs on the local system for nodeque.

3.5.1 Example

As an example, take a homogeneous VMScluster with two nodes, NODE1 and NODE2, each with a TCP/IP connection, and several satellite nodes that will just be used for sending and receiving mail by users (i.e., no MX processes will run on them).

Both NODE1 and NODE2 have batch queues, called NODE1_BATCH and NODE2_BATCH, respectively. The mailer account username is MAILER.

The commands to be added to SYS$MANAGER:SYSTARTUP_V5.COM, after TCP/IP startup, would be:


$ NODE = F$GETSYI ("NODENAME")
$ IF NODE .NES. "NODE1" .AND. NODE .NES. "NODE2"
$ THEN
$    @SYS$STARTUP:MX_STARTUP
$ ELSE
$    SUBMIT/NOPRINT/USER=MAILER/QUEUE='NODE'_BATCH SYS$STARTUP:MX_STARTUP
$ ENDIF

3.6 Adding MX Shutdown to System Shutdown

To ensure that MX agent processes are shut down cleanly when the system is shut down, add the following lines to SYS$MANAGER:SYSHUTDWN.COM:


$ MCP := $MX_EXE:MCP
$ MCP SHUTDOWN
This will notify any agent processes on the system that they should shut down without affecting the agent processes on other nodes in the cluster.

3.7 Establishing Your Time Zone

If you are not in the US Eastern time zone, or you are not following US standard daylight savings time, or you do not like "EST" and "EDT" as time zone names, you must make sure that at least one of several time zone logicals is defined in SYSTARTUP_V5.COM.

3.7.1 The Product-Specific Time Zone Logicals

MX checks for the existence of one of several time zone logicals that specify the timezone string to be used when generated RFC822 mail message headers. Because most of the delivery transports (DECUS UUCP, the TCP/IP implementations, etc.) already define time zone logicals compatible with MX, it is not necessary to define MX-specific logicals.

On OpenVMS V6.0 and later, MX automatically uses the logical name SYS$TIMEZONE_DIFFERENTIAL as the basis for its time zone strings. If you have not correctly set that logical name, use the command


$ @SYS$MANAGER:UTC$CONFIGURE_TDF

to set the timezone differential. If your site observes Daylight Savings Time, you may need to adjust the timezone differential each time you adjust your system clock.

On systems where SYS$TIMEZONE_DIFFERENTIAL is not defined (typically pre-V6.0 VMS), the value of the first logical defined in the following ordered list is used with no time-zone calculations.
MX_TIMEZONE MX
MULTINET_TIMEZONE MultiNet
UUCP_TIME_ZONE DECUS UUCP
WIN$TIME_ZONE WIN/TCP and PathWay

3.7.2 The MX Timezone Logicals

If you wish to define a specific timezone logical name for use by MX, you should define it as follows:


$ DEFINE/SYS/EXEC MX_TIMEZONE "tzstr"

where tzstr is a valid (RFC822-compliant) time zone designation, such as "-0500". No validity checking is performed on this string. Note that the string you specify with MX_TIMEZONE is used verbatim. If you use MX_TIMEZONE and you observe daylight savings time in your area, it is your responsibility for modifying the definition of MX_TIMEZONE as needed. You do not need to shut down MX to do this.

3.8 Interfacing with TCP/IP

The SMTP interface uses the NETLIB transport-independent library to interface with the TCP/IP package or packages you have installed on the system.

3.8.1 Disabling Vendor SMTP Support

If your TCP/IP vendor provides SMTP support as part of its package, you should disable that support before starting MX.

Note

The instructions provided below were valid for various versions of each vendor's software. Please consult your TCP/IP documentation for more accurate instructions.

3.8.1.1 Disabling CMUIP SMTP

For CMU-OpenVMS/IP (aka CMU-Tek TCP/IP), edit your INTERNET.CONFIG file and comment out the line that begins with "WKS:25", then restart TCP/IP. In addition, you may wish to deassign the system logical name TCP$SMTPSV.

3.8.1.2 Disabling MultiNet SMTP

For MultiNet, use the Server Configuration Utility to disable MultiNet's SMTP service:


$ MULTINET CONFIGURE/SERVER
MultiNet Server Configuration Utility 2.2(25)
[Reading in symbols from SERVER image MULTINET:SERVER.EXE]
[Reading in configuration from MULTINET:SERVICES.MASTER_SERVER]
SERVER-CONFIG>DISABLE SMTP
SERVER-CONFIG>RESTART
SERVER-CONFIG>EXIT

If the SMTP was previously enabled, you will also need to stop the MultiNet SMTP batch queue. For example:


$ STOP/QUEUE MULTINET_SMTP_QUEUE

3.8.1.3 Disabling TCPware SMTP

For TCPware, use the TCPware configuration utility to disable TCPware's SMTP server, if you installed TCPware-SMTP. For TCPware v3.0, type:


$ @TCPWARE:CNFNET FULL SMTP

For versions of TCPware prior to v3.0, type:


$ @TCPIP_ROOT:CNFNET FULL SMTP

When asked


Enter the number of listening SMTP-VMS servers [1]:

enter 0. When asked whether to restart SMTP, answer YES.

3.8.1.4 Disabling UCX SMTP

VMS/ULTRIX Connection (in versions 1.0 through 1.3B) does not include any native SMTP support.

DEC TCP/IP Services for VMS V2.x does include native SMTP support. To disable the UCX SMTP server under V2.x, perform the following:

For DEC TCP/IP Services for VMS V3.0 and higher, perform the following:

3.8.1.5 Disabling Wollongong PathWay SMTP

To disable the SMTP server for Wollongong's PathWay, follow these steps:

To prevent the PathWay SMTP server from restarting on the next system boot, comment out the SMTP_INIT line in the PathWay startup file, TWG$TCP:[NETDIST.MISC]STARTINET.COM.

This procedure should permanently disable the PathWay SMTP server. To reenable the PathWay SMTP server, undo all the edit changes, kill the MX SMTP_SERVER, kill the INET_SERVER, and restart the INET_SERVER.

3.8.2 Ensuring SMTP Server Restarts

The MX SMTP Server process automatically exits when it detects the shutdown of the TCP/IP software. If you want to ensure that it starts back up again after restarting your TCP/IP software, you should create a command procedure for starting up TCP/IP:


$ @vendor-supplied-startup 
$ IF F$TRNLNM ("MX_EXE") .NES. "" THEN @SYS$STARTUP:MX_STARTUP SMTP_SERVER 

Substitute the name of the vendor-supplied startup procedure for your TCP/IP package in the first line.

3.9 Interfacing with UUCP

If you have installed the support for DECUS UUCP, you must ensure that DECUS UUCP calls MX to deliver mail.

If you are running DECUS UUCP v2.0 or higher, you must modify the UUCP configuration to define the logical UUCP_UUXQT_DCL_RMAIL_MX. The logical should be added to UUCP_CFG:CONTROL. as follows:


!+ 
! 
!       -- Make DECUS UUCP UUXQT_DCL procedure use MX to deliver mail. 
! 
!- 
UUCP_UUXQT_DCL_RMAIL_MX                 TRUE 

For versions of DECUS UUCP prior to v2.0, you must modify the UUCP command procedure UUCP_BIN:UUXQT_DCL.COM to accommodate the hook into MX. The section of the command file after the label DO_RMAIL should be modified as follows:

The line that reads


$        SET PROCESS/PRIVILEGE=(SYSPRV, DETACH, BYPASS) 

should be modified to include the privilege SYSLCK:


$        SET PROCESS/PRIVILEGE=(SYSPRV, DETACH, BYPASS, SYSLCK) 

The corresponding line that turns off these privileges a few lines below should be similarly modified.

The line that runs the mail message through the UUCP mailer:


$        MAIL/PROTOCOL=UUCP_MAILSHR 'infile' "''addr'" 

should be replaced by the following two lines:


$        RMAIL := $MX_EXE:MX_RMAIL 
$        RMAIL 'infile' "''addr'" 

You may want to move the definition of the RMAIL symbol to the top of the command procedure.

Note

UUCP must be started before MX in the system startup sequence.

3.10 SMTP Support for DECnet and X.25

If you elected to install support for SMTP-over-DECnet or SMTP-over-X.25, you must take some additional steps to configure DECnet and MX.

3.10.1 Creating a DECnet Object for DECnet-SMTP

You must create a DECnet object called DECSMTP for establishing SMTP-over-DECnet connections, both incoming and outgoing.

If you intend to accept incoming SMTP-over-DECnet connections, you should establish an account (either your mailer account or a dedicated server account) for use with each DECnet object. See Section 1.7.1 for more information on the requirements for the DECnet object account.

A DECnet object needs to be created to handle the incoming SMTP-over-DECnet connections and to map the DECSMTP object name to a DECnet object number. Choose an unused DECnet object number. To see what object numbers are currently in use, use the command:


$ MCR NCP SHOW KNOWN OBJECT

Assign the object name DECSMTP to an unused object number; the number used must be identical on all nodes on your network that use SMTP-over-DECnet (this example uses 254). In NCP, use these commands:


NCP> PURGE OBJECT DECSMTP ALL
NCP> DEFINE OBJECT DECSMTP NUMBER 254 PROXY NONE FILE -
_NCP>    MX_EXE:DNSMTP_SERVER.EXE USER server-acct PASSWORD some-password
NCP> SET OBJECT DECSMTP ALL

You do not need to specify the FILE, USER, or PASSWORD parameters if you do not intend to accept incoming SMTP connections over DECnet. Be sure that the password in the DECnet database matches the password you set for the server account in AUTHORIZE.

Using Proxies

Instead of storing the username and password for the server account in the DECnet database, you could grant access using DECnet proxies. Proxies give you more control over who on the network has access to the object, and eliminate the need for storing the password to the server account in the DECnet object database.

Note

Using proxies allows the remote system access to all files the server account can access (by using regular DECnet file transfers with FAL). If you do not manage the remote system, it is recommended that you use DECnet objects instead of proxies.

To enable proxy access to the DECSMTP object, use the following commands in NCP:


NCP> PURGE OBJECT DECSMTP ALL
NCP> DEFINE OBJECT DECSMTP NUMBER 254 PROXY INCOMING FILE -
_NCP>    MX_EXE:DNSMTP_SERVER.EXE
NCP> SET OBJECT DECSMTP ALL

Then in AUTHORIZE, create proxy entries for the mailer accounts on the other systems on the network that will be sending you mail via SMTP-over-DECnet:


UAF> ADD/PROXY remote::mailer server-acct/DEFAULT

For remote::mailer substitute the DECnet node of the remote system and the username of the mailer account on that system. For server-acct substitute the name of the server account you set up for use with the DECnet-SMTP object.

3.10.2 Creating a DECnet Object for X.25-SMTP

You must create a DECnet object called X25_SMTP for establishing SMTP-over-X.25 connections, both incoming and outgoing.

If you intend to accept incoming SMTP-over-X.25 connections, you should establish an account (either your mailer account or a dedicated server account) for use with each DECnet object. See Section 1.7.1 for more information on the requirements for the DECnet object account.

A DECnet object needs to be created to handle the incoming SMTP-over-X.25 connections and to map the X25_SMTP object name to a DECnet object number. Choose an unused DECnet object number. To see what object numbers are currently in use, use the command:


$ MCR NCP SHOW KNOWN OBJECT

Assign the object name X25_SMTP to an unused object number; the number used must be identical on all nodes on your network that use SMTP-over-DECnet (this example uses 253). In NCP, use these commands:


NCP> PURGE OBJECT X25_SMTP ALL
NCP> DEFINE OBJECT X25_SMTP NUMBER 253 PROXY NONE FILE -
_NCP>    MX_EXE:XSMTP_SERVER.EXE USER server-acct PASSWORD some-password
NCP> SET OBJECT X25_SMTP ALL

You do not need to specify the FILE, USER, or PASSWORD parameters if you do not intend to accept incoming SMTP connections over X.25. Be sure that the password in the DECnet database matches the password you set for the server account in AUTHORIZE.

You must also add an X.25 "destination" to the P.S.I. database that maps to the DECnet object:


NCP> DEFINE MODULE X25-SERVER DESTINATION X25_SMTP -
_NCP>   OBJECT X25_SMTP PRIORITY 0 -
_NCP>   CALL MASK  FFFFFFFFFFFFFFFFFFFFFFFF -
_NCP>   CALL VALUE FF0000005832355F534D5450
 
NCP> SET MODULE X25-SERVER DESTINATION X25_SMTP ALL
 

3.11 Customizing Mailing List and File Server Files

The MX installation procedure provides three files, MLIST_ADD_MESSAGE.TXT, MLIST_REMOVE_MESSAGE.TXT, and MLIST_FORWARD_MESSAGE.TXT, for use with the mailing list processor, and a help file called FILESERV_HELP.TXT for use with a file server. If you intend to use the mailing list or file server features of MX, you should modify the contents of these files to reflect site dependencies. If you already had customized versions of these files, they are not purged; you should delete the new versions created by the installation procedure.

Refer to Message Exchange Mailing List/File Server Guide for more information on setting up mailing lists.

3.12 Setting Up MXALIAS

MX includes a utility called MXALIAS which users can execute to define personal MX aliases for e-mail addresses. MXALIAS is fully documented in the Message Exchange User's Guide.

In order to make MXALIAS accessible to users on the system, you should add a symbol like the following to your system login procedure (SYS$SYLOGIN) or to the user's LOGIN.COM:


$ mxalias :== $mx_exe:mxalias.exe 

Alternatively, you can add a command to the DCLTABLES on your system that will invoke MXALIAS. In order to do so, create a file called MXALIAS.CLD containing the following lines:


! 
!  CLD file for defining MXALIAS command as DCL command 
! 
!  To install for all users, modify the dev:[dir] strings below and 
!  execute the following commands: 
! 
!       $ SET COMMAND MXALIAS.CLD/TABLE=SYS$LIBRARY:DCLTABLES.EXE- 
!               /OUTPUT=SYS$COMMON:[SYSLIB]DCLTABLES.EXE 
!       $ INSTALL :== $INSTALL/COMMAND 
!       $ INSTALL REPLACE SYS$LIBRARY:DCLTABLES.EXE 
! 
DEFINE VERB MXALIAS 
        IMAGE   MX_EXE:MXALIAS.EXE 
        CLIFLAGS(FOREIGN) 

The instructions in the file show you would enter the command in the system-wide DCLTABLES. This undocumented technique can be used for any program that must be run with a foreign symbol.

MXALIAS includes its own on-line help. A brief description of MXALIAS that can be placed in the system help library can be found in MX_DIR: as MXALIAS_MAIN.HLP. To install it in the system-wide help library, execute the following command:


$ LIBRARY/HELP/REPLACE SYS$HELP:HELPLIB.HLB MX_DIR:MXALIAS_MAIN

Of course, any local help library may be specified instead of SYS$HELP:HELPLIB.HLB.

3.13 Starting MX

Once you have created an MX configuration database and added the appropriate startup commands to your system startup, you are ready to start up the MX software. From the SYSTEM account, or other suitably privileged account, enter the command:


$ @SYS$STARTUP:MX_STARTUP

If you are using a separate mailer account, you instead use the command:


$ SUBMIT/NOPRINT/USER=mailer/QUEUE=batchque SYS$STARTUP:MX_STARTUP

In a VMScluster environment, you should execute MX_STARTUP on each node in the cluster.


Appendix A
Sample MX Installation

This appendix contains an example of a first-time MX installation on a clustered Alpha system.


$ @SYS$UPDATE:VMSINSTAL MX052 device:[kit_dir][RET]
 
 OpenVMS AXP Software Product Installation Procedure V7.1 
 
 
It is 10-JAN-2001 at 07:44. 
 
Enter a question mark (?) at any time for help. 
 
* Are you satisfied with the backup of your system disk [YES]? [RET]
 
The following products will be processed: 
 
  MX V5.2 
 
 Beginning installation of MX V5.2 at 07:44 
 
%VMSINSTAL-I-RESTORE, Restoring product save set A ... 
%VMSINSTAL-I-RELMOVED, Product's release notes have been moved to SYS$HELP. 
 
                Message Exchange I5.2 Installation Procedure 
 
      Copyright © 1993,1996,1998-2001 MadGoat Software.  All Rights Reserved. 
 
           This licensed material is the property of MadGoat Software. 
    Installation, use, duplication, or disclosure is subject to the restrictions 
                     set forth in the License Agreement. 
 
      MadGoat, Message Exchange, and MX are trademarks of MadGoat Software. 
            DEC, VMS, OpenVMS, VAX, Alpha, DECnet, and VMScluster 
              are trademarks of Compaq Computer Corporation. 
             MultiNet and TCPware are registered trademarks of 
                        Process Software Corporation. 
         LISTSERV is a registered trademark of L-Soft International. 
      WIN/TCP and Pathway are registered trademarks of AttachMate, Inc. 
 
 
    MX Root Directory Location 
    -------------------------- 
 
    MX places most of its files in a private directory tree.  This tree 
    can be located on any disk that has sufficient space available to 
    hold the installed files plus all temporary files and logs created 
    by MX agent processes. 
 
    In a VMScluster, the disk device selected should be accessible to 
    all VMScluster nodes that will be using MX. 
 
* Where should the MX root directory be located? [SYS$SYSDEVICE:[MX]]: [RET]
%VMSINSTAL-I-SYSDIR, This product creates system disk directory  SYS$SYSDEVICE:[MX]. 
%VMSINSTAL-I-SYSDIR, This product creates system disk directory  SYS$SYSDEVICE:[MX.EXE]. 
%VMSINSTAL-I-SYSDIR, This product creates system disk directory  SYS$SYSDEVICE:[MX.ALPHA_EXE]. 
* Do you want to purge files replaced by this installation [YES]? [RET]
 
                          Component Selection 
 
    Select the MX components you wish to install from the menu below. 
    An asterisk appears next to the packages that have already been 
    selected.  You can remove a package from the list by selecting it 
    again.  You may enter more than one selection by separating your 
    choices with commas. 
 
     1. [*] Base MX software (REQUIRED) 
     2. [ ] NETLIB network support 
     3. [ ] SMTP interface support 
     4. [ ] SMTP-over-DECnet support 
     5. [ ] Site-provided interface support 
     6. [ ] Mailing List/File Server support 
     7. [ ] LISTSERV interface support 
     8. [*] Documentation 
     9. [ ] Example files and programs 
    10. [ ] User-contributed files and programs 
 
    11.     Exit 
 
 
*       Your choice [11]: 3[RET]
%MX-I-WILLDONETLIB, Will also install NETLIB network support for SMTP support. 


                          Component Selection 
 
    Select the MX components you wish to install from the menu below. 
    An asterisk appears next to the packages that have already been 
    selected.  You can remove a package from the list by selecting it 
    again.  You may enter more than one selection by separating your 
    choices with commas. 
 
     1. [*] Base MX software (REQUIRED) 
     2. [*] NETLIB network support 
     3. [*] SMTP interface support 
     4. [ ] SMTP-over-DECnet support 
     5. [ ] Site-provided interface support 
     6. [ ] Mailing List/File Server support 
     7. [ ] LISTSERV interface support 
     8. [*] Documentation 
     9. [ ] Example files and programs 
    10. [ ] User-contributed files and programs 
 
    11.     Exit 
 
 
*       Your choice [11]: [RET]
 
    You have selected the following components: 
 
        Base MX software 
        NETLIB network support 
        SMTP interface support 
        Documentation 
 
 
* Is this correct [YES]? [RET]
%VMSINSTAL-I-RESTORE, Restoring product save set B ... 
%MX-I-INSTALL_NETLIB, Installing NETLIB library for TCP/IP support... 
%MX-I-NETLRNOT, Release notes for NETLIB V2.3 have been copied to SYS$HELP. 
%VMSINSTAL-I-RESTORE, Restoring product save set D ... 
 
%NETLIB-I-INSTALVERS, Installing NETLIB V2.3. 
 
                       TCP/IP Support Selection 
 
    Select the NETLIB TCP/IP support you wish to install from the 
    menu below.  An asterisk appears next to the packages that have 
    already been selected.  You can remove a package from the list 
    by selecting it again.  You may enter more than one selection 
    by separating your choices with commas. 
 
     1. [ ] Digital TCP/IP Services 
     2. [*] Process MultiNet 
     3. [ ] Process TCPware 
     4. [ ] Attachmate PathWay 
 
     5.     Exit 
 
 
*       Your choice [5]: [RET]
 
    You have selected the following TCP/IP support: 
 
        Process MultiNet 
 
 
* Is this correct [YES]? [RET]
 
 
                     Choosing the NETLIB Directory 
 
    The NETLIB libraries can be placed in any directory, as long 
    as that directory is accessible to all users who plan to use 
    or develop NETLIB-based applications. 
 
* Where should the NETLIB libraries be placed [SYS$SYSDEVICE:[MX.ALPHA_EXE]]: [RET]
%VMSINSTAL-I-SYSDIR, This product creates system disk directory  SYS$SYSDEVICE:[MX.ALPHA_EXE]. 
%CREATE-I-EXISTS, SYS$SYSDEVICE:[MX.ALPHA_EXE] already exists 
 
    The installation will continue for another 5 to 45 minutes, 
    depending on your CPU type, distribution media, etc.  No 
    further input is required during the installation.  Once 
    installation has completed, you may be asked additional 
    configuration questions. 
 
%VMSINSTAL-I-RESTORE, Restoring product save set F ... 
%MX-I-INSTALL_BASE, Installing the MX base software... 
%VMSINSTAL-I-SYSDIR, This product creates system disk directory  SYS$SYSDEVICE:[MX.ROUTER]. 
%VMSINSTAL-I-SYSDIR, This product creates system disk directory  SYS$SYSDEVICE:[MX.LOCAL]. 
%MX-I-LICENSEASK, You will be asked to register your MX license key at the end of the installation process. 
%VMSINSTAL-I-RESTORE, Restoring product save set H ... 
%MX-I-INSTALL_SMTP, Installing SMTP support... 
%VMSINSTAL-I-SYSDIR, This product creates system disk directory  SYS$SYSDEVICE:[MX.SMTP]. 
%VMSINSTAL-I-SYSDIR, This product creates system disk directory  SYS$SYSDEVICE:[MX.SMTP.LOCK]. 
%VMSINSTAL-I-RESTORE, Restoring product save set L ... 
%MX-I-INSTALL_DOC, Installing documentation files... 
%VMSINSTAL-I-SYSDIR, This product creates system disk directory  SYS$SYSDEVICE:[MX.DOC]. 
 
    MX installation procedure complete. 
 
    Be sure to follow the post-installation instructions described in 
    the MX Installation Guide.  This will minimally include editing 
    the system startup procedure to include the following command: 
 
               $ @SYS$STARTUP:MX_STARTUP 
 
%VMSINSTAL-I-MOVEFILES, Files will now be moved to their target directories... 

Since this is a first-time installation, the MX installation procedure asks licensing and configuration questions once the files have been moved to their target directories.


 
    MX License Management 
    --------------------- 
 
    MX requires a license key for its operation.  If you do not have 
    a license key for MX, a temporary evaluation key will be registered 
    in the license database for you automatically. 
 


* Do you have a license key for MADGOAT MX? NO[RET]
 
    Use of this software is subject to the terms set forth in the Evaluation 
    License Agreement.  If you have not yet read the License Agreement, please 
    do so now. 
 
* Would you like to display the text of the Evaluation License Agreement [YES]? NO[RET]
 
* Do you agree to the terms of the License Agreement? YES[RET]
 
    Registering an evaluation license key now.  This key will expire 
    in 30 days.  After evaluating MX, contact MadGoat Software to 
    purchase a full license for the product. 
 
%MGLIC-S-REGISTERED, license MADGOAT MX registered in license database 
%MGLIC-W-EXPIRING, license MADGOAT MX (authorization AUTO-EVAL) will expire on  9-FEB-2001 
%MGLIC-S-LOADED, license MADGOAT MX successfully loaded with 0 units 
 
    The MXCONFIG command procedure may now be run to assist in creating 
    an initial MX configuration. 
 
* Would you like to run MXCONFIG now [YES]? [RET]
 
    Message Queue Directory 
    ----------------------- 
 
    MX uses a directory tree for storing queued mail messages.  This directory 
    tree may be placed with the other MX directories, or may be placed on a 
    different disk.  The disk on which the queue directory resides must 
    have quotas disabled or must have sufficient system quota to provide 
    for a backlog of undelivered messages. 
 
Message queue root directory [MX_ROOT:[QUEUE]]: [RET]
%CREATE-I-CREATED, MX_ROOT:[QUEUE] created 
 
    Selecting the Size of the MX Message Queue 
    ------------------------------------------ 
 
    The MX queueing subsystem uses a fixed-size sequential file for 
    queue control.  The size of the file determines the number of 
    messages that can be in the queue at any one time.  The size of 
    the file can be extended at a later date using the MCP command 
    QUEUE EXTEND. 
 
    For each message, one block is required.  To allow up to 5,000 
    messages to be in the queue at any one time, the queue file must 
    be slightly larger than 5,000 blocks. The required file size 
    depends heavily on your site's e-mail traffic.  The minimum 
    required size is 100 entries. 
 
    For sites with a lot of mail traffic, a size of 5,000--10,000 
    blocks is recommended.  If disk space is not a problem, you can 
    specify as many as 131,072 (128K) messages, which is the maximum 
    number MX is designed to handle. 
 
Maximum number of entries to allow in the queue? [5000]: [RET]
%MCP-I-QNEWQFL, creating new system message queue file for 5000 entries.... 
%MCP-I-QNEWQDN, new system message queue created for 5000 entries 
%CREATE-I-CREATED, MX_ROOT:[QUEUE.1] created 
%CREATE-I-CREATED, MX_ROOT:[QUEUE.2] created 
%CREATE-I-CREATED, MX_ROOT:[QUEUE.3] created 
%CREATE-I-CREATED, MX_ROOT:[QUEUE.4] created 
%CREATE-I-CREATED, MX_ROOT:[QUEUE.5] created 
%CREATE-I-CREATED, MX_ROOT:[QUEUE.6] created 
%CREATE-I-CREATED, MX_ROOT:[QUEUE.7] created 
%CREATE-I-CREATED, MX_ROOT:[QUEUE.8] created 
%CREATE-I-CREATED, MX_ROOT:[QUEUE.9] created 
 
    MX Message Queue "Cluster" Name 
    ------------------------------- 
 
    This is a 1-to-6 character name that is used to coordinate access 
    to the message queue.  If this system is part of a VMScluster, all 
    systems in the cluster that share this MX installation will use 
    the same message queue cluster name. 
 
    For further information on MX cluster support, see the Manager's Guide. 
 
    This name is typically set to the DECnet cluster alias or the 
    DECnet node name of the local system. 
 
Message queue cluster name [MLHOST]: [RET]
 
    Immediate Deletion of Finished Messages 
    --------------------------------------- 
 
    When an MX queue entry has been fully processed,  it is marked as 
    being "finished" and  is  left in the queue for a period of time. 
    The MX Router or MX FLQ Manager scans the file every  15 minutes, 
    by default, and purges the finished entries.  This delay can 
    improve responsiveness of the delivery agents and reduce contention 
    for the message queue. 
 
    However, sites processing a high volume of messages may need to have 
    the finished queue entries deleted immediately on completion, in 
    order to reclaim message queue and file system resources more 
    quickly. 
 
Should finished messages be deleted immediately? [NO]: [RET]
 


    Maximum Message Size 
    -------------------- 
 
    You may set a fixed limit on the size of messages that MX will 
    accept.  Any message that is larger than this fixed limit will 
    be rejected by the message entry agents.  The maximum size is 
    specified in KBytes. 
 
    By default, the maximum size is zero, meaning that there is no 
    fixed limit. 
 
Maximum message size (in KBytes)? [0]: [RET]
 
    Reserved Free Space on Message Queue Device 
    ------------------------------------------- 
 
    MX limits the size of messages it accepts based on the amount 
    of free space available on the disk device where the message 
    queue resides. 
 
    You may reserve a percentage of the total space on the disk. 
    MX will ensure that it accepts no message that will cause the 
    amount of remaining free space to drop below the reserved 
    amount. 
 
    By default, the reserved free space setting is 10%.  The free 
    space percentage may range from 1 to 90. 
 
Percentage of disk space to reserve (1-90)? [10]: [RET]
 
    MX Network Host Name 
    -------------------- 
 
    This is a 1-to-255 character name that is your "official" host 
    name for E-mail purposes. 
 
    For Internet hosts, this should be your Internet domain name. 
    (Example: myhost.mycompany.com) 
 
    For hosts not connected to the Internet, consult your network 
    consult your network manager for an appropriate host name. 
 
Enter the MX network host name [MAILHOST.MADGOAT.COM]: [RET]
 
    MX timezone information will be taken from the system timezone setting 
    in the logical name SYS$TIMEZONE_DIFFERENTIAL. 
 
 
    MX Message Queue Manager Agent 
    ------------------------------ 
 
    If this MX installation will be handling a large volume of messages, 
    it is recommended that you run a separate Queue Manager agent to 
    maintain the message queue.  For small installations, the separate 
    Queue Manager is not required, since the Router Agent can also perform 
    queue management. 
 
Do you want to run the MX Queue Manager? [YES]: [RET]
Enter names of VMScluster nodes to run MX Queue Manager [*]: [RET]
 
    MX Processing Agents 
    -------------------- 
 
    You will now be asked to specify startup information for the other 
    installed MX processing agents. 
 
Do you want to run the MX Message Router? [YES]: [RET]
Enter names of VMScluster nodes to run MX Message Router [*]: [RET]
How many MX Message Router processes should be started? [1]: [RET]
Do you want to run the MX Local Delivery Agent? [YES]: [RET]
Enter names of VMScluster nodes to run MX Local Delivery Agent [*]: [RET]
How many MX Local Delivery Agent processes should be started? [1]: [RET]
Do you want to run the MX SMTP Delivery Agent? [YES]: [RET]
Enter names of VMScluster nodes to run MX SMTP Delivery Agent [*]: [RET]
How many MX SMTP Delivery Agent processes should be started? [1]: [RET]
Do you want to run the MX SMTP Server? [YES]: [RET]
Enter names of VMScluster nodes to run MX SMTP Server [*]: [RET]
 
    SMTP Server Connections 
    ----------------------- 
 
    The MX SMTP Server can be configured to handle from 1 to 36 
    simultaneous incoming connections.  In VMScluster environments, 
    this configuration setting affects all nodes running the 
    SMTP server. 
 
Enter maximum number of SMTP server connections to allow [16]: [RET]
 
    This procedure builds an MCP command file which will create an 
    initial MX configuration database. 
 
    First-time MX managers should use this command procedure as a starting 
    point, then tailor the resulting MCP command file as needed. 
 


    NOTE:  In the following questions, when asked for an ADDRESS, be 
           sure to specify a full E-mail address, even if the address 
           is local. 
                       Example:  user@host.company.ORG 
 
* What do you want to call the command file? [MX_DIR:CONFIG.MCP]: [RET]
 
                           Delivery Path Selection 
 
    Select the delivery paths you are using with MX from the menu 
    below.  Selected items are marked with an asterisk ("*").  You 
    can remove a delivery path from the list by selecting it again. 
    You may enter more than one selection by separating your choices 
    with commas. 
 
     1. [ ] SMTP over TCP/IP 
 
     2.     Exit 
 
 
*      Your choice [2]: 1[RET]
 
                           Delivery Path Selection 
 
    Select the delivery paths you are using with MX from the menu 
    below.  Selected items are marked with an asterisk ("*").  You 
    can remove a delivery path from the list by selecting it again. 
    You may enter more than one selection by separating your choices 
    with commas. 
 
     1. [*] SMTP over TCP/IP 
 
     2.     Exit 
 
 
*      Your choice [2]: [RET]
 
    You have selected the following delivery paths: 
 
        SMTP over TCP/IP 
 
 
* Is this correct?  [Yes]: [RET]
 
    TCP/IP (SMTP) Information 
 
    MX must be configured to recognize all possible names that could 
    be used by other hosts on the network to identify the local system: 
 
        Examples:   myhost.mycompany.COM 
                    myhost                (abbreviation) 
 
    It must also be able to recognize the bracketed, dotted-decimal 
    IP address for the local system: 
 
        Example:    [128.113.5.15] 
 
 
    In a VAXcluster with multiple TCP/IP-connected hosts you should enter 
    the node name(s) and bracketed address for each host connected to the 
    TCP/IP network. 
 
    When are finished entering node names, just press RETURN to move 
    on to the next question. 
 
 
* Enter a local Internet node name: mailhost.madgoat.com[RET]
 
* Enter another local Internet node name: [RET]
 
    Defining the "Postmaster" Alias 
 
    If you have not set up a username on the system called POSTMASTER, 
    you should create an alias in MX for username Postmaster to direct 
    mail to the person performing postmaster duties. 
 
    All Internet- and BITNET-connected systems MUST have a valid 
    Postmaster address. 
 
    If you have a valid POSTMASTER account on your system, just 
    press RETURN.  Otherwise, enter a full (user@host) address 
    to which all Postmaster-addressed messages should be sent. 
 
* Enter an alias for Postmaster (user@host): system@mailhost.madgoat.com[RET]
 
    There are no more configuration questions. 
 
* Would you like to run MCP now to build the configuration? [Y]: [RET]
! MX_DEVICE:[MX]CONFIG.MCP;1 
! Created: 10-JAN-2001 07:46:33.76 by MX_CREATE_CONFIG_DATABASE 
! 
DEFINE PATH "mailhost.madgoat.com" LOCAL 
! NOTE: The next path definition should always be LAST. 
DEFINE PATH * SMTP 
! 
! Done with routing information. 
! 
DEFINE ALIAS "Postmaster" "system@mailhost.madgoat.com" 
DEFINE ALIAS "POSTMAST" "system@mailhost.madgoat.com" ! for BITNET compatibility 
%MCP-I-WROTECFG, wrote configuration to file MX_DEVICE:[MX]MX_CONFIG.MXCFG;1 
Save agent and logical name configuration changes? [YES]: [RET]
 
 Installation of MX V5.2 completed at 07:46 
 
    Adding history entry in VMI$ROOT:[SYSUPD]VMSINSTAL.HISTORY 
 
    Creating installation data file: VMI$ROOT:[SYSUPD]MX052.VMI_DATA 
 
 VMSINSTAL procedure done at 07:47 


Appendix B
Contents of Distribution Kit

MX is provided in a VMSINSTALlable distribution kit consisting of 14 save sets. Each save set is briefly described in Table B-1.

Table B-1 MX installation kit save sets
Save Set Contents
MX051.A Kit files and common base installation files.
MX051.B NETLIB common installation files.
MX051.C NETLIB VAX installation files.
MX051.D NETLIB Alpha installation files.
MX051.E Base installation files (VAX).
MX051.F Base installation files (Alpha).
MX051.G MX SMTP (TCP/IP, DECnet, X.25) files (VAX).
MX051.H MX SMTP (TCP/IP, DECnet, X.25) files (Alpha).
MX051.I MX SITE, UUCP, MLF, and ListServ interface files (VAX).
MX051.J MX SITE, UUCP, MLF, and ListServ interface files (Alpha).
MX051.K Mailing List/File Server (MLF) common files.
MX051.L Documentation files, in PostScript, Bookreader, and plain ASCII formats.
MX051.M Examples.
MX051.N Contributed software and files.


Appendix C
Files Created During Installation

The files in Table C-1 are created during the installation of the MX software. For an inventory of the MX user-contributed files and software, see the file 00README.TXT in save set MX051.M, or in directory MX_ROOT:[CONTRIB], if the contributed files are installed.

The following notes are referenced in Table C-1:

  1. Only if ML/FS support is installed.
  2. Only if Documentation is installed.
  3. Only if Examples are installed.
  4. Only if SMTP-over-DECnet is installed.
  5. Only if SMTP support is installed.
  6. Only if UUCP support is installed.
  7. Only if SITE support is installed.
  8. Only if NETLIB support is installed.
  9. Only if SMTP-over-X.25 is installed.
  10. Only if LISTSERV support is installed.

Table C-1 Message Exchange files created during installation
File name Description
Files in MX_FLQ_DIR:
MX_SYSTEM_QUEUE.FLQ_CTL System queue sequential file
Files in MX_ROOT:[000000]
MGLICENSE_DATABASE.MGLICDB License key database
MXALIAS_MAIN.HLP Top-level MXALIAS help file for HELPLIB.HLB
MX_ALIAS_HELPLIB.HLB Help library for MXALIAS
MX_MCP_HELPLIB.HLB Help library for MCP
MX_REJMAN_HELPLIB.HLB Help library for REJMAN utility
MLF_CONFIG.COM ML/FS configuration procedure (Note 1)
MX_LICENSE.COM Command procedure for license management
MXCONFIG.COM MX configuration creation procedure
MX_CREATE_CONFIG_DATABASE.COM MX configuration database creation procedure
MX_LOGICALS.DAT Logical name definitions used by MX___STARTUP.COM
MX_STARTUP_INFO.DAT Describes which MX processes get started
Files in MX_ROOT:[DOC] (Note 2)
INDEX.HTML Index of HTML documentation (HTML)
MX_INSTALL_GUIDE.DECW$BOOK Installation guide (Bookreader)
MX_INSTALL_GUIDE.HTML Installation guide (HTML)
MX_INSTALL_GUIDE.PS Installation guide (PostScript)
MX_INSTALL_GUIDE.TXT Installation guide (ASCII)
MX_LIBRARY.DECW$BOOKSHELF Library file for MX Bookreader documents
MX_MGMT_GUIDE.DECW$BOOK Management guide (Bookreader)
MX_MGMT_GUIDE.HTML Management guide (HTML)
MX_MGMT_GUIDE.PS Management guide (PostScript)
MX_MGMT_GUIDE.TXT Management guide (ASCII)
MX_MLF_GUIDE.DECW$BOOK Mailing List/File Server guide (Bookreader)
MX_MLF_GUIDE.HTML Mailing List/File Server guide (HTML)
MX_MLF_GUIDE.PS Mailing List/File Server guide (PostScript)
MX_MLF_GUIDE.TXT Mailing List/File Server guide (ASCII)
MX.DECW$BOOKSHELF Bookshelf file for MX Bookreader documents
MX_PROG_GUIDE.DECW$BOOK Programmer's guide (Bookreader)
MX_PROG_GUIDE.HTML Programmer's guide (HTML)
MX_PROG_GUIDE.PS Programmer's guide (PostScript)
MX_PROG_GUIDE.TXT Programmer's guide (ASCII)
MX_USER_GUIDE.DECW$BOOK User guide (Bookreader)
MX_USER_GUIDE.HTML User guide (HTML)
MX_USER_GUIDE.PS User guide (PostScript)
MX_USER_GUIDE.TXT User guide (ASCII)
Files in MX_ROOT:[EXAMPLES] (Note 3)
00README.ADDRESS_REWRITER README file for address rewriter.
00README.NAME_CONVERSION README file for name conversion module.
ACCESS_CHECK_EXAMPLE.C Sample callout for SMTP client access checks.
ADDRESS_REWRITER.B32 BLISS source for address rewriter.
ADDRESS_REWRITER.C C source for address rewriter.
ADDRESS_REWRITER.MMS Makefile for address rewriter.
AUTH_CALLOUT_EXAMPLE.C Sample callout for SMTP authentication.
CHARCONV_EXAMPLE.C Sample character set conversion callout.
CHARCONV_EXAMPLE_README.TXT Documentation for the sample character set conversion callout.
DOM_EXPANSION_CMU.B32 Sample domain name expander for CMU TCP/IP.
DOM_EXPANSION_UCX.B32 Sample domain name expander for DEC TCP/IP.
FILTER.C Sample message filter callout.
MX_FILTERDEF.H Header file for sample message filter callout.
MX_FILTERDEF.R32 BLISS REQUIRE file for creating a message filter.
MX_HDR.H C header file with MX header definitions.
NAME_CONVERSION.B32 BLISS source for name conversion module.
NAME_CONVERSION.MAR MACRO source for name conversion module.
NAME_CONVERSION.C C source for name conversion module.
VIRTDOM.ZIP ZIP file containing a sample address-rewriter callout that implements "virtual domains".
Files in MX_ROOT:[EXE] and in MX_ROOT:[ALPHA_EXE]
DNSMTP_SERVER.EXE SMTP-over-DECnet receiver module (Note 4)
DOMAIN_EXPANSION.EXE Domain name expander (Note 5)
MAILQUEUE.EXE Program for listing delayed messages in queue
MCP.EXE MX Control Program
MGLICENSE.EXE License management utility
MLFAKE.EXE Utility for faking messages to mailing list servers
MXALIAS.EXE Utility for defining MX aliases
MX_DECODE.EXE Utility to decode BASE64 mail messages
MX_DNSMTP.COM SMTP-over-DECnet command procedure (Note 4)
MX_DNSMTP.EXE SMTP-over-DECnet delivery module (Note 4)
MX_FLQ_MGR.COM MX FLQ Manager command procedure
MX_FLQ_MGR.EXE MX FLQ Manager
MX_FLQ_SHR.EXE Shareable image implementing file queues
MX_LOCAL.EXE MX Local delivery module
MX_LSV.COM MX LISTSERV interface command procedure (Note 10)
MX_LSV.EXE MX LISTSERV interface module (Note 10)
MX_MAILSHR.EXE VMS MAIL foreign protocol interface
MX_MAILSHRP.EXE Service routines for foreign protocol interface
MX_MLF.COM Mailing list/file server command procedure (Note 1)
MX_MLF.EXE Mailing list/file server module (Note 1)
MX_MSG.EXE Messages file
MX_RMAIL.EXE UUCP mail entry interface (Note 6)
MX_ROUTER.COM MX Router command procedure
MX_ROUTER.EXE MX Router module
MX_SHR.EXE MX common routines shareable library
MX_SITE.COM Command procedure used by site-spec interface (Note 7)
MX_SITE.EXE Site-spec delivery agent (Note 7)
MX_SITE_IN.COM Site-spec message entry program (Note 7)
MX_SMTP.COM SMTP outbound delivery command procedure (Note 5)
MX_SMTP.EXE SMTP outbound delivery module (Note 5)
MX_SMTP_MSG.EXE Message file for delivery status and SMTP messages
MX_START.COM Command procedure for starting MX components
MX_UUCP.COM Used by UUCP delivery agent (Note 6)
MX_UUCP.EXE UUCP delivery agent (Note 6)
MX_XSMTP.COM SMTP-over-X.25 delivery agent command procedure (Note 9)
MX_XSMTP.EXE SMTP-over-X.25 delivery agent (Note 9)
MX___STARTUP.COM Master startup procedure for MX.
REJMAN.EXE REJMAN utility
SMTP_SERVER.COM SMTP inbound receiver command procedure (Note 5)
SMTP_SERVER.EXE SMTP inbound receiver module (Note 5)
XSMTP_SERVER.EXE SMTP-over-X.25 inbound receiver module (Note 9)
Files in MX_ROOT:[MLF] (Note 1)
FILESERV_HELP.TXT Help text for use with file server
Files in MX_ROOT:[MLF.MAILING_LISTS] (Note 1)
MLIST_ADD_MESSAGE.TEMPLATE Template for mailing list add message
MLIST_ADD_MESSAGE.TXT Template for mailing list add message
MLIST_FORWARD_MESSAGE.TEMPLATE Template for forwarded-to-list-owner message
MLIST_FORWARD_MESSAGE.TXT Template for forwarded-to-list-owner message
MLIST_HELP.TXT Help file for mailing list processor
MLIST_REMOVE_MESSAGE.TEMPLATE Template for mailing list removal message
MLIST_REMOVE_MESSAGE.TXT Template for mailing list removal message
Files in NETLIB_DIR: (Note 8)
NETLIB_SHRXFR.EXE NETLIB transport-independent library
NETLIB_xxx_SHR.EXE NETLIB transport-specific library (one per transport)
Files in SYS$COMMON:[SYSHLP]
MXvvn.RELEASE_NOTES Release notes for MX
NETLIBvvn.RELEASE_NOTES Release notes for NETLIB
Files in SYS$COMMON:[SYS$STARTUP]
MX_STARTUP.COM Startup procedure for MX
NETLIB_STARTUP.COM Startup procedure for NETLIB (Note 2)

Contents