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

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.
Henrik_S_AndersenAsked:
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

Alan HardistyCo-OwnerCommented:
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
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
telnet.jpg
0
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
0
Simplify Active Directory Administration

Administration of Active Directory does not have to be hard.  Too often what should be a simple task is made more difficult than it needs to be.The solution?  Hyena from SystemTools Software.  With ease-of-use as well as powerful importing and bulk updating capabilities.

atuldangiCommented:
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
suriyaehnopCommented:
0
PadamdeepCommented:
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
Henrik_S_AndersenAuthor Commented:
Strange...

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

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

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
Henrik_S_AndersenAuthor Commented:
I managed to solve the problem my self
0
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Exchange

From novice to tech pro — start learning today.