We help IT Professionals succeed at work.

IIS With several SMTP Smarthost

Medium Priority
Last Modified: 2012-05-06
We have a couple of IIS servers that is going to sniff for mail content that is sensitive company information.
We need this SMTP connector to deliver mail to a vireus scanning engine, we have 4 with 4 different ips, not ha or anything. So we need to configure smarthosts on the SMTP Connector in IIS?

How is this done?
Watch Question

Vishnu KiranPrincipal Support Engineer

Hi GMH77,

Please visit the below link:


Hope this helps for your configuration.




This is helpfull information when installing/configuring IIS.

My issue is that I want to use two smarthosts on one Virtual SMTP Connector.
I need to deliver e-mails to one of the virus scanners that the SMTP traffic should pass trough for virus/malware scanning.

We do not have any load balancer or HA solution on the virus scanners, just two ip adresses.
And, we have to use the IIS SMTP, we cant use Exchange that would have solved the whole thing
Like this [,]
Vishnu KiranPrincipal Support Engineer

Hi GMH77,

Could you check this Microsoft technet article which discuss on how to configuring an SMTP Connector.





PS! This is not an Exchange konfiguration.
E-mails will be recived from an Exchange server doh - this is an stand alone SMTP Server with scanning software implemented.

Its seems like MS IIS SMTP dont support multiple smarthosts.
If anyone know of an other solution to this, please help :)
SMTP Virtual Connectors only support one smarthost entry configuration.  SMTP Connector in Exchange however does through this (if you did not already have the instructions):

SMTP Connector -> Properties -> General tab, select "Forward all mail through this connector to the following smart hosts:" -> enter multiple domain names separated by semi-colons ( example1.mail.com;example2.mail.com ), or multiple IP addresses individually encased in square brackets separated by semi-colons ( [];[] ).

The solution with your type of configuration is to use a regular SMTP Connector in Exchange with multiple smarthost addresses pointing to multiple addresses you have tied to the multiple scanners.  You may have to break up and setup multiple virtual servers to scan with, if you have not already done so, and/or set up some funky internal network routing and rules to separate/differentiate between the scanners with their own addresses.  With what you have, this is how it would need to be set up.

Not the solution you were looking for? Getting a personalized solution is easy.

Ask the Experts
Access more of Experts Exchange with a free account
Thanks for using Experts Exchange.

Create a free account to continue.

Limited access with a free account allows you to:

  • View three pieces of content (articles, solutions, posts, and videos)
  • Ask the experts questions (counted toward content limit)
  • Customize your dashboard and profile

*This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.


Please enter a first name

Please enter a last name

8+ characters (letters, numbers, and a symbol)

By clicking, you agree to the Terms of Use and Privacy Policy.