Exch2003 - Allow mail relaying to a single external domain

Posted on 2008-06-25
Last Modified: 2010-04-21
Hello -
We ( have a partner organization that we work with ( Some of CompanyB's employees have AD accounts here with Exchange mailboxes. They then requested that their mail redirect back to their home (CompanyB) mailbox, so a contact was created for them, and the exchange settings for their account were then changed to forward mail to their contact rather than keep it locally. Not the most graceful perhaps, but should work.

The problem I am having is some people from CompanyB want to send email to one of our distribution lists ( This list contains some members of our domain that forward their mail back to companyB. When sending to these lists, the sender gets an SMTP 5.7.1 error indicating that relay is denied. Makes sense since is an external domain that my mail server should not relay to by default.

To try and work around this, I created an SMTP Connector under 'Routing Groups' that lists as the namespace, checked the box for 'allow relaying' and assigned a bridgehead server to the connection. For some reason I am still unable to send mail from outside the company to this dist list, still getting the relaying error.

How can I setup my exch environment to allow mail relaying to just this one domain?

Question by:JammyPak
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
  • 2
  • 2
LVL 10

Expert Comment

ID: 21872333
Check the SMTP connector to see which servers are set to be Local bridgehead servers.

On the SMTP virtual server of the bridgehead servers: You could add the IP address of the server that sends the messages from CompanyB into the allowed relay list.
LVL 16

Author Comment

ID: 21884458
I've tried that now, but it still gives the same relay error...smtp 5.7.1. Any other suggestions?
LVL 10

Accepted Solution

uid94130 earned 500 total points
ID: 21885756
In this case, check the Internet header of a message coming from companyB and see what is the IP address of the server that sends the messages to your server. Add this IP in the allowed relay list.
The Internet header can be viewed from Outlook (open one received message and choose from the menu View / Options)
LVL 16

Author Closing Comment

ID: 31470777
I found the one remaining issue that was blocking me - restrictions had been set on the dist list itself controlling who could send to it. All seems to work now, thanks.

Featured Post

Office 365 Training for IT Pros

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.

Question has a verified solution.

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

Find out what you should include to make the best professional email signature for your organization.
This article aims to explain the working of CircularLogArchiver. This tool was designed to solve the buildup of log file in cases where systems do not support circular logging or where circular logging is not enabled
In this video we show how to create a Resource Mailbox in Exchange 2013. We show this process by using the Exchange Admin Center. Log into Exchange Admin Center.: Navigate to the Recipients >> Resources tab.: "Recipients" is our default selection …
In this video we show how to create an Address List 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 Organization >> Ad…

726 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