SOLVED

Exchange connector setup

Copper Contributor

Hello, dear colleagues.
My organization has deployed Exchange version 15.1 Hybrid, which works perfectly. My job is to configure it to provide email notifications from the local Webcon server. In the current configuration, notices are successfully sent only to addresses within our domain, but you need to configure exchange also to send to external addresses.
At this point, exchange reports an error for any external domains in this way:

 

System.Net.Mail.SmtpFailedRecipientException: Mailbox unavailable. The server response was: 5.7.54 SMTP; Unable to relay recipient in non-accepted domain
at System.Net.Mail.SmtpTransport.SendMail(MailAddress sender, MailAddressCollection recipients, String deliveryNotify, Boolean allowUnicode, SmtpFailedRecipientException& exception)
at System.Net.Mail.SmtpClient.Send(MailMessage message)
at WebCon.WorkFlow.Service.AttachmentsProcessing.Helpers.EmailsSender.Send(SmtpClient client, MailMessage mail, Int32 probe)
at WebCon.WorkFlow.Service.WCFService.WCFService.TestMailSend(TestMailSendArgs args)

 

I tried to configure the Inbound connector as follows:
Role - Front-End-Transport
Type - Internet
Remote Network Settings - Webcon´s Local IP Address
Network adapter bindings - All IP4Addresses, Port 25
On the "Security" tab, I only marked Anonym user.

Judging by the server logs, mail passes through a connector I created, but the error message remains the same.
Please tell me how I can correctly configure the connector to forward mail to external domains.
Thank you so much in advance.

 

1 Reply
best response confirmed by ivandmytrenko (Copper Contributor)
Solution

Thank you all for your help, guys.
For me, the solution was the following:

 

A connector response with error 5.7.54 SMTP means an identification error.


On the Security tab of this connector, set the following options
Authentication: Externally secured and
Permission groups: Exchange servers and Anonymous.

1 best response

Accepted Solutions
best response confirmed by ivandmytrenko (Copper Contributor)
Solution

Thank you all for your help, guys.
For me, the solution was the following:

 

A connector response with error 5.7.54 SMTP means an identification error.


On the Security tab of this connector, set the following options
Authentication: Externally secured and
Permission groups: Exchange servers and Anonymous.

View solution in original post