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
  • 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

Active Directory Webinar

We all know we need to protect and secure our privileges, but where to start? Join Experts Exchange and ManageEngine on Tuesday, April 11, 2017 10:00 AM PDT to learn how to track and secure privileged users in Active Directory.

Question has a verified solution.

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

This process describes the steps required to Import and Export data from and to .pst files using Exchange 2010. We can use these steps to export data from a user to a .pst file, import data back to the same or a different user, or even import data t…
Read this checklist to learn more about the 15 things you should never include in an email signature.
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 Micro Video tutorial you will learn the basics about Database Availability Groups and How to configure one using a live Exchange Server Environment. The video tutorial explains the basics of the Exchange server Database Availability grou…

820 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