Solved

How do I configure Exchange 2007 to route "some" emails in somedomain.com to an external smtp server, and deliver the others locally?

Posted on 2008-06-18
6
189 Views
Last Modified: 2010-03-06
I have a working exchange 2007 system that hosts several accounts such as username1@domain.com, and username2@domain.com. I have other users on a unix mail system, username3@domain.com and username4@domain.com. Exchange will not let me send email from username1 or username2 to either username3 or username4. It appears that exchange tries to do local delivery for username3 and username4, but obviously doesn't find them. How do I configure exchange to deliver to users it hosts, and then pass on any other usernamex@domain.com emails to the unix host and let it try to deliver them.
0
Comment
Question by:Hikanthus
  • 3
  • 3
6 Comments
 
LVL 58

Expert Comment

by:tigermatt
ID: 21814172
You have to configure Exchange Namespace sharing to share the SMTP namespace for that domain with the other server. This means Exchange no longer thinks it is responsible for the whole namespace and will pass unresolved mail to the other mail server.

Some more information can be found at http://www.msexchange.org/articles_tutorials/exchange-server-2007/planning-architecture/exchange-2007-smtp-namespace-sharing-different-relay-domain-types.html.

-tigermatt
0
 

Author Comment

by:Hikanthus
ID: 21814359
well, that seems to work if the mx record for domain.com is pointing to the exchange server, and I am trying to share the namespace with the unix box. The MX record for domain.com is pointing to the unix system, in my case.

-Matt
0
 

Accepted Solution

by:
Hikanthus earned 0 total points
ID: 21814959
okay, I think I figured things out here... I modified my send connector so that it has two smtp address spaces. one for *.domain.com with a cost of 1 and one for *, with a cost of 10. For some reason, this seems to work.

-Matt
0
Does Powershell have you tied up in knots?

Managing Active Directory does not always have to be complicated.  If you are spending more time trying instead of doing, then it's time to look at something else. For nearly 20 years, AD admins around the world have used one tool for day-to-day AD management: Hyena. Discover why

 
LVL 58

Expert Comment

by:tigermatt
ID: 21815379
If it's pointing towards the Unix box, then that must also be configured to send mail on to the Exchange Server for unresolved mailboxes. Don't forget that half of the setup!

How is the send connector configured? Is it sending all mail through the unix box?

I guess if that solution works, then you can use that!
0
 

Author Comment

by:Hikanthus
ID: 21815406
yes, the unix box already uses .forward files and aliases to send some @domain.com email directly to exchange, and locally deliver the rest that doesn't have .forwards or aliases.

Yes, exchange is set to relay outbound through the unix box, and that is working, for domains other than domain.com.

My only concern now is, have I missed a possible delivery case, or opened something up that is going to cause problems as we roll this out to more and more users... guess time will tell.

-Matt
0
 
LVL 58

Expert Comment

by:tigermatt
ID: 21815781
From what I can see and without testing myself, it should be OK.
0

Featured Post

Free Tool: Subnet Calculator

The subnet calculator helps you design networks by taking an IP address and network mask and returning information such as network, broadcast address, and host range.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Exchange server 2010 5 30
EXCH2013 IIS 4 10
Shared Mailboxes in Exchange 2010 2 19
iOS Mail App for Exchange Accounts 4 20
This article explains in simple steps how to renew expiring Exchange Server Internal Transport Certificate.
How to resolve IMCEAEX NDRs in Exchange or Exchange Online related to invalid X500 addresses.
In this video we show how to create a Contact 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 >> Contact ta…
The video tutorial explains the basics of the Exchange server Database Availability groups. The components of this video include: 1. Automatic Failover 2. Failover Clustering 3. Active Manager

840 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