Groups | Blog | Home
all groups > iis smtp nntp > august 2004 >

iis smtp nntp : SMTP location



Thomas Brooks
8/10/2004 11:49:22 AM
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.nospam NO[at]SPAM zina.com
8/10/2004 5:32:05 PM
On Tue, 10 Aug 2004 11:49:22 -0400, "Thomas Brooks" <ttg@yahoo.com>
[quoted text, click to view]

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.

Ken Schaefer
8/11/2004 2:07:12 PM

[quoted text, click to view]


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

AddThis Social Bookmark Button