Allow Exchange 2010 to relay to external email address

Posted on 2012-09-18
Medium Priority
Last Modified: 2012-10-05
I have configured a new Receive Connector in our Exchange 2010 (SBS2011) to allow a Voicemail application on one of our Windows 2008 R2 server to send emails (voicemails) to the internal users. It is configured with no authentication (anonymous). All works fine.

But I would also need to be able to send voicemail emails to external Internet email addresses. When I test it from Telnet, I get a relaying error from Exchange (550 5.7.1 Unable to relay) right after entering the "rcpt to:othername@otherdomain.com" command. The same Telnet test to an internal user works fine. Do I need to change something in the Receive Connector to allow relaying to the Internet, or something else ?

Sequence of telnet commands I try to use when testing to external email address (I get the error 5.7.1 Unable to relay after the rcpt to: command):

(start of telnet session)
set localecho
open 25
ehlo mydomain.com
mail from:voicemail@mydomain.com
rcpt to:othername@otherdomain.com
Subject: Test message from Voicemail server

This is a test message from the Voice Mail server.
(end of telnet session)

Question by:ndidomenico
LVL 35

Expert Comment

by:Cris Hanna
ID: 38412165
do these "external recipients" also have Exchange mailboxes??
LVL 23

Accepted Solution

Stelian Stan earned 1200 total points
ID: 38412227
Your problem seems similar with this article: http://exchangeserverpro.com/how-to-configure-a-relay-connector-for-exchange-server-2010
Check the permissions on that Receive Connector.
LVL 19

Assisted Solution

suriyaehnop earned 400 total points
ID: 38412250
1. Create a Receive Connector
2. Grant Relay permission to the Receive Connector via cmdlet as below:

Get-ReceiveConnector "Anonymous Relay" | Add-ADPermission -User "NT AUTHORITY\ANONYMOUS LOGON" -ExtendedRights "Ms-Exch-SMTP-Accept-Any-Recipient"

Open in new window

LVL 15

Assisted Solution

by:Antonio Vargas
Antonio Vargas earned 400 total points
ID: 38414072
You need to create a receive connector configured as "externally secured".. this will allow your server to send anonymous e-mail to the Internet. Please be sure that you bind that connector only to the specific server (or other servers with the same requirements). Now the important part. How to do it:


hope it helps

Featured Post

[Webinar] Cloud and Mobile-First Strategy

Maybe you’ve fully adopted the cloud since the beginning. Or maybe you started with on-prem resources but are pursuing a “cloud and mobile first” strategy. Getting to that end state has its challenges. Discover how to build out a 100% cloud and mobile IT strategy in this webinar.

Question has a verified solution.

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

Are you looking for the options available for exporting EDB files to PST? You may be confused as they are different in different Exchange versions. Here, I will discuss some options available.
This month, Experts Exchange sat down with resident SQL expert, Jim Horn, for an in-depth look into the makings of a successful career in SQL.
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…
To show how to generate a certificate request 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 >> Certificates…
Suggested Courses

839 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