cancel
Showing results for 
Search instead for 
Did you mean: 

.io.IOException: server not responding OK to RCPT TO; 550 5.7.1 Unable to relay

Former Member
0 Kudos

Hello guys,

We are migrating the version of MS Exchange from 2007 to 2010 and, when we try to send emails to different domain we have this error:

**************************************************************************************************************************************************************************

com.sap.aii.af.ra.ms.api.RecoverableException:
java.io.IOException: server not responding OK to RCPT TO; 550 5.7.1 Unable to relay

**************************************************************************************************************************************************************************

Only emails to the company domain are allowed.

My channel is like this:

Transport protocol: SMTP

Message protocol: XIPAYLOAD

URL: smtp://server:25

*without user authentication.

If I try with authentication, the error changes to:

***********************************************************************************************************************************************************************

com.sap.aii.af.ra.ms.api.RecoverableException: java.io.IOException: server does not support PLAIN or LOGIN authentication

***********************************************************************************************************************************************************************

Do you know  if there's any role on PI side to set or it's some settings on the Exchange server side?

Thank you so much.

Luciana R.

Accepted Solutions (1)

Accepted Solutions (1)

nabendu_sen
Active Contributor

Hi Luciana,

Try the following:

- make sure that "Configure User Authentication" option is checked in communication channel.

- leave the 'User' and 'Password' fields empty

- then save and activate the channel and retry the scenario.

Former Member
0 Kudos

Hello Sen,

I checked the Configure User Authentication and leaved user and pass empty but the error is still the same:

com.sap.aii.af.ra.ms.api.RecoverableException:
java.io.IOException: server not responding OK to RCPT TO; 550 5.7.1 Unable to
relay

Do you have any ideias?

Thank you so much.

Luciana

former_member201264
Active Contributor
0 Kudos

Hi,

did you check with BASIS team whether they connected new server in PI SCOTT and/or in SAP Connect?

Regards,

Sreeni.

anupam_ghosh2
Active Contributor
0 Kudos

Hi Luciana,

                  Please check this wonderful article on configuring mail adapter. I had similar issue which I resolved by setting default domain http://scn.sap.com/thread/3226546 .   Please report the issue to network team. The can check the log within mail server to see if the messages are arriving to server properly or not.

Regards

Anupam

Former Member
0 Kudos

Hello friends,

I'll check this document and give you a feedback.

Thank you so much!

Luciana

Former Member
0 Kudos

Hello Anupam,

All the things in SCOT and PI adapter I have been done but I havent success.

The only thing I havent done is setting the profile parameters on Rz10.

Since we are on 7.02 PI version, do you think it's necessary?

I've asked to my basis colleague to take a look on this parameters...

The question is that this problem is ocorring just because we've changed the MS Exchange Version... 

Thank you so much

Luciana

nabendu_sen
Active Contributor
0 Kudos

Hi Luciana,

Can you please confirm whether the TO, CC email addresses are valid or not. If its yes but you are getting this issue, this could be for Firewall. The last option could be User Account you are using does not have the authorization. Refer below blogs:

http://scn.sap.com/thread/1876928

http://scn.sap.com/message/742769

Former Member
0 Kudos

Hello Sen,

Yes. Both email addresses are ok.

The problem is on the exchange server.. the basis guy had checked it today.

As soon they fix it I tell you.

Thank you so much!

Luciana 

Former Member
0 Kudos

Hello Luciana , All..

we are currently using the same SAP PI version 7.02.

Can you please confirm if this version can support Exchange 2010?

Appreciate your feedback...

Regards,

Hafizah

Former Member
0 Kudos

Hi Hafizah,

The infrastructure team made corrections on the Exchange server and now it's working fine.

We are using PI 7.3 with Exchange 2010 but I believe that you shouldn't have any problems using PI 7.02 and Exchange 2010.


On the PI side, I haven't done anything different... the correction came from the mail server side.

Best Regards,

Luciana R..

Former Member
0 Kudos

Dear Luciana,

Thank you for your feedback!

Regards,

Hafizah

Answers (1)

Answers (1)

rdiger_hckel
Participant
0 Kudos

Hello Luciana,

we're facing a similar problem after having updated from Exchange 2003 -> 2010.

You wrote:

"The infrastructure team made corrections on the Exchange server and now it's working fine."

Are you able to find out what they did?

Have a great weekend,

Rüdiger

Former Member
0 Kudos

Hi Rüdiger,

Humm, If I'm not missing something, they had to enable the relay connector.

Have you tried it?

Regards,

Luciana