Log In

Come Join Us!

Are you a
Computer / IT professional?
Join Tek-Tips Forums!
  • Talk With Other Members
  • Be Notified Of Responses
    To Your Posts
  • Keyword Search
  • One-Click Access To Your
    Favorite Forums
  • Automated Signatures
    On Your Posts
  • Best Of All, It's Free!
  • Students Click Here

*Tek-Tips's functionality depends on members receiving e-mail. By joining you are opting in to receive e-mail.

Posting Guidelines

Promoting, selling, recruiting, coursework and thesis posting is forbidden.

Students Click Here

Restrict outbound relay domain

Restrict outbound relay domain

Restrict outbound relay domain

Is it possible to restrict relaying outbound emails to only specified domains? If so, can you guide me through the process or point me in the right redirection?

Email from (Domain A) --> Exchange --> blocked unless sending to (Domain B)

RE: Restrict outbound relay domain

There are two approaches to this:

Add the additional domains to the Accepted Domains list as External Relay type domains. Then inbound messages to your organizations with those domains as the recipient domains would then be forwarded on to them. The senders would not need to authenticate to do that. If non-authenticated users tried to relay anywhere else, they'd get a bounceback.

If you could reliably identify the IP addresses that DOMAINA would be using to send from, it would be easier to do this. That takes care of the initial "allowed to relay" issue, since you could create a custom receive connector to handle their inbound connections, and allow relaying of all their mail. There's nothing in the ReceiveConnector settings that will allow the receive connector to parse the destination domain to see if it's allowed (unless you added the destination domains to your Remote Domains list in Org->Hub).

From there you could create a transport rule that would look for "*@domainA.com" sender addresses on outbound emails and delete/drop them unless they were going to specific remote domains.

Dave Shackelford

Red Flag This Post

Please let us know here why this post is inappropriate. Reasons such as off-topic, duplicates, flames, illegal, vulgar, or students posting their homework.

Red Flag Submitted

Thank you for helping keep Tek-Tips Forums free from inappropriate posts.
The Tek-Tips staff will check this out and take appropriate action.

Reply To This Thread

Posting in the Tek-Tips forums is a member-only feature.

Click Here to join Tek-Tips and talk with other members! Already a Member? Login

Close Box

Join Tek-Tips® Today!

Join your peers on the Internet's largest technical computer professional community.
It's easy to join and it's free.

Here's Why Members Love Tek-Tips Forums:

Register now while it's still free!

Already a member? Close this window and log in.

Join Us             Close