Author |
Message
|
Vinayak.Satapute |
Posted: Tue Feb 24, 2009 6:58 pm Post subject: email output node:invalid addresses,unable to relay 550 5.7 |
|
|
Acolyte
Joined: 20 Dec 2006 Posts: 70
|
Hi All,
I am receiving the following error when I am trying to send a mail from my broker email out put node.
**********************************************************
com.ibm.broker.emailnodes.EmailOutputNode : javax.mail.SendFailedException: Invalid Addresses;
nested exception is:
com.sun.mail.smtp.SMTPAddressFailedException: 550 5.7.1 Unable to relay at com.sun.mail.smtp.SMTPTransport.rcptTo(SMTPTransport.java:1196)
at com.sun.mail.smtp.SMTPTransport.sendMessage(SMTPTransport.java:584)
at javax.mail.Transport.send0(Transport.java:169)
at javax.mail.Transport.send(Transport.java:9
at com.ibm.broker.emailnodes.EmailOutputNode.sendMimeEmail(EmailOutputNode.java:647)
at com.ibm.broker.emailnodes.EmailOutputNode.sendData(EmailOutputNode.java:350)
at com.ibm.broker.plugin.MbOutputTemplateNode.sendData(MbOutputTemplateNode.java:47)
Caused by: com.sun.mail.smtp.SMTPAddressFailedException: 550 5.7.1 Unable to relay
at com.sun.mail.smtp.SMTPTransport.rcptTo(SMTPTransport.java:1047)
... 6 more
***********************************************************
This error appears whenever I try send mail to external id's.
I have set these following parameters in my compute node:
Destination.Email.SMTPServer = abc.mas.com
Destination.Email.SecurityIdentity = SecId
I have used setdbparms command as below
mqsisetdbparms WBRK61_DEFAULT_BROKER -n smtp::SecId -u UserId -p Password
Appreciate your suggestions.
Thanks,
Vinayak Satapute |
|
Back to top |
|
 |
mqjeff |
Posted: Wed Feb 25, 2009 2:50 am Post subject: |
|
|
Grand Master
Joined: 25 Jun 2008 Posts: 17447
|
This is the mail server telling you that it will not send email using the sender address you have specified.
You need to discuss this with your mail administrator. |
|
Back to top |
|
 |
Vinayak.Satapute |
Posted: Wed Feb 25, 2009 5:31 pm Post subject: |
|
|
Acolyte
Joined: 20 Dec 2006 Posts: 70
|
Hi,
But there is no error when I send a mail to external Id through my outlook client where I have provided smtp server detail,User Id and Password for the account.
So what setting is required from Broker Point of view?(WBIMB 6.1.0.2)
Since after running the following commands in given order I am now getting the different exception:
--------------------Commands run--------------------------------------------
mqsistart WBRK61_DEFAULT_BROKER
mqsicreateconfigurableservice WBRK61_DEFAULT_BROKER -c SMTP -o MHMAILSERVER
mqsichangeproperties WBRK61_DEFAULT_BROKER -c SMTP -o MHMAILSERVER -n serverName -v abc.xyz.com:587
mqsistop WBRK61_DEFAULT_BROKER
mqsisetdbparms WBRK61_DEFAULT_BROKER -n smtp::MHMAILID -u userid -p password
mqsistart WBRK61_DEFAULT_BROKER
mqsichangeproperties WBRK61_DEFAULT_BROKER -c SMTP -o MHMAILSERVER -n securityIdentity -v MHMAILID
--------------------------Exception------------------------------------------
"com.ibm.broker.emailnodes.EmailOutputNode : com.sun.mail.smtp.SMTPSendFailedException: 530 5.7.1 Client was not authenticated "
at com.sun.mail.smtp.SMTPTransport.issueSendCommand(SMTPTransport.java:1388)
at com.sun.mail.smtp.SMTPTransport.mailFrom(SMTPTransport.java:959)
at com.sun.mail.smtp.SMTPTransport.sendMessage(SMTPTransport.java:583)
at com.ibm.broker.emailnodes.EmailOutputNode.sendMail(EmailOutputNode.java:434)
at com.ibm.broker.emailnodes.EmailOutputNode.sendBasicEmail(EmailOutputNode.java:469)
at com.ibm.broker.emailnodes.EmailOutputNode.sendData(EmailOutputNode.java:351)
at com.ibm.broker.plugin.MbOutputTemplateNode.sendData(MbOutputTemplateNode.java:47)
--------------------------------------------------------------------------------
please advice,
Thanks. |
|
Back to top |
|
 |
mqjeff |
Posted: Wed Feb 25, 2009 5:50 pm Post subject: |
|
|
Grand Master
Joined: 25 Jun 2008 Posts: 17447
|
I can not be more clear, nor provide any more detailed information than this:
mqjeff wrote: |
You need to discuss this with your mail administrator. |
|
|
Back to top |
|
 |
Vinayak.Satapute |
Posted: Tue Mar 10, 2009 7:04 pm Post subject: |
|
|
Acolyte
Joined: 20 Dec 2006 Posts: 70
|
Hi,
I have clarified with my mail administrator that the IP's under the range from 0.0.0.0 to 255.255.255.0 will be given access to the Exchange server which provide valid authentication with UserId and Passwd.
I mentioned that I have configure the exchanger server mail account in outlook client with proper authentication and can send mail successfully to external mail id's. But when it comes to sending mail from Message Broker email output node the problem persists.
"com.ibm.broker.emailnodes.EmailOutputNode : com.sun.mail.smtp.SMTPSendFailedException: 530 5.7.1 Client was not authenticated "
Any idea any body,kindly suggest.
Thanks,
Vinayak |
|
Back to top |
|
 |
mgk |
Posted: Wed Mar 11, 2009 1:17 am Post subject: |
|
|
 Padawan
Joined: 31 Jul 2003 Posts: 1642
|
Quote: |
I have set these following parameters in my compute node |
Did you also set the "ComputeMode" on the ComputeNode property to include the LocalEnvironment? _________________ MGK
The postings I make on this site are my own and don't necessarily represent IBM's positions, strategies or opinions. |
|
Back to top |
|
 |
Vinayak.Satapute |
Posted: Wed Mar 11, 2009 1:29 am Post subject: |
|
|
Acolyte
Joined: 20 Dec 2006 Posts: 70
|
Hi,
I have set the compute mode property of compute node to 'ALL'.
Regards,
Vinayak |
|
Back to top |
|
 |
Vinayak.Satapute |
Posted: Wed Apr 22, 2009 7:34 pm Post subject: |
|
|
Acolyte
Joined: 20 Dec 2006 Posts: 70
|
Hi,
The problem is resolved after creating a new Recv_Connector (Port 25)at Exchange Mail Server(2007) side to accept the incoming mail request from broker.
We have used the following commands to set the authentication for SMTP.
• mqsicreateconfigurableservice BRDMBRK1 -c SMTP -o MH_MAILSERVER
• mqsichangeproperties BRDMBRK1 -c SMTP -o MH_MAILSERVER -n serverName -v 10.250.11.111:25
• mqsistop BRDMBRK1
• mqsisetdbparms BRDMBRK1 -n smtp::Mail_Identity -u userid -p password
• mqsistart BRDMBRK1
• mqsichangeproperties BRDMBRK1 -c SMTP -o MH_MAILSERVER -n securityIdentity -v Mail_Identity
User this parameters in EmailOutput Node that should solve the problem.
Cheers,
Vinayak |
|
Back to top |
|
 |
|