IBM Mainframe Forum Index
 
Log In
 
IBM Mainframe Forum Index Mainframe: Search IBM Mainframe Forum: FAQ Register
 

SMTP Error 1< 500 5.3.3 Unrecognized command


IBM Mainframe Forums -> TSO/ISPF
Post new topic   Reply to topic
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
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: 459
Location: Belgium

PostPosted: Fri Dec 26, 2008 4:16 pm
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
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: 8697
Location: Dubuque, Iowa, USA

PostPosted: Fri Dec 26, 2008 5:57 pm
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
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: 8697
Location: Dubuque, Iowa, USA

PostPosted: Wed Dec 31, 2008 5:15 pm
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
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: 8697
Location: Dubuque, Iowa, USA

PostPosted: Tue Jan 06, 2009 4:56 pm
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: 8697
Location: Dubuque, Iowa, USA

PostPosted: Tue Jan 06, 2009 5:13 pm
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
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: 8697
Location: Dubuque, Iowa, USA

PostPosted: Tue Jan 06, 2009 7:00 pm
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 View Bookmarks
All times are GMT + 6 Hours
Forum Index -> TSO/ISPF

 


Similar Topics
Topic Forum Replies
No new posts RACF - Rebuild SETROPTS command which... All Other Mainframe Topics 3
No new posts Error to read log with rexx CLIST & REXX 11
No new posts Error when install DB2 DB2 2
No new posts Routing command Address SDSF to other... TSO/ISPF 2
No new posts CLIST - Virtual storage allocation error CLIST & REXX 5
Search our Forums:

Back to Top