[Webinar] Streamline your web hosting managementRegister Today

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 2511
  • Last Modified:

Forward all mail with unresolved recipients to host

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
andrewpacey
Asked:
andrewpacey
  • 2
1 Solution
 
Pete LongTechnical ConsultantCommented:
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
 
andrewpaceyAuthor Commented:
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
 
andrewpaceyAuthor Commented:
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 for managing users' photos in Office 365

Easily upload multiple users’ photos to Office 365. Manage them with an intuitive GUI and use handy built-in cropping and resizing options. Link photos with users based on Azure AD attributes. Free tool!

  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now