[Webinar] Streamline your web hosting managementRegister Today

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

Scripted/unattended creation and configuration of a new SMTP Virtual Server on Exchange 2003 server

I am looking for a way to script (or automate in any way) the creation of a new SMTP Virtual Server on many existing Exchange 2003 servers. The idea is to create a new SMTP Virtual Server and to configure this to allow anonymous access but only allow mail from one specified machine on a specified port. It is crucial that this can be done by script or command line (I prefer VBS, so if this is possible I would be grateful :-)

Thanks in advance
  • 3
  • 2
1 Solution
Hello webfly_,

This addresses the second part of your question (scripting the ACL)



webfly_Author Commented:
Thanks for your answer JimboEfx

I have looked all over for a solution for a way to automate the creation and configuration of a new virtual SMTP server without any luck. Is this really an impossible task to accomplish?
I cant believe that Microsoft doesnt have a way to automate this task. I will now try to create a support case for this at Microsoft. I will post the result here.
I don't know that it is impossible - fact is that most exchange server configuration is held in AD.

TBH I'm not sure this is something I would want to script (ACLs are OK) but scripting an infrastructure service invites all sorts of possibility of error.

I'll be interested to know what MS come  back with.
Free tool for managing users' photos in Office 365

Easily upload multiple users’ photos to Office 365. Manage them with an intuitive GUI and use handy built-in cropping and resizing options. Link photos with users based on Azure AD attributes. Free tool!

webfly_Author Commented:
Heres the answer from Microsoft:

.. There is no supported way a SMTP VS can be created programmatically
Note: This is only possible in Exchange 2007 and it is simple..

I then asked if there was an unsupported way of doing this.
Answer from Microsoft:

..No we don't have any solution to programmatically create a SMTP VS in Exchange 2003..
webfly_Author Commented:
According to Microsoft this can not be done programmatically...
Closed, 500 points refunded.
Site Admin

Featured Post

Has Powershell sent you back into the Stone Age?

If managing Active Directory using Windows Powershell® is making you feel like you stepped back in time, you are not alone.  For nearly 20 years, AD admins around the world have used one tool for day-to-day AD management: Hyena. Discover why.

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