Solved

How to change the IIS smtp mailroot directory AFTER installation

Posted on 2004-04-09
4
5,116 Views
Last Modified: 2012-06-21
During installation of IIS smtp service I had to choose wich folder to use as mailroot dir. Now I want to change the mailroot dir for the default smtp virtual server, but I can only change the dir for badmails. How do I change the directory for the mailroot that contains all my smtp folders ????
0
Comment
Question by:krogstrup
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
4 Comments
 
LVL 37

Expert Comment

by:meverest
ID: 10790021
is it the maildrop you want to change?  that is associated with each of the local domains as set under the relevant smtp server.

cheers,  Mike.
0
 

Author Comment

by:krogstrup
ID: 10790045
yes - its the maildrop (and all the other folders; drop, mailbox, pickup, queuee etc)

I know that I can specify the home folder when I create a new virtual smtp server, but why cant I change this setting for my default virtual smtp server ?

Even thought I uninstall the smtp service and install it again - I´m not asked where to put these folders ?!?

PS: First time I installed the smtp service I was asked where to put the mailroot folder, but now I cant change this to a new folder ?!?
0
 
LVL 6

Accepted Solution

by:
BAlexandrov earned 100 total points
ID: 10790408
You have to modify methadata information for IIS.
There are two methods. Use IIS Resource kit - get it from Microsoft. And there was Metadata Explorer.
Other way is to use adsutil.vbs from Intepub/Adminscripts

With adsutil.vbs - from command prompt
this will list settings for the first smtp instance.
adsutil.vbs enum /SmtpSvc/1
It is tree-like structure. You can view other paths if you use enum on higher node.
There you will notice parameters
DropDirectory
BadMailDirectory
PickupDirectory
QueueDirectory
You can set them with
adsutil.vbs SET /SmtpSvc/1/BadMailDirectory "f:\forgotten_one"

PS. If asked first time to register cscript as defualt engine - answer yes, or always start adsutil.vbs like "cscript adsutil.vbs"

HTH
Bojidar Alexandrov
0
 

Author Comment

by:krogstrup
ID: 10790434
PERFECT - thanks a lot !!!!

:-)

Regards

David Krogstrup
0

Featured Post

Free Tool: Subnet Calculator

The subnet calculator helps you design networks by taking an IP address and network mask and returning information such as network, broadcast address, and host range.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Running classic asp applications under Windows Server 2008 R2 (x64) and IIS 7 is not as easy as one may think. It took me a while to figure it out while getting error 8002801d a few times. After you install the OS you will need to install the fol…
If you are a web developer, you would be aware of the <iframe> tag in HTML. The <iframe> stands for inline frame and is used to embed another document within the current HTML document. The embedded document could be even another website.
I've attached the XLSM Excel spreadsheet I used in the video and also text files containing the macros used below. https://filedb.experts-exchange.com/incoming/2017/03_w12/1151775/Permutations.txt https://filedb.experts-exchange.com/incoming/201…

738 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question