Improve company productivity with a Business Account.Sign Up

x
?
Solved

2 Exchange Servers on the WAN, using smarthost with problems

Posted on 2006-06-15
3
Medium Priority
?
212 Views
Last Modified: 2010-03-06
I have 2 Exchange servers, one in NY and one in ZH. I have user mailboxes on both servers and they communicated just fine within our WAN (via a VPN).  Mails pass freely between the two sites without a problem.  The users all have a standard email addresses, with multiple aliases.  All user's email addresses are set to a single standard address of companyname.com.

Until yesterdayeverything was working fine.  One of the servers got put on a RBL list and we went and addressed the problem and had the server removed from the list.  During that time, however, we set up the server to send emails via a smarthost that our security providers had set up for us (for other firewall and vpn purposes).  There was an interesting side effect which was that this server was set to route all traffice that goes to companyname.com to the NY server and all traffice that goes to companyname.ch to the Zurich server.  Problem is, as mentioned above, all users in the company have default email address set in Active Directory as companyname.com.  So all mails being sent to Zurich users were set to STMP queue and sending to zh-exchange.companyname.com (which is resolved correctly from the Exchange server, mind you).  When the virtual SMTP queue hit the smarthost, the smart host saw that the address was companyname.com and rerouted the mails back down to the NY server.  The STMP server queue never got an ack so it had the messages set to retry and that's how I found it this morning.  

Removing the smarthost cleared the queue without problems.

My question:  Is there a way to set the smarthost for external emails and set up a route for internal, WAN servers where mails will not be sent via smarthost first.  As I understand it, addresses are resolved either via DNS or smarthost.  If you define nothing, uses DNS, which is why this worked before.  If you define smarthost, ALL messages travel out via the smtp connector through the smarthost.

Any thoughts?

Thanks.

0
Comment
Question by:hglobus
1 Comment
 
LVL 5

Accepted Solution

by:
Amitspeedstar earned 2000 total points
ID: 16912123

This is possible , create two smtp connectors .
 

On first connector put the address space as "*" and choose from the general tab the option "forward all mail through this connector to the following smart host ". and give the smart host thr .
this would be for ur external mails .

On second connector put the address as ur internal address domain name . and on the general tab choose the second option " use DNS to route each address on this connector ".
this would be for ur internal domain names .

But be sure to put the first connectors priority above the second connector .i.e ur external mail connector would have a higher prirority over ur internal mail connector .


Thsi should resolve ur problem .


Amit.
0

Featured Post

Making Bulk Changes to Active Directory

Watch this video to see how easy it is to make mass changes to Active Directory from an external text file without using complicated scripts.

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

Disk errors can be the source of sundry problems for the Exchange server, the most common one being that the database fails to mount.
This article involves a discussion about issues people have when it comes to Client Access in relating to Load Balancing in an Exchange environment which we had ourselves, along with a solution I found to the problem.
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…
This video tutorial shows you the steps to go through to set up what I believe to be the best email app on the android platform to read Exchange mail.  Get the app on your phone: The first step is to make sure you have the Samsung Email app on your …

595 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