You can use CSSMTP to process and forward your mail. These
steps provide the minimum information that you need to configure and
start CSSMTP.
Procedure
Perform the following steps to configure and start CSSMTP:
- Create a new data set member in your procedure library
for the CSSMTP JCL.
A sample job is in SEZAINST(CSSMTP).
Because the CSSMTP JCL sample contains a JOB card, you should define
the procedure library that you use in the IEFJOBS or IEFPDSI concatenation
of the master JCL, or put the new data set member in a subsystem procedure
library such as SYS1.PROCLIB.
- Define explicit authority for all user IDs that you want
to be able to start CSSMTP.
- Customize the CSSMTP configuration file and set up at least
one valid target server IP address using the TargetServer statement.
- Set up the resolver search order.
Use the default
search order unless there are special circumstances that require you
to use unique parameters. For example, if the resolver has parameters
that are used only when the resolver is called by CSSMTP, you need
to define those unique parameters. Define the unique parameters in
a data set that is specified on the SYSTCPD DD statement in the CSSMTP
procedure JCL. For more information about resolvers and resolver configuration
files, see
The resolver.
- Optionally, set up additional security for CSSMTP.
- Optionally, allocate and define a Virtual Storage Access
Method (VSAM) linear data set for the checkpoint function.
A sample job is in SEZAINST(CSSMTPVL).
- Set up the timezone using the TZ environment variable.
If you do not set up the timezone, the timezone is not
shown in the Received header line, which is used
to indicate that CSSMTP has picked up a mail message. The default
time value is used if the DATE header is not specified in the mail
message.
- Start CSSMTP by issuing the following command, where csproc is the CSSMTP procedure member name:
Results
You know you are done when initialization is complete and
you have successfully connected to the specified target server for
processing mail, as indicated by the following messages: EZD1802I csproc INITIALIZATION COMPLETE FOR extWrtName
EZD1821I csproc ABLE TO USE TARGET SERVER ipAddress