52 Managing OS/400 with Operations Navigator, Volume 6: Networking
Figure 1-45 REXEC server properties
Selecting a command processor
You can use the REXEC server command processing selection exit program
(QIBM_QTMX_SVR_SELECT) to select which command processor the REXEC server uses
to run the submitted command. (If you do not use an exit program, the REXEC server uses
the Control Language (QCAPCMD) processor.) The allowed command processors are:
򐂰 Control Language (QCAPCMD)
򐂰 Qshell interpreter
򐂰 Spawned path (a shell script or program object)
Tracing the REXEC server
The REXEC server can be traced by creating a data area. Note that running the REXEC
server with trace running may cause a significant performance impact.
To trace the REXEC server:
1. Create the data area using the following command:
CRTDTAARA DTAARA(QUSRSYS/QTMXRXCDBG) TYPE(*LGL) LEN(1)
2. Perform the REXEC operation that you want to trace.
3. Delete the data area using the following command:
DLTDTAARA DTAARA(QUSRSYS/QTMXRXCDBG)
The output from the trace will be placed in the default outq as specified by system value
QPRTDEV. The spooled file will be named QPSRVTRC.
Additional information related to configuring and using the REXEC server is available in the
Information Center.
1.4.24 SMTP
Simple Mail Transfer Protocol (SMTP) e-mail is the protocol that allows iSeries 400 to send
and receive e-mail. The SMTP protocol is essentially end-to-end delivery of mail from one
mail server to another. There is a direct connection between an SMTP sender (the client) and
the destination SMTP receiver (the server).
The SMTP client keeps the mail at the sender until it transmits and copies it successfully to
the SMTP receiver (server).
Chapter 1. Network 53
SMTP on iSeries 400 supports the distribution of notes, messages, and ASCII text
documents. SMTP can support formats other than plain text by using the Multipurpose
Internet Mail Extensions (MIME) protocol. The MIME protocol is the data format of the
message that SMTP sends.
A full discussion of SMTP integration into any network is beyond the scope of this redbook.
For information relating to SMTP configuration on your iSeries environment, please refer to
the Information Center.
To enable a basic configuration, select Properties from the context menu of the SNTP server.
The properties tabs are displayed as shown in Figure 1-46.
Figure 1-46 SMTP server properties
Most values throughout the tabs are automatically populated when you configure TCP/IP on
your iSeries system.
General tab settings
Mail Router: Enter the name of your organizations mail router. The mail router name is the
system name where SMTP routes the mail if the e-mail is not local iSeries system.
If you are using the SNDDST command to send e-mail and the RCVDST command to receive
e-mail, and you are using SNADS addressing instead of internet addressing, select the
Automatically add remote users to system distribution directory check box.

Get Managing OS/400 with Operations Navigator V5R1 Volume 6: Networking now with O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.