Solved

Forward all mail with unresolved recipients to host

Posted on 2009-04-08
3
2,451 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 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

Free eBook: Backup on AWS

Everything you need to know about backup and disaster recovery with AWS, for FREE!

Question has a verified solution.

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

This process describes the steps required to Import and Export data from and to .pst files using Exchange 2010. We can use these steps to export data from a user to a .pst file, import data back to the same or a different user, or even import data t…
How to resolve IMCEAEX NDRs in Exchange or Exchange Online related to invalid X500 addresses.
how to add IIS SMTP to handle application/Scanner relays into office 365.
This video demonstrates how to sync Microsoft Exchange Public Folders with smartphones using CodeTwo Exchange Sync and Exchange ActiveSync. To learn more about CodeTwo Exchange Sync and download the free trial, go to: http://www.codetwo.com/excha…

749 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