IIS and SMTP - SMTP location

This is Interesting: Free IT Magazines  
Home > Archive > IIS and SMTP > August 2004 > SMTP location





You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

Author SMTP location
Thomas Brooks

2004-08-10, 5:55 pm

Platform: IIS 6

I have already installed IIS (WWW and SMTP) on my server. What I want to do
is either move \inetpub to a different drive or uninstall IIS and be able to
specify the drive the INETPUB is located on. What is the fastest and how do
I accomplish?

Thanks.


Jeff Cochran

2004-08-10, 5:55 pm

On Tue, 10 Aug 2004 11:49:22 -0400, "Thomas Brooks" <ttg@yahoo.com>
wrote:

>I have already installed IIS (WWW and SMTP) on my server. What I want to do
>is either move \inetpub to a different drive or uninstall IIS and be able to
>specify the drive the INETPUB is located on. What is the fastest and how do
>I accomplish?


Use Windows Explorer, drag and dro it where you want it. There's no
magic about it's location. You need to update the home directory
location for your web sites to match.

Jeff
Ken Schaefer

2004-08-11, 2:50 am


"Thomas Brooks" <ttg@yahoo.com> wrote in message
news:OtJ6bGvfEHA.644@tk2msftngp13.phx.gbl...
> Platform: IIS 6
>
> I have already installed IIS (WWW and SMTP) on my server. What I want to
> do
> is either move \inetpub to a different drive or uninstall IIS and be able
> to
> specify the drive the INETPUB is located on. What is the fastest and how
> do
> I accomplish?



Hi,

For the WWW websites, just create folders wherever you want to, and update
the Home Directory location for each website.

For the SMTP service, you can edit the metabase (after creating the
necessary folders elsewhere) so that the SMTP virtual server uses the new
folders:

cscript.exe c:\inetpub\adminscripts\adsutil.vbs set smtpsvc/1/dropdirectory
x:\mailroot\drop
cscript.exe c:\inetpub\adminscripts\adsutil.vbs set
smtpsvc/1/badmaildirectory x:\mailroot\badmail
cscript.exe c:\inetpub\adminscripts\adsutil.vbs set
smtpsvc/1/pickupdirectory x:\mailroot\pickup
cscript.exe c:\inetpub\adminscripts\adsutil.vbs set smtpsvc/1/queuedirectory
x:\mailroot\queue

Change x:\mailroot to be the path you want the directories to be now.

If you want to set these things as part of IIS installation you need to do
an unattended install (either as part of the OS install via
unattend.txt -or- as part of GUIRunOnce via sysocmgr.exe etc. See
http://support.microsoft.com/?id=309506 for more information on getting
started, and the Unattended setup help located (if I recall correctly) in
the \ValueAdd folder of your OS setup CD.

Cheers
Ken


Sponsored Links






Free braindumps | Software forum | Database administration forum

Copyright 2003 - 2008 webservertalk.com