• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 6445
  • Last Modified:

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

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
swinfield
Asked:
swinfield
  • 4
  • 2
1 Solution
 
MASTechnical Department HeadCommented:
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
 
swinfieldAuthor Commented:
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
 
MASTechnical Department HeadCommented:
Try sending a test email and see what happens from command prompt
http://exchange.mvps.org/smtp_frames.htm

Check this as well
0
Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

 
swinfieldAuthor Commented:
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
 
swinfieldAuthor Commented:
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
 
swinfieldAuthor Commented:
piugpuij
0

Featured Post

Keep up with what's happening at Experts Exchange!

Sign up to receive Decoded, a new monthly digest with product updates, feature release info, continuing education opportunities, and more.

  • 4
  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now