TCP/IP Configuration and Management Manual
Configuring the NonStop TCP/IP Subsystem
TCP/IP Configuration and Management Manual—427132-004
3-41
Simple Mail Transfer Protocol (SMTP)
Simple Mail Transfer Protocol (SMTP)
The Simple Mail Transfer Protocol (SMTP, RFC 821 and RFC 1495) gateway
implements the SMTP on NonStop systems running Guardian. The SMTP gateway
uses the sockets interface to establish connection with Internet hosts. It provides an
interface between TRANSFER mail systems and the TCPIP process.
The SMTP processes (SMTPRCV and SMTPSND), first open the TISERV (Transfer
Process) (specify up to five TISERV process names). The SMTP processes starts a
session with TRANSFER by logging in as the SMTP MAIL gateway correspondent
(SMTPGATE). Once the processes log into TRANSFER, they can make requests to
TRANSFER to store, retrieve, or delete messages. Specify the mail correspondent
name and password in the SMTPCONF file, as described Option processing—O on
page 3-51.
The default location for the SMTPCONF file is $SYSTEM.ZTCPIP.SMTPCONF;
however, the SMTPSND and SMTPRCV programs can be given the -C option to use a
different location for SMTPCONF.
The SMTPRCV process, which handles mail arriving from the network, is started by
the LISTNER process. The LISTNER process listens for incoming service requests on
well-known ports. The well-known port number for SMTP services is TCP port 25. This
is set up in the PORTCONF configuration file for the LISTNER process by adding an
entry for SMTP.
The SMTPSND process is started by the system administrator as part of the NonStop
TCP/IP startup mechanism. This process can be run from TACL.
Setting Up SMTP
To set up the SMTP gateway (SMTPGATE), do the following:
1. Edit a copy of the supplied SMTPCONF file to make the required changes. Refer
to Setting Up the Configuration File
, later in this section, for detailed instructions on
making these changes.
2. Set up an entry for the SMTPRCV in the file $SYSTEM.ZTCPIP.PORTCONF for
the LISTNER process, as follows:
SMTP $SYSTEM.ZTCPIP.SMTPRCV
If you are using a different location for SMTPCONF (other than
$SYSTEM.ZTCPIP.SMTPCONF), then the entry in the PORTCONF file needs to
be as follows:
SMTP $SYSTEM.SYSTEM.SMTPRCV -Cconfiguration-file
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.