Troubleshooting
Problem
This document provides information needed for e-mail issues.
Resolving The Problem
This document provides information needed for e-mail issues.
Important Note: In order to debug e-mail issues, an SMTP trace is needed. When using SNDDST to send the mail, an MSF dump may also be needed. |
TRCTCPAPP is the command used to initialize the SMTP client and server traces which we need to debug SMTP.
Step 1. | End SMTP if started. ENDTCPSVR *SMTP. |
Step 2. | To start the SMTP Flight Recorders for Outbound Mail, on the operating system command line type the following: TRCTCPAPP APP(*SMTPCLT) TRCFULL(*STOPTRC) Press the Enter key. To start the SMTP Flight Recorders for Inbound Mail, on the operating system command line type the following: TRCTCPAPP APP(*SMTPSVR) TRCFULL(*STOPTRC) Press the Enter key. Start SMTP with the following commands: STRTCPSVR *SMTP |
Step 3. | Run the test scenario causing the issue. |
Step 4. | To stop the SMTP Flight Recorders for Outbound Mail, on the operating system command line type the following: TRCTCPAPP APP(*SMTPCLT) SET(*OFF) TITLE('Outbound E-mail') Press the Enter key. To stop the SMTP Flight Recorders for Inbound Mail, on the operating system command line type the following: TRCTCPAPP APP(*SMTPSVR) SET(*OFF) TITLE('In-Bound E-Mail') Press the Enter key. |
Step 5. | On the operating system command line, type the following: WRKSPLF Press the Enter key. One or more spooled files is generated that contain the needed traces. |
Step 1. | On the operating system command line, type the following: CALL QCMD Press the Enter key. Note: This starts the Command Line Screen. To exit the Command Line Screen, Press the F12 function key. On the operating system command line, type the following: ADDEXITPGM EXITPNT(QIBM_QZMFMSF_ACT) FORMAT(MSFF0100) PGMNBR(200) PGM(QSYS/QZMFDUMP) TEXT('MSF Snap-in') PGMDTA(*JOB 12 SPCL01009999) Press the Enter key. |
Step 2. | On the operating system command line, type the following: ENDMSF Press the Enter key. |
Step 3. | On the operating system command line, type the following: STRMSF *RESET Press the Enter key. |
Step 4. | Run the test scenario causing the issue. |
Step 5. | Remove the MSF Snap-in. |
Step 5a. | On the operating system command line, type the following: WRKREGINF QIBM_QZMFMSF* Press the Enter key. |
Step 5b. | Select: 8 QIBM_QZMFMSF_ACT Press the Enter key. |
Step 5c. | Select: 4 200 QZMFDUMP QSYS Press the Enter key. |
Step 5d. | On the operating system command line, type the following: ENDMSF Press the Enter key. |
Step 5e. | On the operating system command line, type the following: STRMSF *RESET Example: WRKSPLF SELECT(QMSF) Press the Enter key. Look for spooled file QPSRVDMP. |
[{"Type":"MASTER","Line of Business":{"code":"LOB57","label":"Power"},"Business Unit":{"code":"BU058","label":"IBM Infrastructure w\/TPS"},"Product":{"code":"SWG60","label":"IBM i"},"Platform":[{"code":"PF012","label":"IBM i"}],"Version":"7.1.0"}]
Historical Number
542565415
Was this topic helpful?
Document Information
Modified date:
18 December 2019
UID
nas8N1012636