• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 673
  • Last Modified:

Exchange 2010 Relay to external domain fails, mails stock in send queue.


I have made a new Relay receive connector soo my internal app. server can relay mails trough my Exchange server, this seem to work okay when I relay mail for internal Email adr. when it try to realy mail to external email adr. it leaves the app server okay, but then it stuck in my outgoing send connector on Exchange.

I have an Edge between my internal mail server and the internet and i am using a smarthost.

External mails send from Outlook client work fine. It´s only external mails relayed from app. server which is getting stock at the send connector.
1 Solution
Alan HardistyCo-OwnerCommented:
Did you use the Exchange Management Shell to grant the Receive Connector Relay permissions:


Get-ReceiveConnector "Receive_Connector"| Add-ADPermission -User "NT AUTHORITY\ANONYMOUS LOGON" -ExtendedRights "Ms-Exch-SMTP-Accept-Any-Recipient"
Henrik_S_AndersenAuthor Commented:
YEs i did use EMS to grant the recive connector relay permission.

I also tried this setup:

New-ReceiveConnector -Name RelayConnector -usage Custom -Bindings ’x.x.x.x:25' -fqdn server.domain.com -RemoteIPRanges x.x.x.x -server MYEXCHANGESERVER -permissiongroups ExchangeServers -AuthMechanism ‘TLS, ExternalAuthoritative’

Recive connector works okay, i can telnet MYEXCHANGESERVER 25 from my app serveres, and the mail will be send but stock in send connector queue. See attach screendump.

But mails send from outlook clients don´t get stock in send connector queue
Henrik_S_AndersenAuthor Commented:
I get the following error on send connector 451 4.4.0 Primary Target IP address responded 421 4.2.1 unable to connect.

Againg this only happens on mail send to external through the new Relay receiver
Easily manage email signatures in Office 365

Managing email signatures in Office 365 can be a challenging task if you don't have the right tool. CodeTwo Email Signatures for Office 365 will help you implement a unified email signature look, no matter what email client is used by users. Test it for free!

Just disable you antivirus software and it should work.
Generally McAfee AV blocks it. You may add MS Exchange server folder found in c:\program file to exclusion list in AV software and also exclude all exchange databases from being scanned.

It will work.
If messages are stuck on hub then relay connector is fine.
Do you have a specific send connector to send those messages?
If yes, what is the source server on that send connector?

Henrik_S_AndersenAuthor Commented:

I just deleted the Relay Receiver and created it again with same powershell script restarted transport service, and now it works :)

Henrik_S_AndersenAuthor Commented:
I managed to solve the problem my self
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

Featured Post

Upgrade your Question Security!

Your question, your audience. Choose who sees your identity—and your question—with question security.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now