ibmi-brunch-learn

Announcement

Collapse
No announcement yet.

EMAIL out of control

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • EMAIL out of control

    Last week we had an RPG program that sends an email go full blown out of control. We're guessing it send somewhere in the neighborhood of 700K emails. Our mail service is via MS Office 365 and they shut us down after 10K emails in a day.

    We've tried many things over the past few days to get the SMTP cleared of all these emails and nothing is working. A few minutes after we start SMTP it's going crazy trying to send emails.

    Does anyone know how we can clear the list of emails to be sent? The last thing we tried was to STRMSF MSGOPT(*CLEAR) and it completed after quite a while but didn't fix the problem.

    Below are some of the journals being output.

    Thanks to anyone can give us a hand.

    Gary



    ENTRY SEQUENCE CODE TYPE DATE TIME JOB USER JOB PROGRAM OBJECT LIBRARY MEMBER
    LENGTH NUMBER NAME NAME NUMBER NAME NAME NAME NAME
    226 4,028,242 S LG 111919 162,221 QMSF QMSF 260,567 QZMFBIGE
    209 4,028,243 S LG 111919 162,221 QMSF QMSF 260,569 QZMFBIGE

    SPECIFIC
    DATA
    QMSF QMSF 260567QZMFSLOGPID 78057CX1911191622210000030369 *P2 R SMTP MsgFwd AIOVINO@VAI.NET
    QMSF QMSF 260569QZMFBIGE2ID 78057CX1911191622200000030368 000010000100000
    QMSF QMSF 260567QZMFBIGE2ID 78057CX1911191622210000030369 000010000100000
    QTSMTPBRSRQTCP 260600QZMFACRT1ID 78057CX1911191622210000030370
    QMSF QMSF 260568QZMFSLOGPID 78057CX1911191622210000030370 *P2 R SMTP MsgFwd AIOVINO@VAI.NET
    QMSF QMSF 260568QZMFBIGE2ID 78057CX1911191622210000030370 000010000100000
    QPADEV001SQSECOFR 259555QZMFESTR1
    RF28 RFTEM3 259519QZMFACRT1ID 78057CX1911191627040000030371
    QMSF QMSF 260569QZMFSLOGPID 78057CX1911191627040000030371 *P2 R SMTP MsgFwd SHIPPING@LEPCO.COM
    QMSF QMSF 260569QZMFBIGE2ID 78057CX1911191627040000030371 *QTMSFWD QTCP
    QPADEV001SQSECOFR 259555QZMFEEND5

  • #2
    In the CHGSMTPA command, there's an option to "Clear e-mail on startup-up". which is normally *NO. You could try changing that to *YES to see if it clears everything.

    Comment


    • #3
      THANK YOU John, that fixed us up. Can't believe we did not know that! We had cold stated MSF but that wasn't the answer.

      Comment

      Working...
      X