CSSMTP configuration statements

Table 1 lists CSSMTP configuration file statements.

Table 1. CSSMTP configuration statements
Configuration file statement Default Required or optional Update allowed by modify refresh Purpose
BadSpoolDisp Hold Optional Yes Specifies the action to be taken when errors are encountered while the JES spool file is being processed.
ChkPointSizeLimit 64000 Optional No Specifies the number of concurrent mail messages for which checkpoint information is saved.
ExtendedRetry
  • Age 5
  • Interval 30
  • MailDirectory /var/cssmtp/extwrtname/mail/
Optional Yes (except MailDirectory) Specifies the limits that CSSMTP uses when it attempts to resend mail messages that are not immediately deliverable after RetryLimit processing.
ExtWrtName task job name Optional No Specifies the external writer name that is used by CSSMTP for selection criteria when interfacing with the JES2 or JES3 subsystems.
Header
  • Date Yes
  • UserInfo Yes
Optional Yes Specifies the action to be taken when creating RFC 2822 mail headers.
JESJobSize 0 (unlimited) Optional Yes Specifies the maximum data set size that is accepted from the JES spool file in thousands of bytes.
JESMsgSize 0 (unlimited) Optional Yes Specifies the maximum mail message size that is accepted from a JES spool file, in thousands of bytes.
JESSyntaxErrLimit 5 Optional Yes Specifies the maximum number of syntax errors that are acceptable in a JES spool file before the rest of the JES spool file processing is stopped.
LogLevel 7 Optional Yes Specifies the level of logging and tracing.
MailAdministrator No e-mail address is configured to send a report. Optional Yes Specifies an e-mail address to which CSSMTP delivers reports for certain errors. This statement can be specified up to four times in a configuration file to deliver reports to multiple administrators.
MBCS No Optional No Specifies whether or not CSSMTP supports multi-byte character sets.
Options
  • AtSign @
  • DataLineTrunc No
  • NullTrnc No
  • TestMode No
  • TLSEhlo No
Optional Yes (except TestMode) CSSMTP options
Report Sysout Optional Yes Specifies the action to be taken when problems are reported with JES spool files.
RetryLimit Interval 1

Count 5
Optional Yes Specifies the limits that CSSMTP uses when attempting to re-send mail messages that are not immediately deliverable.
SMF119 No SMF recording Optional Yes Specifies the records to be written to SMF.
TargetServer
  • Charset ISO8859-1
  • ConnectPort 25
  • ConnectLimit 5
  • MaxMsgSent 0
  • MBCharset (no default)
  • MessageSize 524288
  • Secure No
You must provide a value for TargetIP, TargetName, or TargetMx.
Required Yes Specify one or multiple TargetServer statements to define target servers (resolved or configured IP addresses) and their connection attributes to which CSSMTP connects for sending mail.
Timeout
  • AnyCmd 300
  • ConnectRetry 120
  • DataBlock 180
  • DATACmd 120
  • DataTerm 600
  • InitialMsg 300
  • MAILCmd 300
  • RCPTCmd 300
  • ConnectIdle 0
Optional Yes Specifies the timeout values, in seconds, for the interaction between CSSMTP and a target server.
Translate IBM®-1047 Optional No Specifies the translation code page of the records read from the JES spool data set.
Undeliverable ReturnToMailFrom Yes

DeadLetterAction Store

DeadLetterDirectory /var/cssmtp/extwrtname/deadletter/

Optional Yes Specifies the method to use for handling undeliverable mail.
UserExit None Optional Yes Controls whether this CSSMTP calls CSSMTP exit program provided by the customer to examine data being sent to CSSMTP from the JES spool data set.