You use the SYSDAT.MAIL.nnn.READER configuration file to control the behavior of the mail reader. The configuration file is read when the mail reader starts up.
Structure of the configuration file
You use the configuration to define:
The behavior of the e-mail reader in relation to POP3 or IMAP servers
Event logging
Processing of e-mail in BS2000
Accordingly, the configuration file is subdivided into the following parameter sections:
SERVER
TRACE
MAILHANDLING
The sections that follow (starting on "Mail processing: MAILHANDLING parameter section") explain the syntax of these parameter sections with examples.
Lines in the configuration file that begin with # are treated as comments and ignored.
Changing the configuration of the mail reader using the configuration file
Changes to the SYSDAT.MAIL.nnn.READER configuration file do not affect the configuration of the mail reader until it is restarted.
If you want to change the configuration of the mail reader during operation, you can read the configuration file in again as follows:
If the mail reader is executed as a batch task:
>
Enter the following command:
/INFORM-PROGRAM 'RECONFIG',*TSN <TSN of the batch task>
If the mail reader is executed as a dialog task (for test purposes, for example):
>
Interrupt the execution of the mail reader by pressing the K2 key.
>
Enter the following command:
/INFORM-PROGRAM MSG='RECONFIG',JOB-IDENTIFICATION=*OWN
>
Enter the following command to resume execution of the mail reader:
/RESUME-PROG