• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 668
  • Last Modified:

Second Smarthost

Hi,

I have two external MTA (2 linux server) and both of them receive mail from external domain and relay to my internal Exchange Server. I've configured the Exchange to use as smarthost the first MX. But how can I use the second MX as smarthost (in LOAD BALANCING mode with the first smart host) ?

How can I configure my Exchange 2003 to use the second MX as a second LOAD BALANCED smarthost? Have I to configure more SMTP virtual server ????

Thanks in advance.

Fabio Tonon
Sies srl
0
SIES di Andrea Barbon
Asked:
SIES di Andrea Barbon
  • 6
  • 4
  • 2
1 Solution
 
Mitch1981Commented:
The load balancing shuold be activated from linux servers, but you can use the round robin.
You should create two dns record A and map the two ip address.
With this method, the first session should be use the first linux server, the second use the second linux, the third use the first linux, and go on..

Bye.
0
 
MesthaCommented:
You shouldn't have the smart host set on the SMTP virtual server. It should be set on the SMTP Connector.
If you put both smart hosts on the SMTP connector then Exchange will load balance them automatically.

Simon.
0
 
SIES di Andrea BarbonAuthor Commented:
Hi,
on my NameServer (register.it) I've already created two MX records and two A records for load balancing. I've tested the solution and this do well it's work.
I've already done this on my internal namserver (the Primary and Backup DC's)!!!
I haven't an SMTP connector! Should I use this? Can you explain me the SMTP connector function?

Kind Regards
Fabio Tonon
Sies srl

0
Windows Server 2016: All you need to know

Learn about Hyper-V features that increase functionality and usability of Microsoft Windows Server 2016. Also, throughout this eBook, you’ll find some basic PowerShell examples that will help you leverage the scripts in your environments!

 
Mitch1981Commented:
Here you can read why use the smtp connector:
http://www.msexchange.org/tutorials/Configuring-SMTP-Connector.html

bye.
0
 
SIES di Andrea BarbonAuthor Commented:
Hi,
Do I have to remove the smarthost from the SMTP virtual server if I configure the SMTP connector to use all the 2 MX smarthost??

Kind Regards
Fabio Tonon
Sies srl
0
 
Mitch1981Commented:
isn't necessary because the smtp connector setting override the virtual server smtp settings (but message size limit exception)
For a clean configuration, it's recommended remove smart host from smtp virtual server

Bye.
0
 
MesthaCommented:
The above posting is incorrect.
The SMTP connector does not override the SMTP virtual server setting when it comes to smart host settings.

You MUST remove the smart host from the SMTP virtual server and use an SMTP connector. The smart host setting on the SMTP virtual server should be ignored.

Simon.  
0
 
Mitch1981Commented:
This article:
http://technet.microsoft.com/en-us/library/aa998478(EXCHG.65).aspx

Write this:
---------------------------------
Specifying a smart host

The smart host handles DNS resolution and delivers the mail. Although you can specify a smart host on an SMTP virtual server, it is a good idea to set the smart host on the connector itself.
The smart host setting on the SMTP connector overrides any smart hosts configured on the SMTP virtual server.
---------------------------------
I never used the smart host in the smtp connector and smtp virtual, I always used the smart host in smtp connector.
But this article write that smtp connector override smtp virtual server settings.
Do you have tested this?
0
 
MesthaCommented:
Tested it, seen it happen. First thing on my migration checklist - ensure that there is no smart host on the SMTP virtual server.

The setting on the SMTP virtual server overrides the SMTP Connector.

There are 100s of questions on this site alone where that has been a problem.
That article is incorrect, and there have been repeated attempts to get it corrected.

Simon.
0
 
Mitch1981Commented:
I have tested now, and for me the article it's correct because the smart host in smtp connector override the smart host in smtp virtual server.
I used Exchange 2003 SP2.
0
 
MesthaCommented:
If you were to run the best practises tool it would actually flag a smart host on the SMTP virtual server as a problem and point you to this article. http://technet.microsoft.com/en-us/library/aa997387.aspx

After making the change did you restart any services? How do you know that the message went out over the correct smart host?

It may well be the case if you have smart hosts set on the SMTP virtual server and a smart host on the SMTP connector. I will confess I have never done that. However a smart host on the SMTP virtual server does cause problems is not best practise.

Simon.
0
 
Mitch1981Commented:
Yes, I have restarted the services.
I know that the exchange use the smart host on smtp connector because I have read the message header.
I don't know how to work in other way in your server.
0

Featured Post

Concerto's Cloud Advisory Services

Want to avoid the missteps to gaining all the benefits of the cloud? Learn more about the different assessment options from our Cloud Advisory team.

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