Solved

How to change the IIS smtp mailroot directory AFTER installation

Posted on 2004-04-09
4
4,960 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
  • 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 Trending Threat Insights Every Day

Enhance your security with threat intelligence from the web. Get trending threat insights on hackers, exploits, and suspicious IP addresses delivered to your inbox with our free Cyber Daily.

Join & Write a Comment

Debug Tools to analyse IIS process: This article focus on taking memory dumps from IIS to determine which code is taking more time and to analyse which calls hangs/causes more CPU usage. To take dumps,download the following. Install1: To st…
Prologue It is often required to host multiple websites on a single instance of IIS, mostly in development environments instead of on production servers. I am sure it is not much a preferred solution on production servers but this is at least a pos…
Internet Business Fax to Email Made Easy - With eFax Corporate (http://www.enterprise.efax.com), you'll receive a dedicated online fax number, which is used the same way as a typical analog fax number. You'll receive secure faxes in your email, fr…
Here's a very brief overview of the methods PRTG Network Monitor (https://www.paessler.com/prtg) offers for monitoring bandwidth, to help you decide which methods you´d like to investigate in more detail.  The methods are covered in more detail in o…

746 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

Need Help in Real-Time?

Connect with top rated Experts

12 Experts available now in Live!

Get 1:1 Help Now