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 Error 1< 500 5.3.3 Unrecognized command

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> TSO/ISPF
View previous topic :: :: View next topic  
Author Message
arunkumarvks

New User


Joined: 16 Jun 2008
Posts: 30
Location: Chennai

PostPosted: Fri Dec 26, 2008 3:48 pm    Post subject: SMTP Error 1< 500 5.3.3 Unrecognized command
Reply with quote

Hi i have configured the SMTP to send a mail from mainframe to web mail. we have two LPAR and one LPAR its working fine. In another LPAR when trying to send a mail it's showing the error like,

1< 500 5.3.3 Unrecognized command

can any one help me to resolve this problem.
Back to top
View user's profile Send private message

PeD

Active User


Joined: 26 Nov 2005
Posts: 456
Location: Belgium

PostPosted: Fri Dec 26, 2008 4:16 pm    Post subject:
Reply with quote

Please show the set of commands ( hiding confidential data ).
Back to top
View user's profile Send private message
arunkumarvks

New User


Joined: 16 Jun 2008
Posts: 30
Location: Chennai

PostPosted: Fri Dec 26, 2008 4:22 pm    Post subject:
Reply with quote

IBM MVS SMTP CS V1R7 on Fri, 26 Dec 08 15:43:46 EST
-1< EXITPARMS VER 1 ACTN 1 USER TOKEN 0 IPADDR 0 DLEN 0 SAFTOKEN ADDR

-1> USER EXIT RETCODE 4
1> Connecting to IP: X.X.XX.XXX
1< 220 XXX-XXX-SMTP01.SMTPGATEWAY.XXX.COM Fri, 26 Dec 2008
1> HELO NODE1
1< 500 5.3.3 Unrecognized command
1> QUIT
Back to top
View user's profile Send private message
Robert Sample

Global Moderator


Joined: 06 Jun 2008
Posts: 8165
Location: East Dubuque, Illinois, USA

PostPosted: Fri Dec 26, 2008 5:57 pm    Post subject:
Reply with quote

Could your command stream have line numbers in columns 73 through 80?
If it isn't recognizing the HELO command, there's something really basic wrong!
Back to top
View user's profile Send private message
arunkumarvks

New User


Joined: 16 Jun 2008
Posts: 30
Location: Chennai

PostPosted: Wed Dec 31, 2008 11:28 am    Post subject: Reply to: SMTP Error
Reply with quote

Hi Robert, yes my command stream has line numbers in columns 73 through 80. it's correct only. do you know any other probable case of error?
Back to top
View user's profile Send private message
Robert Sample

Global Moderator


Joined: 06 Jun 2008
Posts: 8165
Location: East Dubuque, Illinois, USA

PostPosted: Wed Dec 31, 2008 5:15 pm    Post subject:
Reply with quote

Take the line numbers out -- SMTP commands do not recognize z/OS line number conventions and the line number is being appended to the end of the command. This causes the commands to be not recognized.
Back to top
View user's profile Send private message
arunkumarvks

New User


Joined: 16 Jun 2008
Posts: 30
Location: Chennai

PostPosted: Tue Jan 06, 2009 2:32 pm    Post subject: Reply to: SMTP Error
Reply with quote

Hi Robert,
i removed the line number from the line 72 to 80 and tried the same. But still i am getting the same error like,

1> Connecting to IP: X.X.XX.XXX
1< 220 XXX-XXXX-SMTP01.XXX.CORP.XXX.COM DOMAIN Tue, 6 Jan 2009 1> HELO NODENAME
1< 500 5.3.3 Unrecognized command
1> QUIT
1< 500 5.3.3 Unrecognized command
Back to top
View user's profile Send private message
Robert Sample

Global Moderator


Joined: 06 Jun 2008
Posts: 8165
Location: East Dubuque, Illinois, USA

PostPosted: Tue Jan 06, 2009 4:56 pm    Post subject:
Reply with quote

What's the JCL look like that you're using to send to SMTP?
Back to top
View user's profile Send private message
Robert Sample

Global Moderator


Joined: 06 Jun 2008
Posts: 8165
Location: East Dubuque, Illinois, USA

PostPosted: Tue Jan 06, 2009 5:13 pm    Post subject:
Reply with quote

Oh, and how did you remove the line numbers? Did you just say NUM OFF in ISPF EDIT -- which does not remove the line numbers from the columns? Or did you actually use the correct change command to remove them (C P'^' '' 73 80 ALL)?
Back to top
View user's profile Send private message
arunkumarvks

New User


Joined: 16 Jun 2008
Posts: 30
Location: Chennai

PostPosted: Tue Jan 06, 2009 6:19 pm    Post subject:
Reply with quote

Hi i removed the line number by using UNNUM command in ISPF EDIT. My JCL is,

//IEBGENER EXEC PGM=IEBGENER
//SYSIN DD DUMMY
//SYSUT1 DD *
helo NODENAME
mail from:<userid@nodename>
rcpt to:<userid@host.com>
data
from: userid@nodename
to: userid@host.com
subject: Test Mail
Hi this is test mail..
.
quit
//SYSUT2 DD SYSOUT=(B,SMTP
//SYSOUT DD SYSOUT=A
//SYSPRINT DD SYSOUT=A
Back to top
View user's profile Send private message
Robert Sample

Global Moderator


Joined: 06 Jun 2008
Posts: 8165
Location: East Dubuque, Illinois, USA

PostPosted: Tue Jan 06, 2009 7:00 pm    Post subject:
Reply with quote

The 500 5.3.3 error coming back from the mail server (see the < in the line which indicates a response from the other side). This could be a firewall issue, or it could be your mail server is not set up to handle the SMTP traffic correctly (blocking SMTP authorization for example), or ...

You really need to get find the system support person for your mail server and discuss the issue with that person -- it is not a mainframe problem and there is not going to be a mainframe solution once you've gotten the line numbers out of the command.
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 -> TSO/ISPF All times are GMT + 6 Hours
Page 1 of 1

 

Search our Forum:

Similar Topics
Topic Author Forum Replies Posted
No new posts IEW2456E error when link-editing a C ... Senthilraj JCL & VSAM 0 Fri Oct 13, 2017 3:12 pm
No new posts FTP Skip or ignore error and process ... AJAYREDDY All Other Mainframe Topics 3 Wed Sep 27, 2017 8:12 pm
No new posts MQ command in option 6 of ISPF! Vignesh Sid All Other Mainframe Topics 3 Tue Sep 26, 2017 6:01 pm
No new posts Assembler Macro Copybook converted to... Ziquilix PL/I & Assembler 4 Tue Sep 26, 2017 3:07 am
No new posts FUSE - IBM MQ - CICS integration error Kevin Vaz CICS 1 Mon Sep 18, 2017 4:31 pm

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