Mark,
As far as I know, there are no SMSG SMTP ... - commands to delete an email
from the queue.
Depending on your SMTP configuration settings of RETRYAGE, you can specify
how many days email will stay in queue until rejected as undeliverable. (The
default is 3 days.) And RETRYINT specifies how often to retry sending queued
mail ... every xxx minutes.
See
http://publibz.boulder.ibm.com/cgi-bin/bookmgr_OS390/BOOKS/F1A1B481/CONTENTS
?SHELF=&DT=20090202162722#32.46

If all else fails (really, do this only if it's turned into a three-alarm
fire *): 
- Identify the message numbers of the emails you need to delete.
- Stop SMTP
- delete the offending SMTP.msgnumber.* files
- Start SMTP

*) Cycle SMTP only, if the number of valid emails queued waiting to be sent
to valid destinations and already stored on disk is small. Don't do this if
you have a large number of emails (> 100 or so) ... it may take a long time
for SMTP to re-read and reprocess the ADDRBOOK files for each stored email
during SMTP task startup. Problems will arise, if this process takes longer
to complete than TCP/IP's AUTOLOG interval ... 

And if somebody else has a better idea, please speak up!

Regards,
Ulrich Krueger

-----Original Message-----
From: IBM Mainframe Discussion List [mailto:[email protected]] On Behalf
Of Mark Pace
Sent: Tuesday, December 01, 2009 10:06
To: [email protected]
Subject: SMTP delete queue entries

I can't find an SMTP command to stop trying to send email in queue.  All the
commands I find are query type commands, plus stop and start the server, but
nothing on handling email already in queue.

-- 
Mark Pace
Mainline Information Systems
1700 Summit Lake Drive
Tallahassee, FL. 32317

----------------------------------------------------------------------
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to [email protected] with the message: GET IBM-MAIN INFO
Search the archives at http://bama.ua.edu/archives/ibm-main.html

----------------------------------------------------------------------
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to [email protected] with the message: GET IBM-MAIN INFO
Search the archives at http://bama.ua.edu/archives/ibm-main.html

Reply via email to