Still celebrating National IT Professionals Day with 3 months of free Premium Membership. Use Code ITDAY17

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,170 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
[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
  • 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
Office 365 Training for Admins - 7 Day Trial

Learn how to provision tenants, synchronize on-premise Active Directory, implement Single Sign-On, customize Office deployment, and protect your organization with eDiscovery and DLP policies.  Only from Platform Scholar.

 

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

Are your AD admin tools letting you down?

Managing Active Directory can get complicated.  Often, the native tools for managing AD are just not up to the task.  The largest Active Directory installations in the world have relied on one tool to manage their day-to-day administration tasks: Hyena. Start your trial today.

Question has a verified solution.

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

A couple of months ago we ran into an issue that necessitated re-creating our Edge Subscriptions. However, when we attempted to execute the command: New-EdgeSubscription -filename C:\NewEdgeSub_01.xml we received an error indicating that the LDAP se…
The core idea of this article is to make you acquainted with the best way in which you can export Exchange mailbox to PST format.
In this video we show how to create an email address policy 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…
The basic steps you have just learned will be implemented in this video. The basic steps are shown to configure an Exchange DAG in a live working Exchange Server Environment and manage the same (Exchange Server 2010 Software is used in a Windows Ser…

715 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