Link to home
Start Free TrialLog in
Avatar of SIES di Andrea Barbon
SIES di Andrea BarbonFlag for Italy

asked on

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
Avatar of Mitch1981
Mitch1981
Flag of Italy image

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.
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.
Avatar of SIES di Andrea Barbon

ASKER

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

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

bye.
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
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.
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.  
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?
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.
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.
ASKER CERTIFIED SOLUTION
Avatar of Mestha
Mestha
Flag of United Kingdom of Great Britain and Northern Ireland image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
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.