What a coincidence...I've just finished wrestling with similar stuff. The IIS metabase stores things like that, and I believe the IMAP port is one of them. In the metabase, there's a key called /LM/IMAP4SVC/1/ServerBindings. The default value is 143. I assume that's the IMAP port?
If so, you can set it from a perl script by invoking mdutil.exe from your script. You can find mdutil on the Win2k CD in the i386 directory as mdutil.ex_ It doesn't get installed by default, so you'll have to manually extract it. So, from your script, just run mdutil set imap4svc/1/serverbindings ":143:" or whatever you need the port to be. Eric -----Original Message----- From: Vinod Panikar [mailto:vinodp@;mail.com] Sent: Wednesday, November 06, 2002 12:00 PM To: [EMAIL PROTECTED] Subject: resetting IMAP port Hi, Is there any way I can reset the IMAP port using PERL.I have an exchange 5.5 server which at times hangs IMAP port and only solution would be to REBOOT :-( Thanks in advance. -- __________________________________________________________ Sign-up for your own FREE Personalized E-mail at Mail.com http://www.mail.com/?sr=signup Single & ready to mingle? lavalife.com: Where singles click. Free to Search! http://www.lavalife.com/mailcom.epl?a=2116 _______________________________________________ Perl-Win32-Admin mailing list [EMAIL PROTECTED] To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs _______________________________________________ Perl-Win32-Admin mailing list [EMAIL PROTECTED] To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs
