Hi all,
I started a SMTP server on our maniframe on z/os.our mainframe is not
connected to internet but I'm trying to send mail just to our primary
company smtp server via the statements:
IPMAILERADDRESS
or:
IPMAILERNAME & RESOLVERUSAGE yes
on SMTP configuration file .
for these statements I specified the address of our company mail server to
deliver mail directly there and let it deliver them to the users.
I can do telnet to that mail server on port 25 and after doing telent ,it gives
me the name of that smtp server and after enter "EHLO" command , it gives
me response and say hello.
Here is the setting I have for the SMTP started task:
==========================================================
=========
IBM MVS SMTP CS V1R6 on Sun, 09 Sep 07 15:22:35 EST
-1< EXITPARMS VER 2 ACTN 1 USER TOKEN 0 IPADDR 0 DLEN 0 SAFTOKEN
ADDR
-1> USER EXIT RETCODE 25816
09/09/07 15:25:06 Processing spool file TSU03422
09/09/07 15:25:06 Read spool file TSU03422 sent by SYSSP1 at NODE1 using
257> 220 TST1.CO.BK running IBM MVS SMTP CS V1R6 on Sun, 09 Sep 07
257< helo TST1.CO.BK
257< EXITPARMS VER 2 ACTN 5 USER TOKEN 25816 IPADDR 0 DLEN 19
SAFTOKEN
257> USER EXIT RETCODE 0
257> 250 TST1.CO.BK is my domain name. Yours too, I see!
257< mail from:[EMAIL PROTECTED]
257< EXITPARMS VER 2 ACTN 7 USER TOKEN 25816 IPADDR 0 DLEN 34
SAFTOKEN
257> USER EXIT RETCODE 0
257> 250 OK
257< rcpt to:<[EMAIL PROTECTED]>
257< EXITPARMS VER 2 ACTN 11 USER TOKEN 25816 IPADDR 0 DLEN 33
SAFTOKEN
257> USER EXIT RETCODE 0
257> 250 OK
257< data
257< EXITPARMS VER 2 ACTN 3 USER TOKEN 25816 IPADDR 0 DLEN 4
SAFTOKEN
257> USER EXIT RETCODE 4
257> 354 Enter mail body. End by new line with just a '.'
257> 250 Mail Delivered
257< EXITPARMS VER 2 ACTN 18 USER TOKEN 25816 IPADDR 0 DLEN 0
SAFTOKEN
257> USER EXIT RETCODE 0
1> Connecting to IP: 0.1.48.225
1< Fragment: 220 IN1.SERV.COM Microsoft ESMTP MAIL Service
==========================================================
==============
==========================================================
===============
Resolver Usage YES Specified
==========================================================
==========
IBM MVS SMTP CS V1R6 on Sun, 09 Sep 07 15:22:35 EST
Jobname of SMTP Server : SMTP
TCP Network Domain Name : TST1.CO.BK
Gateway TCP Network to NJE : Yes
NJE Network Node Name : NODENAME
NJE Domain Name : NODE1
Local Delivery Format : Netdata
Local Output Class : B
NJE Delivery Format : Netdata
NJE Output Class : B
09/09/07 15:22:35 Processing Path String: <[EMAIL PROTECTED]> and length = 9
PostMaster Address : <[EMAIL PROTECTED]>
Userid for Bad Spool Files : SYSSP1
Listen on Address : (our ip address of the system , s.th like
10.0.....)
Port for Server SMTP : 25
Inactivity Timeout : 900 seconds
Finish Open Timeout : 120 seconds
Retry down sites every : 20 minutes
Return mail older than : 1 days
Warn about mail older than : 1 days
Max Length of Accepted Mail : 2000000000 bytes
Max Temporary Error Retries : Disabled
Resolver Tracing : Enabled
Name Resolution Method : Nameserver, Port 53
Nameserver Address(.1.) : (an IP which starts with 172.16.......)
of
our Company DNS on interanet
Nameserver Address(.2.) : (another IP which starts with
172.16.......)
Nameserver Response Timeout : 30 seconds
Resolver Retry Interval : 20 minutes
UDP Retries/Nameserver/Interval: 1
RCPT TO: response delay : 60 seconds
Translate Table : TCPIP.STANDARD.TCPXLBIN
DBCS Conversion : Disabled
Mail Logging : Yes
Debugging Enabled : Yes
Outbound Open Session Limit : None
SMSG Authorization List : Processed
Deliver via Mailer : None
IP Mailer Name : IN1.SERV.COM ALL
Mail File Dataset Prefix : SMTP.
Mail File Unit Name : SYSDA
Spool Poll Interval : 30 Seconds
No Source Routing : Enabled
RcptReply452 Active : Yes
SMTP ExitDirection : Both SAFYES
DeleteBadSpoolFile : No
Local Time Zone : EST
Rewrite 822 Mail Headers : Enabled. Using default rules
FIELD ALIASES:
DefaultFields = 'Bcc' 'Cc' 'From' 'Reply-To' 'Resent-From' 'Resent-Re
'Resent-Sender' 'Return-Path' 'Sender' 'To'
REWRITE RULES:
Rule 1: (DefaultFields)
A "@" NJEHostName =>
A "@" TCPHostName
Rule 2: (DefaultFields)
A "@" NJEHostName "." NJEDomain =>
A "@" TCPHostName
Rule 3: (DefaultFields)
A "@" AnyNJEHostName =>
A "%" AnyNJEHostName "." NJEDomain "@" TCPHostName
Rule 4: (DefaultFields)
A "@" AnyNJEHostName "." NJEDomain =>
A "%" AnyNJEHostName "." NJEDomain "@" TCPHostName
Rule 5: (DefaultFields)
A "@" TCPHostName =>
A "@" TCPHostName
Rule 6: (DefaultFields)
A "@" ShortTCPHostName =>
A "@" TCPHostName
EZA5393I Rule 7: (DefaultFields)
EZA5408I A "@" AnyDomainName =>
EZA5410I A "@" AnyDomainName
EZA5411I
EZA5393I Rule 8: (DefaultFields)
EZA5408I A "@" B =>
EZA5410I A "@" B "." TCPHostNameDomain
EZA5411I
EZA5549I A USER EXIT HAS BEEN ACTIVATED FOR THIS INVOCATION OF
SMTP
EZA5547I 09/09/07 15:25:06 Processing Path String: <[EMAIL PROTECTED]>
and
EZA5547I 09/09/07 15:25:06 Processing Path String: <[EMAIL PROTECTED]>
and
EZA5503I 09/09/07 15:25:06 Processing Sender Address:
[EMAIL PROTECTED]
EZA5547I 09/09/07 15:25:06 Processing Path String: <[EMAIL PROTECTED]>
and
EZA5547I 09/09/07 15:25:06 Processing Path String: <[EMAIL PROTECTED]>
and
EZA5504I 09/09/07 15:25:06 Sender Converted to:
<[EMAIL PROTECTED]>
EZA5547I 09/09/07 15:25:06 Processing Path String: <[EMAIL PROTECTED]> an
EZA5506I 09/09/07 15:25:06 Resolving Recipient Address: [EMAIL PROTECTED]
In ProcessRSCS IP mailer = IN1.SERV.COM
* * * * * Beginning of Message * * * * *
Query Id: 1
Flags: 0000 0001 0000 0000
Number of Question RRs: 1
Question 1: A (9486) IN (9507)
Number of Answer RRs: 0
Number of Authority RRs: 0
Number of Additional RRs: 0
* * * * * End of Message * * * * *
09/09/07 15:25:06# 1 UDP Query Sent, Try: 1 to NS(.1.) := 172.16.xx.xx(the
first nameserver ip)
09/09/07 15:25:06# 1 Adding Request to Wait Queue
09/09/07 15:25:06# 1 Setting Wait Timer: 30 seconds
09/09/07 15:25:06 UDP packet arrived from: 172.16.xx.xx 56/56 bytes.
* * * * * Beginning of Message * * * * *
Query Id: 1
Flags: 1000 0101 1000 0000
Number of Question RRs: 1
Question 1: IN1.SERV.COM A (9486) IN (9507)
Number of Answer RRs: 1
Answer 1: IN1.SERV.COM 1200 A (9486) IN (9507) 172.16.XX.XX(the IP of
our local interanet smtp server)
Number of Authority RRs: 0
Number of Additional RRs: 0
* * * * * End of Message * * * * *
09/09/07 15:25:06 Processing Path String: <[EMAIL PROTECTED]> and length =
25
09/09/07 15:25:06 Enqueuing file 00000001 recipient 1 on 172.16.XX.XX
09/09/07 15:35:32 Enqueuing file 00000001 recipient 1 on 172.16.XX.XX
09/09/07 15:35:32 SitePtr = 1777760 File_Queue 00000001 NextQueued =
0
09/09/07 15:35:32 NextSite = 1777760 File_Queue 00000001 NextQueued =
0
09/09/07 15:35:32 Retry_Queue = 1777760 File_Queue 00000001 NextQueued
= 0 where
09/09/07 15:35:32 Retry_QTail = 1777760 File_Queue 00000001 NextQueued
= 0
as it's clear when I try to send mail to our intranet after it resolves the
address and find the MX record in the DNS on our interanet of the target
domain address, just it sits till its timeout reaches.
I do'nt know what the problem is, because I can do telnet as I told .
I would be so grateful If everybody can help me to find what the problem is.
Thanks & Regards
S - P
----------------------------------------------------------------------
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