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,557 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
Optimizing Cloud Backup for Low Bandwidth

With cloud storage prices going down a growing number of SMBs start to use it for backup storage. Unfortunately, business data volume rarely fits the average Internet speed. This article provides an overview of main Internet speed challenges and reveals backup best practices.

 

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

Best Practices: Disaster Recovery Testing

Besides backup, any IT division should have a disaster recovery plan. You will find a few tips below relating to the development of such a plan and to what issues one should pay special attention in the course of backup planning.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
need assistance with powershell script to remove email aliases 36 79
Outlook 2010 not responding 14 45
ACTIVE DIRECTORY 18 49
exchange, outlook 20 31
We are happy to announce a brand new addition to our line of acclaimed email signature management products – CodeTwo Email Signatures for Office 365.
This article explains how to install and use the NTBackup utility that comes with Windows Server.
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…
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…

803 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