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
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

James MontgomeryCommented:
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.
James MontgomeryCommented:
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.
Problems using Powershell and Active Directory?

Managing Active Directory does not always have to be complicated.  If you are spending more time trying instead of doing, then it's time to look at something else. For nearly 20 years, AD admins around the world have used one tool for day-to-day AD management: Hyena. Discover why

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..

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
webfly_Author Commented:
According to Microsoft this can not be done programmatically...
Closed, 500 points refunded.
Site Admin
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Email Protocols

From novice to tech pro — start learning today.