?
Solved

Forward all mail with unresolved recipients to host

Posted on 2009-04-08
3
Medium Priority
?
2,472 Views
Last Modified: 2012-05-06
Hi All,

We're a school that are merging with another school. At present, we are still on two sites however want to have the same e-mail domain. Both schools are connected to the LEA WAN. I've created a new domain, and had the LEA create the domain in their DNS structure. All e-mails for this domain now come to the exchange server on Site A. Great!

I had then planned to have any e-mails that were intended for Site B to be forwarded to Site B's exchange server using the "Forward all mail with unresolved recipients to host" option of the Virtual SMTP server. In this field I have put the IP address of the server in square brackets, i.e. [10.xxx.xxx.xxx] as it is not part of our DNS structure.

I've created recipient policies on the Exchange server at both sites, and made sure that neither have the 'This Exchange server is repsonsible for all mail delivery to this address' ticked.

If I try to e-mail a mailbox on Site B, it does not work. I get an 'unable to relay' message from the LEA mail server. So it appears that the exchange box on Site A is ignoring the 'Forward all mail with unresolved recipients to host' and instead sending the message back out via our LEA connector. Fortunately it is rejected otherwise we'd be in an endless loop!

What have I missed?

Many thanks in advance

Andy.
0
Comment
Question by:andrewpacey
[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
  • 2
3 Comments
 
LVL 57

Accepted Solution

by:
Pete Long earned 2000 total points
ID: 24096020
Hello andrewpacey,

What version of Exchange? If your using 2003/2000 create an SMTP connector on the Exchange Server at Site A that forwards all mail for *.siteb.com to the IP address of the exchange server at site B, and do the reverse for Site B.
In some cases you may need to create another connector for "*" << thats a single asterisk and set that to route all other mail to either your LEA smarthost or ISP

Note routing decisions are ignored if you have a smarthost on your Virtual SMTP server - so make sure there isnt  one there of you will get all sorts of "routing loop" problems :)

Regards,

PeteLong
0
 

Author Comment

by:andrewpacey
ID: 24096166
PeteLong,

Thanks for your reply!

We are using Exchange 2003 at both sites.

Both sites are using the same e-mail domain, lets say @grammarschools.co.uk.

If I create SMTP connectors at both ends, will we not end up in a continuous loop for address that cannot be resolved?

Basically I want all mail to come to the exchange box at Site A. It will deliver mail to the mailboxes it knows about at Site A. The ones it doesn't know about, I then want to be sent to Site B. It will deliver mail to the mailboxes it knows about at Site B. If the recipient is still unrecognised, then an NDR is sent out. All outgoing mail for both sites will go via the LEA smarthost.

I asked a question a couple of months back asking if this would be possible, and was told to use the 'forward all mail with unresolved recipients to host' property of the Virtual SMTP Server on Site A.

Hope this makes more sense?

Andy.
0
 

Author Comment

by:andrewpacey
ID: 24096526
PeteLong,

I have taken your advice. I have created an SMTP connector at both ends to send mail for the e-mail domain to the other site. It works perfectly both ways, and externally too once I checked the allow relay box - many thanks.

Still a little concerned what will happen to mail that isn't matched to a mailbox. I've sent a test message to a non existent address at the domain to see what will happen....it's sat in the deferred delivery queue at site A at present....does this mean it is looping round the two sites? Don't have an NDR for it yet!

Any thoughts on this?

Andy.
0

Featured Post

Are your AD admin tools letting you down?

Managing Active Directory can get complicated.  Often, the native tools for managing AD are just not up to the task.  The largest Active Directory installations in the world have relied on one tool to manage their day-to-day administration tasks: Hyena. Start your trial today.

Question has a verified solution.

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

Lotus Notes – formerly IBM Notes – is an email client application, while IBM Domino (earlier Lotus Domino) is an email server. The client possesses a set of features that are even more advanced as compared to that of Outlook. Likewise, IBM Domino is…
This article lists the top 5 free OST to PST Converter Tools. These tools save a lot of time for users when they want to convert OST to PST after their exchange server is no longer available or some other critical issue with exchange server or impor…
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…
To show how to create a transport rule 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 >> Rules tab.:  To cr…
Suggested Courses

770 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