Checking component journals

You can check journals that record errors to determine how to solve a particular e-mail problem.

Your operating system uses various queues, programs, and journaling documents so you can tell why your e-mail server is not delivering your mail. The journaling function can be helpful in offering insight as to what might be going wrong with your e-mail system. Journaling uses processing unit cycles, so the machine performs best when journaling is off.

For directory types *SMTP and *SMTPMSF to find the activity journal of an individual email use WRKSMTPEMM. The following is for directory type *SDD in all cases and *SMTPMSF once the email is inserted into *MSF.

The journaling function documents the following items:

  • Transitions -- programs to queues, queues to program.
  • Events -- Arrival of mail through the server, delivery of mail through the client, storage of mail on retry queues or resource busy queues.
  • Tracking and some measurement data -- 822 message ID, MSF message ID, size of message, originator, recipients.

Journal records are stored in journal receivers. These receivers are user managed. When the journal becomes full, issue the Change Journal (CHGJRN) command to change to a new journal receiver. The new SMTP Journaling function uses the QZMF journal.

To turn on journaling and view the journal contents, follow these steps:

  1. In IBM® Navigator for i, expand Network > Servers > TCP/IP Servers.
  2. Right-click SMTP and click Properties .
  3. Click the General tab.
  4. Select the Enable journal entries check box.
  5. Open an emulation session.
  6. To convert the SMTP journal entries to a viewable form, in the character-based interface, type: DSPJRN JRN(QZMF) OUTPUT(*OUTFILE) OUTFILE(jrnlib/zmfstuff) OUTMBR(MAR2) ENTDTALEN(512), where jrnlib is the name of the library, and zmfstuff is the name of the physical file.
  7. To view the SMTP journal entries, type DSPPFM FILE(jrnlib/zmfstuff) MBR(MAR2)on the command line.
  8. Press F20 (Shift + F8) to see the journal-specific information.