Larry Burch wrote:
Can the SMTP task be cycled manually, with  "P SMTP" and "S SMTP" commands
from the console (i.e., without cycling the TCPIP task)?

I want to be sure to get the TIMEZONE updated next month when Daylight
Saving Time starts in the USA.  I presume cycling SMTP is necessary and
appropriate, but can't find any specific info.

We're at OS390.210; we don't have a Test system.


For our website on our mainframe, I have a small
CGI that responds to requests to send emails from
the mainframe; it submits a job that has as its first line:

/*$VS, 'S SMTP'

the job has only a single, IEFBR14 job; but the above
command is issued and it starts up SMTP.

The CGI then issues a sleep request to give SMTP time to initialize

Then it submits a job that uses IEBGENER to pass a mail file to
the SMTP reader

Then it sleeps again

Then it submits a job that has this as its first line:

/*$VS, 'P SMTP'

this stops SMTP.

In this way, we can have a low level of email activity
but don't hang around long enough to get used as a relay
in the SMTP networks.

Hope this helps. Or is at least interesting.

Kind regards,

-Steve Comstock

----------------------------------------------------------------------
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