IBM Support

When using CSSMTP to process emails put on the JES spool, how do we stop SMTP from looking at the JES spool?

Troubleshooting


Problem

We are moving from SMTP to CSSMTP for emails put on the JES spool. My question is: we still need SMTP running to process IP mail generated on the IBM mainframes, but how do we stop SMTP from pulling any email from the JES spool? Currently there are numerous jobs that generate outgoing emails using IP and it would not be feasible to convert all to JES. So we would like to have both tasks up, but want to make sure SMTP does not process the emails from the spool. We tried removing the GATEWAY statement. IP emails worked, but SMTP continued to try to pull mail off the spool and we received EZA5467E and EZA5468E messages.

Diagnosing The Problem

All existing applications are spooling mail to the external writer name SMTP. Also, CSSMTP is configured with ExtWrtName SMTP. Hence, both tasks are trying to grab files off spool with SMTP as the external writer name.

Resolving The Problem

You have two ways you should be able to use to get SMTP to stop getting files destined for external writer name SMTP.

  • Rename the SMTP started task to something other than SMTP. The SMTP server only looks for spool files with the external writer name that matches its job name.
  • If you do not want to change the job name of SMTP, you could instead change the ExtWrtName to something else in CSSMTP. However, you would then have to update all applications to spool to this new external writer name.

[{"Product":{"code":"SSSN3L","label":"z\/OS Communications Server"},"Business Unit":{"code":"BU054","label":"Systems w\/TPS"},"Component":"--","Platform":[{"code":"PF035","label":"z\/OS"}],"Version":"1.11;1.12;1.13;2.1;2.2","Edition":"","Line of Business":{"code":"LOB35","label":"Mainframe SW"}}]

Document Information

Modified date:
15 June 2018

UID

swg21573557