Solved

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

Posted on 2013-06-23
6
5,708 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 25

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 25

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
Problems using Powershell and Active Directory?

Managing Active Directory does not always have to be complicated.  If you are spending more time trying instead of doing, then it's time to look at something else. For nearly 20 years, AD admins around the world have used one tool for day-to-day AD management: Hyena. Discover why

 

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

Free Tool: Path Explorer

An intuitive utility to help find the CSS path to UI elements on a webpage. These paths are used frequently in a variety of front-end development and QA automation tasks.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
IMAP storage issue 6 66
Matching variables and Compare-Object 24 52
Telnet to SMTP Vulnerability- disable anonymous user 3 34
Exchange 2013 - Recieve Connectors 4 21
This article lists the top 5 free OST to PST Converter Tools. These tools save a lot of time for users when they want to convert OST to PST after their exchange server is no longer available or some other critical issue with exchange server or impor…
A list of top three free exchange EDB viewers that helps the user to extract a mailbox from an unmounted .edb file and get a clear preview of all emails & other items with just a single click on mailboxes.
In this video we show how to create a Shared Mailbox 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 Recipients >> Sha…
To show how to create a transport rule 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 Mail Flow >> Rules tab.:  To cr…

713 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