Go Premium for a chance to win a PS4. Enter to Win

x
?
Solved

Exchange 2013 - Unable to relay messages to external addresses through exchange from database server through receive connector

Posted on 2013-06-23
6
Medium Priority
?
6,324 Views
Last Modified: 2013-06-30
We have just migrated to exchange 2013 from exchange 2010 and incoming and outgoing email works fine from clients to the exchange server.

We have a database server which needs to send emails through our exchange server to an external email address.  I have created a receive connector for the frontend transport role (as we have both roles installed on the same server and I have read that it is recommended to use the frontend role rather than the hub transport) and used the custom type.  I have left the network adapter bindings as it and set the ip address of the database server in the remote network settings.  Finally I have edited the security to allow anonymous users and through the exchange management shell run:

Get-ReceiveConnector "exchange2013\isamsemails" | Add-ADPermission -User "NT AUTHORITY\ANONYMOUS LOGON" -ExtendedRights "ms-Exch-SMTP-Accept-Any-Recipient"

where exchange 2013 is our server and isamsemails the connector.  This processes correctly.

I am still unable to send messages from the database server to external addresses though.  I get error 550 5.7.1 unable to relay in the logs.  I can send emails internally but not externally.  I have tried rebooting the server but still no joy.

Any ideas?

Thanks in advance.
0
Comment
Question by:swinfield
  • 4
  • 2
6 Comments
 
LVL 27

Expert Comment

by:MAS
ID: 39269035
Did you see this?
http://blogs.technet.com/b/exchange/archive/2006/12/28/3397620.aspx

This is for exch2007 but it is similar
0
 

Author Comment

by:swinfield
ID: 39269133
Thanks for this. Have tried changing the settings of the connector as per option 1 but still no joy. Option 2 was how I had it set anyway.
0
 
LVL 27

Expert Comment

by:MAS
ID: 39269145
Try sending a test email and see what happens from command prompt
http://exchange.mvps.org/smtp_frames.htm

Check this as well
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.

 

Author Comment

by:swinfield
ID: 39269292
I tried the first option and I get the 5.7.1 error with telnet as well.

I then added the additional IP address and created a receive connector but still no joy.

Thanks for the suggestions though.
0
 

Accepted Solution

by:
swinfield earned 0 total points
ID: 39271607
Discovered the database server was sending the email from an IP address assigned to another NIC and not the one it was assigned to in the software.  Added this IP address to the receive connector and it worked fine.
0
 

Author Closing Comment

by:swinfield
ID: 39287909
piugpuij
0

Featured Post

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.

Question has a verified solution.

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

The main intent of this article is to make you aware of ‘Exchange fail to mount’ error, its effects, causes, and solution.
In this post, I will showcase the steps for how to create groups in Office 365. Office 365 groups allow for ease of flexibility and collaboration between staff members.
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 …
how to add IIS SMTP to handle application/Scanner relays into office 365.
Suggested Courses

972 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