Step 11: Set up automation to monitor how much mail is queued

You can use automation to monitor how much mail is queued in SMTP. To retrieve the number of mail messages currently queued for SMTP, your automation tool can issue the command MODIFY smtpprocname,SMSG,NUMQUEUE. You can set up automation to generate an alert for SMTP if the number of mail messages queued is larger than what you would expect for your system. You can also set up automation to issue the command MODIFY smtpprocname,SMSG,QUEUE to display a list of mail queued on the various SMTP mail processing queues. For more information about the MODIFY SMSG command, see z/OS Communications Server: IP System Administrator's Commands.