I manage a set of SMTP servers used for sending emails for a few of our applications. I found out from one of our clients today that I need to add 80 domains for TLS support. This is required to maintain the TLS agreement between our companies.
For IIS 6 SMTP server you need to add a new remote domain for each domain you want to add TLS support for. To avoid having to do this by hand, and have a way to stand up a server quickly in the future I would like to script this. I have not had good luck in finding details on adding remote domains and enabling them for TLS, so I am hoping someone could give some scripting examples or other suggestions. VBS or Powershell for scripting.