TCP/IP Configuration and Management Manual
Configuring the NonStop TCP/IP Subsystem
TCP/IP Configuration and Management Manual—427132-004
3-42
Simple Mail Transfer Protocol (SMTP)
3. Run the file $SYSTEM.ZTCPIP.SMTPRCV including the runtime option -bt, and
specify the configuration file you created in step 1 using the run-time option -C
configuration-file.
RUN $SYSTEM.ZTCPIP.SMTPRCV -bt -Cconfiguration-file
This command prints any errors that are present in the configuration file you
created. Fix these errors and repeat this step until no more errors are present.
4. Create the SMTP gateway correspondent that you specified in the configuration
file.
5. Run the SMTPSND program. TMF, TRANSFER, PSMAIL, PATHWAY, and
SMTPCONF should be set-up before invoking SMTPSND. The SMTPSND process
can be run from TACL as shown:
RUN $SYSTEM.ZTCPIP.SMTPSND /CPU xx, PRI xx/ &
[-time timevalue] [-C configuration-file]
The -time parameter specifies the time (in minutes) that the SMTPSND sleeps
between scanning its INBOX and scanning its RETRYFOLDER. The maximum
value is 32K -1, and the minimum value is 0. If an error occurs in specifying this
parameter, the default value (5 minutes) is used. The priority of the SMTPSND
process may be low; the recommended range is 140 to 150.
6. Restart the LISTNER program if NonStop TCP/IP is already running.
Setting Up the Configuration File
The basic intelligence in the SMTPSND and SMTPRCV is the address parsing
mechanism. This mechanism is driven from the configuration file,
$SYSTEM.ZTCPIP.SMTPCONF. This file is set up so that it can parse all legal RFC
822 addresses.
The SMTP configuration file (SMTPCONF) is an EDIT file that you can modify. The
configuration file is organized as a series of lines, each of which begins with a single
character defining the semantics for the rest of the line. Lines beginning with a space
or a tab are continuation lines. Blank lines and lines beginning with a pound sign (#)
are comments.
Note. The -C syntax for SMTPRCV differs from the -C syntax for SMTPSND; do not enter
a space between -C and
configuration-file for SMTPRCV.
Note. The -C syntax for SMTPSND differs from the -C syntax for SMTPRCV; you must
include a space between -C and
configuration-file for SMTPSND.
Note. Only the statements listed in item 1 should be changed or altered by the administrator.
Altering any other lines requires thorough understanding of the effect of the changes, many of
which are beyond the scope of this manual.