[2 days left] What’s wrong with your cloud strategy? Learn why multicloud solutions matter with Nimble Storage.Register Now

x
?
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
Medium Priority
?
197 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
[X]
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
  • 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
Has Powershell sent you back into the Stone Age?

If managing Active Directory using Windows Powershell® is making you feel like you stepped back in time, you are not alone.  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: IP Lookup

Get more info about an IP address or domain name, such as organization, abuse contacts and geolocation.

One of a set of tools we are providing to everyone 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

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.
As much as Microsoft wants to kill off PST file support, just as they tried to do with public folders, there are still times when it is useful or downright necessary to export Exchange mailboxes to PST files. Thankfully, it is still possible to e…
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…
Exchange organizations may use the Journaling Agent of the Transport Service to archive messages going through Exchange. However, if the Transport Service is integrated with some email content management application (such as an antispam), the admini…
Suggested Courses

656 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