550 5.7.54 SMTP; Unable to relay recipient in non-accepted domain

pavan kumar 371 Reputation points
2020-11-10T19:31:02.77+00:00

Hi,

I am having issues when i am relaying an emails from the application.

Error : 550 5.7.54 SMTP; Unable to relay recipient in non-accepted.

The issue is happening only when i am pointing it to the SMTP address LB (which is a NSX edge load balancer). But I am able to relay the external emails from application using an individual server address using telnet over port 25. What could be the issue. did i miss anything in configuration from the load balancer?.

any ideas will be helpful.

we are in coexistence with 2010 to 2016.

Also when i am pointing it to the old 2010 LB SMTP address i am able to relay it, but not with New 2016 server LB.

Also i created a separate receive connector for applications and all the IP addresses are added.

Thanks
Pavan

Exchange Server Management
Exchange Server Management
Exchange Server: A family of Microsoft client/server messaging and collaboration software.Management: The act or process of organizing, handling, directing or controlling something.
7,373 questions
0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. Lucas Liu-MSFT 6,161 Reputation points
    2020-11-11T03:08:47.887+00:00

    Hi @pavan kumar ,
    Is the newly created receive connector create a dedicated Receive connector for anonymous relay? If not, please following the steps to create a receive connector for anonymous:
    1.In the EAC, navigate to Mail flow > Receive connectors, and then click Add . This starts the New Receive connector wizard.
    2.On the first page, enter the following information:
    38991-11111.png
    3.In the Network adapter bindings section, if the Exchange server has one network adapter, and doesn't segregate internal and external traffic by using different subnets. The default Network adapter bindings are fine. This represents the IP and port that the server will be listening on for connections. Multiple receive connectors on the Frontend Transport service can listen on the same port of TCP 25.
    4.In the Remote network settings section, remove the default IP range from the Remote network settings, and then add in the specific IP addresses or IP ranges that you want to allow anonymous SMTP relay from. It’s not recommend adding entire IP subnets that contain other Exchange servers as this can cause issues with server to server communications.
    5.Then we could run the following command to configure the connections as anonymous:

    Set-ReceiveConnector <> -PermissionGroups AnonymousUsers  
    Get-ReceiveConnector <> | Add-ADPermission -User "NT AUTHORITY\ANONYMOUS LOGON" -ExtendedRights "Ms-Exch-SMTP-Accept-Any-Recipient"  
    

    For more specific steps, please refer to :Create a dedicated Receive connector for anonymous relay
    About Load Balancing SMTP Traffic information, this article may help you better understand:Issues With Load Balancing SMTP Traffic
    Please Note: Since the web site is not hosted by Microsoft, the link may change without notice. Microsoft does not guarantee the accuracy of this information.


    If the response 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.

    2 people found this answer helpful.