Exchange 2013 CU23 unable to receive external emails

Phua Kwang Hwee 1 Reputation point
2022-06-02T03:52:16.517+00:00

Hi

Exchange 2013 CU23.
There is no mails in Queue Viewer.
I can send out email but unable to receive emails.
External party received "Delivery Incomplete" after sent email to me.
Error message is " The recipient server did not accept our requests to connect. Learn more https://support.google.com/mail/answer/7720 <ourmail.server.com> <our ip address> : timed out"

Exchange | Exchange Server | Management
{count} votes

4 answers

Sort by: Most helpful
  1. Phua Kwang Hwee 1 Reputation point
    2022-06-02T06:55:26.64+00:00

    I did Inbound SMTP test of https://testconnectivity.microsoft.com/.
    Connectivity Test Failed.
    Attempting to send a test email message to mine@keyman .com using MX <mymail.domain.com>
    Delivery of the test email message failed.

    Additional Details
    The server returned status code 530 - The SMTP server requires a secure connection or the client was not authenticated. The server response was: 5.7.1 Client was not authenticated

    Exception details:

    Message: The SMTP server requires a secure connection or the client was not authenticated. The server response was: 5.7.1 Client was not authenticated

    Type: System.Net.Mail.SmtpException

    Stack trace:

    at System.Net.Mail.MailCommand.CheckResponse(SmtpStatusCode statusCode, String response)

    at System.Net.Mail.MailCommand.Send(SmtpConnection conn, Byte[] command, MailAddress from, Boolean allowUnicode)

    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 Microsoft.M365.RCA.ConnectivityTests.SmtpMessageTest.PerformSmtpMessageTest(RcaTestContext parent, String mailExchangerHost, ISmtpAddress emailAddress, ContextInfo contextInfo, SmtpOptions smtpOptions)

    0 comments No comments

  2. Phua Kwang Hwee 1 Reputation point
    2022-06-02T06:59:07.287+00:00
    0 comments No comments

  3. Phua Kwang Hwee 1 Reputation point
    2022-06-02T15:42:14.82+00:00

    I did Inbound SMTP test of https://testconnectivity.microsoft.com/.
    Connectivity Test Failed.
    Attempting to send a test email message to mine@keyman .com using MX <mymail.domain.com>.
    Delivery of the test email message failed.

    The server returned status code -1 - Failure sending mail.

    Exception details:

    Message: Failure sending mail.

    Type: System.Net.Mail.SmtpException

    Stack trace:

    at System.Net.Mail.SmtpClient.Send(MailMessage message)

    at Microsoft.M365.RCA.ConnectivityTests.SmtpMessageTest.PerformSmtpMessageTest(RcaTestContext parent, String mailExchangerHost, ISmtpAddress emailAddress, ContextInfo contextInfo, SmtpOptions smtpOptions)

    Exception details:

    Message: Unable to connect to the remote server

    Type: System.Net.WebException

    Stack trace:

    at System.Net.ServicePoint.GetConnection(PooledStream PooledStream, Object owner, Boolean async, IPAddress& address, Socket& abortSocket, Socket& abortSocket6)

    at System.Net.PooledStream.Activate(Object owningObject, Boolean async, GeneralAsyncDelegate asyncCallback)

    at System.Net.ConnectionPool.GetConnection(Object owningObject, GeneralAsyncDelegate asyncCallback, Int32 creationTimeout)

    at System.Net.Mail.SmtpConnection.GetConnection(ServicePoint servicePoint)

    at System.Net.Mail.SmtpClient.GetConnection()

    at System.Net.Mail.SmtpClient.Send(MailMessage message)

    Exception details:

    Message: A connection attempt failed because the connected party did not properly respond after a period of time, or established connection failed because connected host has failed to respond <IP address>:25

    Type: System.Net.Sockets.SocketException

    Stack trace:

    at System.Net.Sockets.Socket.DoConnect(EndPoint endPointSnapshot, SocketAddress socketAddress)

    at System.Net.ServicePoint.ConnectSocketInternal(Boolean connectFailure, Socket s4, Socket s6, Socket& socket, IPAddress& address, ConnectSocketState state, IAsyncResult asyncResult, Exception& exception)

    0 comments No comments

  4. Joyce Shen - MSFT 16,701 Reputation points
    2022-06-03T01:56:59.537+00:00

    Hi @Phua Kwang Hwee

    Please refer to the introduction in the official document: DSNs and NDRs in Exchange 2013
    208016-image.png

    If you disable anonymous then your mail server won't receive email from the internet. Mails from the internet are not part of your domain, it can't be authenticated against AD. So there for it is anonymous.

    And a similar thread here discussed the similar question, you could take a reference as well:
    inbound mail rejecting - Client was not authenticated

    Get-ReceiveConnector <servername\Default Frontend servername>| Format-List Identity,Bindings,PermissionGroups   
    Set-ReceiveConnector <servername\Default Frontend servername> -PermissionGroups AnonymousUsers, ExchangeServers, ExchangeLegacyServers  
    

    If an Answer is helpful, please click "Accept Answer" and upvote it.

    Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.

    0 comments No comments

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.