Solved

2 Exchange Servers on the WAN, using smarthost with problems

Posted on 2006-06-15
3
202 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

PRTG Network Monitor: Intuitive Network Monitoring

Network Monitoring is essential to ensure that computer systems and network devices are running. Use PRTG to monitor LANs, servers, websites, applications and devices, bandwidth, virtual environments, remote systems, IoT, and many more. PRTG is easy to set up & use.

Question has a verified solution.

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

Following basic email etiquette rules will help you write a professional email and achieve a good, lasting impression with your contacts.
Read this checklist to learn more about the 15 things you should never include in an email signature.
In this video we show how to create a Distribution Group 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 >>…
The video tutorial explains the basics of the Exchange server Database Availability groups. The components of this video include: 1. Automatic Failover 2. Failover Clustering 3. Active Manager

840 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