Solved

Forward all mail with unresolved recipients to host

Posted on 2009-04-08
3
2,436 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
  • 2
3 Comments
 
LVL 57

Accepted Solution

by:
Pete Long earned 500 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

The problems with reply email signatures

Do you wish that you could place an email signature under a reply? Well, unfortunately, you can't. That great Exchange/Office 365 signature you've created will just appear at the bottom of an email chain. What a pain! Is there really no way to solve this? Well, there might be...

Question has a verified solution.

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

ADCs have gained traction within the last decade, largely due to increased demand for legacy load balancing appliances to handle more advanced application delivery requirements and improve application performance.
Local Continuous Replication is a cost effective and quick way of backing up Exchange server data. The following article describes the steps required to configure Local Continuous Replication. Also, the article tells you how to restore from a backup…
In this video we show how to create a Distribution Group 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 >>…
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…

867 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

Need Help in Real-Time?

Connect with top rated Experts

19 Experts available now in Live!

Get 1:1 Help Now