Solved

conecting exchange server in 2 diffrent sites

Posted on 2008-10-15
13
182 Views
Last Modified: 2010-04-07
I have a domain with 2 sites. I have one exchange 2003 server in each site. The 2 exchange servers are in 2 diffrent administrative groups and different routing groups. I have a routing group connector each to the to and from the 2 routing groups. On the exchange server at the HQ, I have an SMTP connector to a smart host for sending internet mail.
Now, my problem is: I can send mail from the exchange server at the branch to users on the exchange at the HQ, but when I try to send mail from the HQ to users on the exchange server at the branch it tends to go to the smart host that is used for internet mails. Thus the mails never get delivered. Any help pls.
0
Comment
Question by:Dosky
  • 7
  • 6
13 Comments
 
LVL 15

Expert Comment

by:GreatVargas
ID: 22722868
Create two smtp connectors... one with lowest priority and with destination * and using the smart host... another.. with highest priority, defined to be used only when destination is yourdomain.com (domain of the branch).. like this he will always use the highest priority smtp connector when tries to send to the branch.. and to all other destinies he will use the other, trought the smart host.
understood?
give me feedback

hope it helps
regards
António Vargas
0
 

Author Comment

by:Dosky
ID: 22723165
greatvargas, I just tried that but no luck
0
 
LVL 15

Expert Comment

by:GreatVargas
ID: 22723215
have your restarted the smtp service? when you put a smtp connector configured to be used only when destination addresses is *@domainxpto.com and it has the highest priority in the organization, if that connector does not have a smart host configured it should not use one...
check the restart service question and also the way you wrotte the destination domain

hope it helps
regards
António Vargas
0
 

Author Comment

by:Dosky
ID: 22725376
It is not working. Meanwhile I'm a little confused.
Do I use the Default SMTP Virtual server? that is what I'm using for the connector to the smart host for internet mails. You didn't say anything about that.
Creating another SMTP Virtual server has been impossible. it keeps returing error even after i physically installed another NIC and used another IP.
Another thing is the destination address, when I put the @ sign just as you have written it. it doesn't take it except I remove it and just write my domain name.
0
 
LVL 15

Expert Comment

by:GreatVargas
ID: 22727002
yes, you just have to write the domain name. try and place * before the domain name. you need to create another smtp connector..
see http://technet.microsoft.com/en-us/library/aa997301.aspx to try and understand.
one of the connectors uses smart host and other dont.. you only need on smtp virtual server.. hosts will relay trought that.. you can have 10 nics but only one smtp can relay port 25 for server..

regards
0
 

Author Comment

by:Dosky
ID: 22728659
I tried the above but no luck still.

sorry pls, is it not possible I use routing group connector? must I use SMTP connector?
I expect the routing group connector to even be more appropriate since the connection is between 2 exchange servers.
0
Want to promote your upcoming event?

Are you going to an event? Are you going to be exhibiting at a tradeshow? Talking at a conference? Using a promotional banner in your email signature ensures that your organization’s most important contacts stay in the know and can potentially spread the word about the event.

 

Author Comment

by:Dosky
ID: 22729289
Now this is weird.
I removed the exchange completely and then re-installed it to the same administrative group and same routing group with the one in HQ and the problem persist.

Am I supposed to have a connector between 2 servers in the same routing group?

pls help
0
 
LVL 15

Expert Comment

by:GreatVargas
ID: 22729345
You dont need connector when they are in the same admin group. Lets try and understand this carefully. do you have same domain name in both sites? they are both exchange 2007 or 2003? do you get a NDR when trying to send messages from HQ to branch?
0
 

Accepted Solution

by:
Dosky earned 0 total points
ID: 22730570
Whao! problem resolved.

What happened was that the smart host was also defined on the Default SMTP Virtual Server. Not only on the connector. The system was forced to use the smart host since all SMTP traffic goes through the default SMTP Virtual Server.
I only removed the smart host from there and everything works fine. I now have the two servers in the same routing group and no connector is required between them. I will leave it this way since exchange handles TCP/IP very well and the link is not too slow.
0
 
LVL 15

Expert Comment

by:GreatVargas
ID: 22730659
Fantastic :)
yes, you can define the smart host in a upper level (connector) and then get one connector relaying trough the smart host and another going directly.. or in a lower level (smtp virtual server) and then all traffic using that smtp to relay will go trough the smart host. that's why i told you to use another smtp server to relay, beeing in the same admin group the problem was for sure out of the connectors issue.

regards,

António Vargas
0
 
LVL 15

Expert Comment

by:GreatVargas
ID: 22730680
Now, without the smart host in the default smtp server, no mail will be relayed when sent to the Internet. So your relay mail system will do nothing. If you want to configure the relay, do it on the connector and not on the smtp server, you will get relayed mail to the Internet and mail between sites will also work fine.


regards,

António Vargas
0
 

Author Comment

by:Dosky
ID: 22731002
you don't understand. this is how it is now.
I have a connector where the smart host is defined and i relay internet mails through that and it works, since there's no smart host defined on the smtp virtual server I can also send mail to other exchange servers in the same routing group.
If I had the smart host defined on the smtp virtual server I won't be able to send mail to other exchange servers in the routing group as all mail through the smtp virtual server would tend to go through the smart host.

thanks a lot for your help.
0
 
LVL 15

Expert Comment

by:GreatVargas
ID: 22731060
Ok, smart host is defined in the connector. Ok, thats fine them, mail sent from both sites will go trough the smart host. be aware that mail sent from branch site will have to go to your smart host that i supose it is on the main site, but if you have a fast line between them that should not be a problem.

your welcome
regards,

António Vargas
0

Featured Post

How to run any project with ease

Manage projects of all sizes how you want. Great for personal to-do lists, project milestones, team priorities and launch plans.
- Combine task lists, docs, spreadsheets, and chat in one
- View and edit from mobile/offline
- Cut down on emails

Join & Write a Comment

Utilizing an array to gracefully append to a list of EmailAddresses
We are happy to announce a brand new addition to our line of acclaimed email signature management products – CodeTwo Email Signatures for Office 365.
The basic steps you have just learned will be implemented in this video. The basic steps are shown to configure an Exchange DAG in a live working Exchange Server Environment and manage the same (Exchange Server 2010 Software is used in a Windows Ser…
how to add IIS SMTP to handle application/Scanner relays into office 365.

744 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

11 Experts available now in Live!

Get 1:1 Help Now