Improve company productivity with a Business Account.Sign Up

x
?
Solved

Forward all mail with unresolved recipients to host

Posted on 2009-04-08
3
Medium Priority
?
2,526 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 58

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

Free Tool: Port Scanner

Check which ports are open to the outside world. Helps make sure that your firewall rules are working as intended.

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.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

If there is anything erroneous with Exchange Database, it causes a significant effect on email communication till the user remounts the database. Further, database crash directly affects Outlook users due to which they are unable to access their ema…
Configure external lookups on for external mail flow on Exchange 2013 and Exchange 2016.
This video discusses moving either the default database or any database to a new volume.
This video shows how to quickly and easily add an email signature for all users on Exchange 2016. The resulting signature is applied on a server level by Exchange Online. The email signature template has been downloaded from: www.mail-signatures…

607 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