|
|
The SMTP statement defines the Simple Mail Transfer capability of Cisco IOS for S/390. It works in conjunction with a mainframe mail agent and provides the interface for mail to and from the network.
This chapter provides guidelines to help you customize your SMTP service. It includes the following sections:
The SERVICE statements define the user-level services provided by Cisco IOS for S/390 and the well-known port numbers. The most common ones are Telnet, VTAMAPPL, FTP, LPR, and USMTP/SSMTP. For a complete description of the SERVICE statement, read Protocol Service Segment (SERVICE).
SERVICE NAME (service)To configure the SMTP services, you will need to set the following:
| SERVICE NAME (SMTP) | to provide SMTP mail server |
| SERVICE NAME (SPOOL#4) | to provide the mail spooler |
| SERVICE NAME (USMTP) | to provide the SMTP mail sender |
Server SMTP (Port 25)
SERVICE NAME(SMTP) MODULE(SSMTP) PORT(25) TCP
This section describes how to configure the Simple Mail Transfer Protocol (SMTP) facilities within Cisco IOS for S/390. First, you may need to change the following parameter on the SMTP statement. The high-level qualifier for the PATH parameter must not be the same high-level qualifier that was used for the Cisco IOS for S/390 data sets.
| PATH (pathname) | Indicates the high level qualifier to use when creating outbound mail data sets. |
There are three SERVICE statements in the APPCFGxx file for mail services. These parameters are used by the mail spooler, client SMTP, and server SMTP. Client SMTP only runs if there is a SERVICE statement for USMTP. Server SMTP only runs if there is a SERVICE statement for SSMTP.
The mail spooler retrieves mail deposited on the JES spool by a user mail agent and queues it for client SMTP on the Cisco IOS for S/390 mail spool. If a user mail agent has not been installed on the system, it is not necessary to continuously run the Cisco IOS for S/390 mail spooler. To prevent the mail spooler from being started, delete the SERVICE statement for SPOOL#4 in the APPCFGxx member.
The SNDMSG program uses these configuration operands:
SPACE UNIT VOLUME PATH
These APPCFGxx statements define Cisco IOS for S/390 mail services (SMTP):
SERVICE NAME(SMTP) MODULE(SSMTP) PORT(25) SERVICE NAME(USMTP) MODULE(USMTP) PORT(25) SERVICE NAME(SPOOL) MODULE(SPOOL#4) PORT(25) * SIMPLE MAIL TRANSFER PROTOCOL PARAMETERS SMTP CYCLE(3 10 1) MX RETURN(Y LOCAL) RTNWTR(UNDWTR) WKSMX DIVERT(X 9999999) INBXFLD(1) ROUTE(X LOCAL) SXWTR(INBWTR) PRINTALL LRECL(132) OUTLIM(250000) TRACE CHARSET(CHAR) REMOTE(1) SPACE(1 5) PATH(T01TCP.V2.EMAIL) PORT(25) UNIT(DISK) VOLUME(MVSTO5) TRANTBL(ENGLISH) FLIST(0)
Use these steps to tailor SMTP with site-specific information:
Step 1 In this example for minimal site configuration, the SMTP statement defines a configuration that does not require a mail agent.
Many Cisco IOS for S/390 sites are able to send and receive mail if a site has minimally configured these SMTP parameters:
SMTP DIVERT(X 9999999)LRECL(132)NOMXPATH(T01TCP.EMAIL)RETURN(Y LOCAL)ROUTE(X LOCAL)UNIT(SYSALLDA)VOLUME(SYSTSO)
Configure the DIVERT, LRECL, MX, PATH, RETURN, ROUTE, VOLUME, and UNIT parameters on the SMTP statement to match site-specific needs. All other SMTP parameters either default to correct values or are used by installations that require additional flexibility in routing mail.
Step 2 For SMTP mailbox names configure the SMTPUSR entries in the SMTPUSR member in the SAMP data set to site requirements. Replace the names, TSO IDs, and signatures in the SMTPUSR entries with those of the SMTP users at your installation.
SMTP 'JQD','DOE','JOHN Q. DOE'
The first entry to this SMTPUSR macro (JQD) is the TSO user ID for the user. The next entry (DOE) is the name of the mailbox for this user. The last entry (JOHN DOE) is the signature to be used on mail sent by this user.
The outbound mail handler checks all SMTPUSR entries to see if the user on the 'x-from' header matches a TSO user ID in the SMTPUSR table. If a match is found, the mailbox name replaces the TSO user ID on the MAIL FROM: command for the outgoing message.
The inbound mail handler checks all SMTPUSR entries to see if the user on the RCPT TO command matches a mailbox name in the SMTPUSR table. If a match is found, the TSO user ID replaces the mailbox name in the inbound mail message 'X-to' header.
An entry for the postmaster should be defined at all sites. In this example, TSO user ID JQD receives messages sent to POSTMASTER.
SMTPUSR 'JQD','POSTMASTER'
The SMTPUSR table should contain a minimum of one TSO user ID that also serves as a postmaster. If you do not want to send out TSO user IDs and mailbox names on messages, you can set up the SMTPUSR table with user JQD as the postmaster:
SMTPUSR 'JQD','JQD','JQD'
SMTPUSR 'JQD','POSTMASTER'
SMTPUSR ,
Execute the usermod UMODSMTP in the CNTL data set to assemble and link SMTPUSR.
An exit routine follows the mailbox names in SMTPUSR. This routine gets control when the search of the mailbox name table fails. It sets a return code to accept or reject the argument name. See the SMTPUSR SAMP member for more details.
Step 3 SMTP requires that a data set naming convention be established for outgoing mail. Use the PATH parameter on the SMTP statement to specify the high-level qualifier(s) for your installation's outgoing SMTP mail data set names.
Mail data sets are created on the unit and volume specified on the SMTP statement's UNIT and VOLUME parameter. Mail data sets are deleted once they are successfully transferred. The @MAILDB@ data set is created when USMTP is started for the first time. It is not deleted on termination of SMTP.
In this example, the SMTP statement defines a configuration that does not require a mail agent. The parameters specify:
SMTP DIVERT(A 0)LRECL(132)PATH(T01TCP.EMAIL)RETURN(Y LOCAL)ROUTE(X LOCAL)SPACE(1 5)UNIT(DISK)VOLUME(SYSTSO)
Step 4 For incoming mail destination, SMTP requires SYSOUT classes and destination IDs for each installation. The class and destination IDs determine where to queue incoming and undeliverable mail. You can optionally specify an external writer program ID for incoming and undeliverable outbound mail JES SYSOUT data sets.
All these parameters are described on the SMTP statement in APPCFGxx in User/Server SMTP Segment (SMTP):
The ROUTE parameter specifies the JES output class and destination to route incoming mail.
The RETURN parameter specifies the JES output class and destination ID to be used to return outgoing mail that cannot be delivered.
The DIVERT parameter specifies the JES output class and the maximum number of characters not to be exceeded before the incoming mail is diverted to a local printer. A value of zero causes all incoming mail to be diverted to the printer, which is appropriate when there is no mail handling facility to receive incoming mail.
The SXWTR parameter can be used to place an external writer program ID on inbound mail JES SYSOUT mail data sets.
Step 5 An alternative method for sending outgoing mail is through the JES2 spool. To use the JES2-to-SMTP interface, select a remote job entry terminal number and make the appropriate definition in your JES2 parameters. A sample of these parameters is in the JES2PARM member of the SAMP data set. You may need to tailor these parameters to your installation. Note that some of the JES2 parameters must agree with SMTP parameters in the APPCFGxx SMTP statement, so if you change a JES2 parameter, be sure to change the corresponding SMTP parameter. This step is optional.
SPOOL#4 and USMTP share parameters specified on the SMTP statement in the file APPCFGxx. These are the parameters that an installation must update on an SMTP statement in file APPCFGxx for SPOOL#4:
SMTP PATH (mail_path_name)REMOTE(remote#)UNIT(unit)VOLUME(volser)
The PATH parameter is the 1 to 17 character high level qualifier for mail data sets. The UNIT and VOLUME parameters define a valid unit/volser combination for mail data set allocation at your installation. The REMOTE parameter can either be the remote name or the destination name for the remote. Remote RMT20 defined to JES2 with a destination name of R20A allows any of these on the REMOTE parameter:
REMOTE(R20)REMOTE(R20A)REMOTE(RMT20)
If a password is needed for the remote, place it in the PASSWORD parameter.
Define the SPOOL service in APPCFGxx with a SERVICE statement:
SERVICE NAME (SPOOL#4) MODULE (SPOOL#4) PORT (25)
SPOOL#4 uses the subsystem interface to retrieve mail from the JES2 spool and create mail data sets on the DASD volume specified on the VOLUME statement.
Make the changes below only if your user mail agent sends outgoing mail to Cisco IOS for S/390 through the JES2 spool (see member JES2PARM in the SAMP library).
DEST(R20A) DEST=R20/* */RMT(20) DEVTYPE=LUTYPE1,CONS=YES,NUMPU=1,BUFSIZE=256/* */R(20).PR(1) LRECL=255,UCS=TN,CKPTPAGE=999,CLASS=F/* */R(20).PU(1) LRECL=255,SEP=NO/* */R(20).RD(1) CLASS=A*OUTCLASS(E) BLNKTRNC=YES,CONDPURG=NO,MSGHOLD=NO,OUTPUT=PRINT,TRKCELL=YESOUTCLASS(F) BLNKTRNC=YES,CONDPURG=NO,MSGHOLD=NO,OUTPUT=PRINT,TRKCELL=YES
Use the SMTP statement to define the following electronic mail service parameters:
| RTNWTR (name) | Specifies the external writer program ID for all undeliverable outbound mail messages.
Default: None |
| CYCLE (minutes retry limit) | Specifies in sublist notation the client USMTP service cycle (in minutes), retry delay (in minutes), and retry limit (in hours). Service cycle must not exceed retry delay, which must not exceed retry limit.
Default: (3 10 96) |
| DIVERT (class number) | Specifies the JES output class and maximum number of characters that, when exceeded, cause incoming mail to be diverted to a local printer. Specifying zero for the number of characters causes all mail to be diverted to the printer. Range for number is 0 to 9999999.
Default: (A 0) |
| FLIST (number) | Specifies the number of entries to reserve for a table of IP hosts that had temporary failures during the outbound mailer (USMTP) send cycle. Once an outbound mail attempt fails with a non-permanent error to a host during a send cycle, all subsequent mail requests during the cycle to the host will not be attempted.
The FLIST feature prevents a bad mail host from backing up the outbound mail queue with a number of temporary errors. Default: 0 Range: 0 - 9999 |
| INBXFLD (1 | 2) | SSMTP folds the X-FROM and X-TO headers for inbound mail that are longer than the record size for the file. This parameter instructs SSMTP which column to continue on the next line when folding X-headers.
Default: 2 |
| JES3CWTR (class writer_name) | Allows JES3 users to use SPOOL#4. JES2 users continue to code the REMOTE parameter, but JES3 users must code JES3CWTR.
class specifies the JES3 HELD class. This can be only one character. writer_name specifies the JES3 external writer name. This ia a maximum of 8 characters and a minimum of 1 character. See JES3CWTR Usage for more information on JES3CWTR. Default: None |
| LRECL (number) | Specifies the logical record length of the mail file to create.
Default: 80 |
| MX | NOMX | If MX is specified, USMTP makes a DIRSRV call for a mail route on outbound mail. The X-TO headers issue a GET ROUTE BYNAME DIRSRV call. The DIRSRV GET ROUTE BYNAME call returns MX records to route outbound mail.
If NOMX is specified, USMTP attempts to deliver mail only to the host on the X-TO header. This parameter should generally be set to MX to recognize mail routing. Default: NOMX |
| OUTLIM (number) | Specifies the maximum number of lines a mail data set can contain on the JES spool. It is used as the OUTLIM parameter to JES.
Default: 250000 |
| PASSWORD (password) | Specifies the password for the JES remote terminal.
Default: None |
| PATH (pathname) | Specifies the path name (in other words, data set name prefix used for mail spool data set names (1 to 44 characters)). This qualifier should be different from the qualifier used for the other Cisco IOS for S/390 data sets or SMTP will attempt to send these data sets.
Default: TCPICS.EMAIL |
| PORT (number) | Specifies the port number for mail to use. For operation with UNIX mail, the port number must be 25.
Default: 25 |
| POSTM | NOPOSTM | Specifies if a copy of any returned mail is to be sent to the postmaster.
Default: POSTM |
| PRINTALL | NOPRINTALL | Specifies whether to print trace results produced by the TRACE parameter.
Default: NOPRINTALL |
| REMOTE (number) | Specifies parameters for the destination ID from which the mail spooler receives outbound mail. The ID number operand is the JES remote terminal ID number.
Default: None |
| RETURN (class destination) | Specifies the JES output class and destination ID used to return outbound mail that cannot be delivered.
Default: (Y LOCAL) |
| ROUTE (class destination) | Specifies the JES output class and destination ID used to route inbound mail.
Default: (X LOCAL) |
| RTNGAT (gat_name) | Specifies the GAT for allocation of the SYSOUT DSN for undeliverable mail. The name must point to an applicable GAT statement. For more information about the GAT Statement, read Chapter 11, Configuring FTP.
Default: None |
| SPACE (primary secondary) | Specifies primary and secondary space allocation for outbound mail in units of tracks (0-65535). Unused space is released.
Default: (5 15) |
| SXGAT (gat_name) | Specifies the GAT name for allocation of the SYSOUT DSN for inbound mail. The name must point to an applicable GAT statement. For more information about the GAT Statement, read Chapter 11, Configuring FTP.
Default: None |
| SXWTR (name) | Specifies the external writer program ID files for all inbound mail messages.
Default: None |
| TRACE | NOTRACE | Specifies whether to produce tracing information for debugging mail problems.
Default: NOTRACE |
| TRANTBL (tranname) | Specifies the translate table load module to be used.
tranname can be one of the following:
For more information about special translate tables, read Chapter Chapter 19, Translation Tables. Default: Translate table specified by TRANTBL parameter on GLOBAL statement in APPCFGxx configuration member. |
| UNIT (unitname) | Specifies a unit name for mail data sets
Default: SYSALLDA |
| UMAPTEMP (number, number...) | Specifies an error code that is returned by a mailer as a permanent error and instructs the Cisco IOS for S/390 mailer to accept it at a temporary error. These permanent errors can be returned when attempting to deliver a message to a group of users. By specifying that this error be treated as a temporary error, the destination is automatically retried until the send retry limit is reached. Return codes recognized as permanent errors instruct the outbound mailer USMTP to not attempt redelivery.
Read UMAPTEMP Usage for more information about how to use the UMAPTEMP parameter. Default: None |
| VOLUME (name) | Specifies a permanently resident volume name containing the outbound mail spool (1 to 6 characters).
Default: None |
| WKSMX | NOWKSMX | Specifies whether to issue a DIRSRV request for well-known services before connecting to a host, to verify that it supports the mail protocol. Since this step is generally not needed, the default is NOWKSMX.
Default: NOWKSMX |
For JES2, a typical SYSOUT DD will be similar to the following:
//OUTPUT DD SYSOUT=A,DEST=(R22A)
For JES3, a typical SYSOUT DD will be similar to the following:
//*OUTPUT DD SYSOUT=(X,SNSWTR)
where SNSWTR specifies the external writer name.
UMAPTEMP gives the site the ability to interpret a permanent error that occurs during outbound mail delivery as a temporary and to attempt redelivery of the message for the affected user during the next schedule cycle.
The UMAPTEMP parameter works in conjunction with the FLIST parameter when the number specified for FLIST is greater than zero. To use the UMAPTEMP parameter, code a positive number in the FLIST parameter.
Table 12-1 gives the possible return codes for an attempted delivery for a set of users.
| Return Code | Description |
|---|---|
| 0 | Indicates the mail was delivered. |
| 1 - 9 | Temporary errors and will be ignored if placed in the UMAPTEMP parameter. |
| 10 - 29 | Errors that cause the recipients associated with the mail session to the host to be marked as a permanent error. |
| 10 - 29 | Valid for use with the UMAPTEMP parameter. |
| 30 - 44 | Syntax errors discovered by USMTP for an individual X-to user@host entry. Syntax errors cannot be placed in the UMAPTEMP parameter. |
| 45 and above | Serious errors and cannot be mapped to temporary errors with UMAPTEMP. |
Table 12-2 contains the return code from the attempted delivery, the message text about the attempted delivery, and a more detailed explanation:
| Return Code and Message | Description |
|---|---|
| 0 - Mail delivered. | The mail message was successfully delivered to all users of the current X-to host. |
| 1 - host down | USMTP could not connect to the attempted host. |
| 2 - Died during transmission | A mail session was severed in the middle of the session. |
| 3 - FILE OPEN FAILED | USMTP could not open the outbound mail file. The most likely explanation is that the file is allocated to another user and cannot be allocated. |
| 4 - TCP Connection refused | The SYN sent from the outbound TCP session to a remote system's mailer on port 25 received a reset response. The mail server on the remote system was not active at the time of the failure. |
| 5 - Remote SMTP Shut Down | The remote system mailer rejected the affected users with a 4xx response. |
| 6 - Unexpected reply from Remote SMTP | The remote system mailer rejected the affected users with a 5xx response. |
| 7 - Host lookup error | While attempting to discern the fully qualified X-to host name, USMTP received a DNR error response that is deemed transient in nature. |
| 9 - Permanent error mapped to Temporary error | A permanent error occurred for an outbound mail session but the UMAPTEMP facility treats it as if the error is temporary in nature. |
| 10 - No such mailbox | The remote mail server rejected a specific RCPT TO command for an X-to user with a 550 error response. No such user. The remote system will not deliver mail to this unknown user. |
| 11 - Not local user | The remote mail server rejected a specific RCPT TO command for an X-to user with a 551 error response because the user was not local to the system. The remote system will not deliver mail to this user. |
| 12 - ERRtoobig | The remote mail server rejected a mail message with a 552 error response because the mail message was too large. |
| 13 - Syntax error in mailbox name | The remote mail server rejected a specific RCPT TO command for an X-to user with a 553 error response. The remote mailer determined that it was presented with a RCPT TO command with a syntax error. The remote system will not deliver mail to this unknown user. |
| 15 - Unknown Host | While attempting to discern the fully qualified X-to host name, USMTP received a DNR error response that is deemed permanent in nature. |
| 20 - Remote SMTP reports protocol error | The remote mail server rejected a specific RCPT TO command for an X-to user with a 500 error response. The remote system will not deliver mail to this unknown user. |
| 21 - Connection did not receive 220 Response | The remote mail server did not send a 220 message when USMTP connected to the remote mail server. |
| 22 - Unrecognized response to HELO command | The remote mail server did not send a 250 message response when USMTP sent the HELO command. |
| 23 - Unrecognized response to MAIL FROM command | The remote mail server did not send a 250 message response when USMTP sent the MAIL FROM command. |
| 24 - Unrecognized response to RCPT TO command | The remote mail server did not send a 250 message response when USMTP sent the RCPT TO command. |
| 25 - Unrecognized response to DATA command | The remote mail server did not send a 354 message response when USMTP sent the DATA command. |
| 34 - X-to header is null | An X-to line was found with bad syntax. The X-to user@host field must be at least 3 characters long (u@h). There was neither a user or host on the X-to line of the mail file. This X-to line will not be considered for delivery for this mail message. |
| 35 - X-to header contains bad character '<' | An X-to line was found with bad syntax. An X-to line contains a user@host address starting "<" character but the terminating ">" was not found. This X-to line will not be considered for delivery for this mail message. |
| 36 - X-to header contains bad character '>' | An X-to line was found with bad syntax. An X-to user@host address line terminates with a ">" character but does not start with "<". This X-to line will not be considered for delivery for this mail message. |
| 37 - X-to header contains bad literal string | An X-to line was found with bad syntax. An X-to user@host address line contains a bad literal string. A literal string is never terminated with a character before the end of the line. This X-to line will not be considered for delivery for this mail message. |
| 38 - X-to header contains bad domain literal | An X-to line was found with bad syntax. An X-to user@host address line contains a bad domain literal in the host portion. A domain literal should be of the format [nnn.nnn.nnn.nnn] where nnn represents a number between 1 and 255. This X-to line will not be considered for delivery for this mail message. |
| 39 - X-to header contains blanks | An X-to line was found with bad syntax. An X-to user@host address line contains a blank character. A blank character ' 'is invalid inside a user@host address. This X-to line will not be considered for delivery for this mail message. |
| 40 - X-to header contains bad character | An X-to line was found with bad syntax. An X-to user@host address line contains periods in the wrong location. Examples of the error are user@.hosta user @[138.42.128.128] This X-to line will not be considered for delivery for this mail message. |
| 41 - X-to header enclosed incorrectly with < > | An X-to line was found with bad syntax. An X-to user@host address line does not contain match '<' '>'characters. This X-to line will not be considered for delivery for this mail message. |
| 42 - X-to header does not contain a local user | An X-to line was found with bad syntax. An X-to address consists only of @host. There is no user field. This X-to line will not be considered for delivery for this mail message. |
| 43 - X-to header has no valid syntax for a host | An X-to line was found with bad syntax. An X-header user@host address could end with a '%'. An X-header address does not contain an '@' for the user and host separator character. The x-header is of the format user@. There is no host. This X-to line will not be considered for delivery for this mail message. |
| 44 - X-to header contains bad syntax of @@ | An X-to line was found with bad syntax. An X-to user@@host address line contains successive separator characters. This X-to line will not be considered for delivery for this mail message. |
| 45 - Unknown failure, probably bad host or user | When the TCP/IP address space terminated or the USMTP task terminated without recovery, previous permanent errors associated with X-to sender addresses were not saved in the mail database. At restart of USMTP (job or task level) the mail database knows which X-to addresses have had their mail delivered, which X-to addresses need to be delivered and which X-to addresses are in error.
Whenever the mail send retry limit is reached or all users have been marked as in error or having received a mail message, a mail message will be sent back to the originator (if any mail messages ended in error). This message lists which X-to user's did not receive the mail message and gives an error message explaining the failure. The message "Unknown failure, probably bad host or user" indicates that the TCP/IP address space terminated or the USMTP task terminated and the permanent code was not saved. However, the T01LOG should contain an appropriate error message at the time the error occurred. |
| 50 - Mail transaction failed during send attempt | An outbound mail data set used the.f file inclusion feature. System security will not allow the TCP/IP address space to read the file. No delivery is attempted to any X-to user. |
| 51 - Embedded File Unknown | An outbound mail data set used the.f file inclusion feature. The file does not exist. No delivery is attempted to any X-to user. |
| 52 - Embedded File Recursion | An outbound mail data set used the.f file inclusion feature. The included file also used.f file inclusion feature. No delivery is attempted to any X-to user. |
| 53 - File Open fail! | An outbound mail data set used the.f file inclusion feature. The included file failed the open process. No delivery is attempted to any X-to user. |
| 54 - I/O Error reading disk include file!! | An outbound mail data set is using the .f file inclusion feature. the included file cannot be read to EOF due to an I/O error. No delivery is attempted to any X-to user. |
| 55 - I/O Error reading disk file!! | An outbound mail data set could not be read to EOF due to an I/O error. No delivery is attempted to any X-to user. |
| 60 - Truncated Spool File | An outbound mail data set could not be read to EOF. No delivery is attempted to any X-to user. |
| 61 - No user table!! | The SMTPUSR load module could not be loaded. This represents a logic error within USMTP. No delivery is attempted to any X-to user. |
| 62 - Internal format error No XFROM | The X-from mail header was not found in the mail file. This may represent a logic error within USMTP. No delivery is attempted to any X-to user. |
| 63 - Internal format error Bad XFROM | The X-from mail header was not found to contain bad syntax. This may represent a logic error within USMTP. No delivery is attempted to any X-to user. |
| 64 - Internal format error No XTO | The X-to mail header was not found in the mail file. |
| 65 - Internal format error Bad XTO | The X-to mail header was not found in the mail file. This represents a logic error within USMTP. |
| 66 - Internal format error Too many X-tos@ | More than 254 mail X-to headers were found in the mail file. No delivery is attempted to any X-to user. |
| 67 - Header Parsing Error | The mail header had a problem in the parsing logic. This represents a logic error within USMTP. No delivery is attempted to any X-to user. |
| 68 - File send retry limit exceeded | USMTP exceeded the retry limit for this piece of mail. The mail is returned to the originator with explanations for any users who may not have received the original message. |
| 69 - Unknown failure | A bad value has been saved in the DSE location field for this X-to host. The problem indicates either a USMTP logic error or a storage overlay issue. |
In order to use the SMTP facility, uncomment the three SERVICE statements mentioned earlier
SMTP CYCLE(3 10 1) DIVERT(X 9999999) LRECL(132) NOMX PATH(T01TCP.V2.EMAIL) ROUTE(X LOCAL) RETURN(Y LOCAL) UNIT(SYSALLDA) TRANTBL(ENGLISH)
These parameters are used by the mail spooler, client SMTP, and server SMTP.
The mail spooler retrieves mail deposited on the JES spool by a user mail agent and queues it for client SMTP on the Cisco IOS for S/390 mail spool. If a user mail agent has not been installed on the system, it is not necessary to continuously run the Cisco IOS for S/390 mail spooler. To prevent the mail spooler from being started, delete the SERVICE statement for SPOOL#4 in the APPCFGxx member.
Client SMTP only runs if there is a SERVICE statement for USMTP.
Server SMTP only runs if there is a SERVICE statement for SSMTP.
The SNDMSG program uses these configuration operands:
SPACE UNIT VOLUME PATH
This example shows the usage of the SMTP statement:
SMTP CYCLE(3 30 48) DIVERT(A 0) MX PATH(TCPICS.MAIL) REMOTE(5) RETURN(Y LOCAL) ROUTE(X LOCAL) SPACE(1 5) VOLUME(MVSTSO) OUTLIM(35000) LRECL(125) UNIT(3380)
SERVICE NAME(TELNET) MODULE(STELNET) PORT(23) IDLE(480) SERVICE NAME(VTAMAPPL) MODULE(VTAMAPPL) PORT(23) NOCPASSWORD SERVICE NAME(TELNET) MODULE(STELNET) PORT(1023) AUTO(TSO) IDLE(480) SERVICE NAME(FTP) MODULE(FTPS) PORT(21) IDLE(300) SERVICE NAME(LPR) MODULE(USPOOL) PORT(515) SERVICE NAME(LPR) MODULE(USPOOL) PORT(516) SERVICE NAME(UDPE) MODULE(UDPSERV) PORT(7) UDP SERVICE NAME(UDPC) MODULE(UDPSERV) PORT(9) UDP * SERVICE NAME(USMTP) MODULE(USMTP) PORT(25) * SERVICE NAME(SSMTP) MODULE(SSMTP) PORT(25) * SERVICE NAME(SPOOL#4) MODULE(SPOOL#4) PORT(25)
|
|