Solved

2 Exchange Servers on the WAN, using smarthost with problems

Posted on 2006-06-15
3
199 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
3 Comments
 
LVL 5

Accepted Solution

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

Do email signature updates give you a headache?

Do you feel like you are constantly making changes to email signatures? Are the images not formatting how you want them to? Want high-quality HTML signatures on all devices, including on mobiles and Macs? Then, let Exclaimer solve all your email signature problems today.

Join & Write a Comment

"Migrate" an SMTP relay receive connector to a new server using info from an old server.
Marketers need statistics and metrics like everybody else needs oxygen. In this article we explain how to enable marketing campaign statistics for Microsoft Exchange mail.
In this video we show how to create a Contact 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 >> Contact ta…
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…

743 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

13 Experts available now in Live!

Get 1:1 Help Now