Portal | Manuals | References | Downloads | Info | Programs | JCLs | Mainframe wiki | Quick Ref
IBM Mainframe Computers Forums Index
 
Register
 
IBM Mainframe Computers Forums Index Mainframe: Search IBM Mainframe Forum: FAQ Memberlist Profile Log in to check your private messages Log in
 
SMTP Crashing Issues

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> All Other Mainframe Topics
View previous topic :: :: View next topic  
Author Message
Yolanda Harvey

New User


Joined: 11 Aug 2016
Posts: 11
Location: United States

PostPosted: Fri Jul 20, 2018 12:53 am    Post subject: SMTP Crashing Issues
Reply with quote

There is an issue with our mainframe SMTP. Daily we send out a message to certain users on our email system (Outlook). Back in June, there was a problem with the daily email, because one of the ids on the email was no longer valid, the email id was removed, but last week, somewhere in the pipeline between SMTP and Email, those old messages started being looped back to the SMTP ID I set up for BADSPOOLFILEID, and in the process flooding the application. Those old emails are looping back to SMTP over and over, which is causing it to crash and restart.

I removed SMTP from the autolog, so it no longer restarts, but have had no luck in figuring out why the messages are being looped back to SMTP. I have the email team looking at the messages, but am wondering if there is anything I can do from a mainframe perspective. We have IPLed the system, but that did not clear up the situation. I've tried getting answers from IBM, but unfortunately our zOS is out of support, so getting their help is basically not happening. Does anyone have any ideas that could point me in the right direction?
Back to top
View user's profile Send private message

Robert Sample

Global Moderator


Joined: 06 Jun 2008
Posts: 8410
Location: Dubuque, Iowa, USA

PostPosted: Fri Jul 20, 2018 1:17 am    Post subject:
Reply with quote

I would look in the SMTP configuration parameters (usually in TCPPARMS) at MAILFILEDSPREFIX and see if there are any data sets starting with that prefix. If so, and there is an ADDRESS and a NOTE data set (for each email there should be one of each), that could cause your problem. Delete the ADDRESS and NOTE data sets that exist and restart SMTP. These data sets are (usually) temporary and exist as a way for SMTP to keep track of undelivered messages; they generally go away as soon as the email is sent to the mail server.
Back to top
View user's profile Send private message
Yolanda Harvey

New User


Joined: 11 Aug 2016
Posts: 11
Location: United States

PostPosted: Fri Jul 20, 2018 1:46 am    Post subject:
Reply with quote

I think I did just fix it, and what you suggested is what I tried right before I saw your reply. I deleted all the ADDRBLOK and NOTE datasets (there were literally thousands) and it seems to be running okay now.

Thanks for the quick reply.
Back to top
View user's profile Send private message
Robert Sample

Global Moderator


Joined: 06 Jun 2008
Posts: 8410
Location: Dubuque, Iowa, USA

PostPosted: Fri Jul 20, 2018 2:42 am    Post subject:
Reply with quote

If the ADDRBLOK and NOTE datasets are hanging around, my experience is that usually a bad email has plugged the SMTP connection (yeah, that's not exactly what happens but it's understandable). Another thing to check is the SMTP log in the SMTP started task; the log is a good thing to have available since it gives information about each email.
Back to top
View user's profile Send private message
Robert Sample

Global Moderator


Joined: 06 Jun 2008
Posts: 8410
Location: Dubuque, Iowa, USA

PostPosted: Fri Jul 20, 2018 3:11 am    Post subject: Reply to: SMTP Crashing Issues
Reply with quote

Update: I found https://www.ibm.com/support/knowledgecenter/en/SSLTBW_2.2.0/com.ibm.zos.v2r2.hald001/addrbk.htm which says
Quote:
An ADDRBLOK data set is the master control file for SMTP and is used for tracking the status of a mail item during mail delivery. One ADDRBLOK data set is allocated for each piece of mail and is built when the mail is received. The data set is allocated with a high-level qualifier of MAILFILEDSPREFIX from the SMTP.CONFIG data set. The data set is updated during mail processing and is deleted when the number of recipients equals zero.
So if you have a situation where the number of recipients never equals zero, this data set will not be deleted.
Back to top
View user's profile Send private message
Yolanda Harvey

New User


Joined: 11 Aug 2016
Posts: 11
Location: United States

PostPosted: Thu Aug 23, 2018 3:31 am    Post subject: Reply to: SMTP Crashing Issues
Reply with quote

As I stated last month I deleted the ADDRBLOK and NOTE datasets which cleared up the crashing issues of SMTP, but what has happened since is that after a couple of weeks those datasets build up again, which causes SMTP to get really large in size, which would lead to it crashing if I were not monitoring it daily. The SMTP system is set up to send out a report daily, but if one of the people on the email chain has auto-reply enabled in Outlook, then that auto-reply kicks back and then gets caught in a continuous loop in which an autoreply response is sent back to SMTP over and over.

My question is this, is there a parameter that would disable SMTP from being able to receive auto-reply responses? Thanks.
Back to top
View user's profile Send private message
View previous topic :: :: View next topic  
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> All Other Mainframe Topics All times are GMT + 6 Hours
Page 1 of 1

 

Search our Forum:

Similar Topics
Topic Author Forum Replies Posted
No new posts IBM website search issues starting 06... harisukumaran General Talk & Fun Stuff 3 Thu Jun 14, 2018 7:48 pm
No new posts Unable to send mail with SMTP commands harsh.saxena579 JCL & VSAM 10 Tue Dec 12, 2017 1:58 pm
No new posts Rexx to send an email without SMTP Se... upendrasri All Other Mainframe Topics 12 Sun Nov 19, 2017 7:59 pm
No new posts Format issues using XMITIP MSGDD ssdjp1 CLIST & REXX 5 Mon Oct 23, 2017 8:47 pm
No new posts Create procedure issues -628 when add... chandraBE DB2 1 Mon Sep 18, 2017 12:16 pm

Facebook
Back to Top
 
Job Vacancies | Forum Rules | Bookmarks | Subscriptions | FAQ | Polls | Contact Us