Solved

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

Posted on 2012-04-01
8
665 Views
Last Modified: 2012-08-13
Hi

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.
0
Comment
Question by:Henrik_S_Andersen
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
8 Comments
 
LVL 76

Expert Comment

by:Alan Hardisty
ID: 37792580
Did you use the Exchange Management Shell to grant the Receive Connector Relay permissions:

http://technet.microsoft.com/en-us/library/bb232021.aspx

Get-ReceiveConnector "Receive_Connector"| Add-ADPermission -User "NT AUTHORITY\ANONYMOUS LOGON" -ExtendedRights "Ms-Exch-SMTP-Accept-Any-Recipient"
0
 

Author Comment

by:Henrik_S_Andersen
ID: 37792834
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
telnet.jpg
0
 

Author Comment

by:Henrik_S_Andersen
ID: 37792846
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
0
Has Powershell sent you back into the Stone Age?

If managing Active Directory using Windows Powershell® is making you feel like you stepped back in time, you are not alone.  For nearly 20 years, AD admins around the world have used one tool for day-to-day AD management: Hyena. Discover why.

 
LVL 1

Expert Comment

by:atuldangi
ID: 37793040
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.
0
 
LVL 19

Expert Comment

by:suriyaehnop
ID: 37793495
0
 
LVL 3

Expert Comment

by:Padamdeep
ID: 37794437
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?

Singh
0
 

Accepted Solution

by:
Henrik_S_Andersen earned 0 total points
ID: 37794876
Strange...

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

Microsoft!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
0
 

Author Closing Comment

by:Henrik_S_Andersen
ID: 37869853
I managed to solve the problem my self
0

Featured Post

Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Citrix policies are the most efficient method to configure and tune XenDesktop environments, allowing organizations to control connection, security and bandwidth settings based on various combinations of users, devices or connection types.  Citrix …
After hours on line I found a solution which pointed to the inherited Active Directory permissions . You have to give/allow permissions to the "Exchange trusted subsystem" for the user in the Active Directory...
In this video we show how to create a Resource Mailbox in Exchange 2013. We show this process by using the Exchange Admin Center. Log into Exchange Admin Center.: Navigate to the Recipients >> Resources tab.: "Recipients" is our default selection …
In this video we show how to create a mailbox database in Exchange 2013. We show this process by using the Exchange Admin Center. Log into Exchange Admin Center.: First we need to log into the Exchange Admin Center. Navigate to the Servers >> Data…

688 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question