SOLVED

Exchange connector setup

%3CLINGO-SUB%20id%3D%22lingo-sub-1962193%22%20slang%3D%22en-US%22%3EExchange%20connector%20setup%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1962193%22%20slang%3D%22en-US%22%3E%3CP%3EHello%2C%20dear%20colleagues.%3CBR%20%2F%3EMy%20organization%20has%20deployed%20Exchange%20version%2015.1%20Hybrid%2C%20which%20works%20perfectly.%20My%20job%20is%20to%20configure%20it%20to%20provide%20email%20notifications%20from%20the%20local%20Webcon%20server.%20In%20the%20current%20configuration%2C%20notices%20are%20successfully%20sent%20only%20to%20addresses%20within%20our%20domain%2C%20but%20you%20need%20to%20configure%20exchange%20also%20to%20send%20to%20external%20addresses.%3CBR%20%2F%3EAt%20this%20point%2C%20exchange%20reports%20an%20error%20for%20any%20external%20domains%20in%20this%20way%3A%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CPRE%20class%3D%22lia-code-sample%20language-applescript%22%3E%3CCODE%3ESystem.Net.Mail.SmtpFailedRecipientException%3A%20Mailbox%20unavailable.%20The%20server%20response%20was%3A%205.7.54%20SMTP%3B%20Unable%20to%20relay%20recipient%20in%20non-accepted%20domain%0Aat%20System.Net.Mail.SmtpTransport.SendMail(MailAddress%20sender%2C%20MailAddressCollection%20recipients%2C%20String%20deliveryNotify%2C%20Boolean%20allowUnicode%2C%20SmtpFailedRecipientException%26amp%3B%20exception)%0Aat%20System.Net.Mail.SmtpClient.Send(MailMessage%20message)%0Aat%20WebCon.WorkFlow.Service.AttachmentsProcessing.Helpers.EmailsSender.Send(SmtpClient%20client%2C%20MailMessage%20mail%2C%20Int32%20probe)%0Aat%20WebCon.WorkFlow.Service.WCFService.WCFService.TestMailSend(TestMailSendArgs%20args)%3C%2FCODE%3E%3C%2FPRE%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EI%20tried%20to%20configure%20the%20Inbound%20connector%20as%20follows%3A%3CBR%20%2F%3ERole%20-%20Front-End-Transport%3CBR%20%2F%3EType%20-%20Internet%3CBR%20%2F%3ERemote%20Network%20Settings%20-%20Webcon%C2%B4s%20Local%20IP%20Address%3CBR%20%2F%3ENetwork%20adapter%20bindings%20-%20All%20IP4Addresses%2C%20Port%2025%3CBR%20%2F%3EOn%20the%20%22Security%22%20tab%2C%20I%20only%20marked%20Anonym%20user.%3C%2FP%3E%3CP%3EJudging%20by%20the%20server%20logs%2C%20mail%20passes%20through%20a%20connector%20I%20created%2C%20but%20the%20error%20message%20remains%20the%20same.%3CBR%20%2F%3EPlease%20tell%20me%20how%20I%20can%20correctly%20configure%20the%20connector%20to%20forward%20mail%20to%20external%20domains.%3CBR%20%2F%3EThank%20you%20so%20much%20in%20advance.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-LABS%20id%3D%22lingo-labs-1962193%22%20slang%3D%22en-US%22%3E%3CLINGO-LABEL%3EExchange%20Online%3C%2FLINGO-LABEL%3E%3CLINGO-LABEL%3EExchange%20Server%3C%2FLINGO-LABEL%3E%3CLINGO-LABEL%3Ehybrid%3C%2FLINGO-LABEL%3E%3C%2FLINGO-LABS%3E
New 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 (New 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.