Sandy, I'm reposting this as a new topic in case you missed yesterday's
post.  I got the ldap2aliases and aliases2ldap set up and working, but I am
now having a problem where the scripts will process 31 domains and then
start choking.

The aliases2ldap script will process the first 31 domains just fine, but
when it gets to #32 it chokes.  The output of the script when it works looks
like this:

-------------------
Microsoft (R) Windows Script Host Version 5.6 Copyright (C) Microsoft
Corporation 1996-2001. All rights reserved.

Local IMail virtual host: example.com LDAP administrator DN:
cn=root,o=example.com LDAP administrator password: *******

IMail virtual host key:
SOFTWARE\Ipswitch\IMail\Domains\example.com\users\_aliases

---Export Started---

---Begin Aliases---
postmaster: [EMAIL PROTECTED]
abuse: [EMAIL PROTECTED]
---End Aliases---

---Export Finished---
--------------------  

When it gets to number 32 it stops at the "---Export Started---" line and I
get this error:

M:\Imail\ScheduledTasks\aliases2ldap.vbs(74, 1) (null): A device attached to
the system is not functioning.

This error repeats for each of the remaining domains (~60 total).  Sandy,
any suggestions?

The batch file I use to run the thing is pasted below, but it is pretty much
what you said:

--Batch File---
@echo off
M:
cd \imail\scheduledtasks
del /q domlist_*.txt
domlist -list > domlist_step1.txt
find "Domain:" domlist_step1.txt> domlist_step2.txt 
for /f "tokens=2 skip=2" %%i in (domlist_step2.txt) do @echo
%%i>>domlist_final.txt 
for /f %%i in (domlist_final.txt) do cscript aliases2ldap.vbs -lv %%i -d
cn=root,o=%%i -w ****** 
net use w: \\wh3\websites 
copy domlist_final.txt W:\Wilcox\taisweb\downloads 
net use w: /delete



Dan Horne
Web Services Administrator
TAIS Web
Wilcox World Travel & Tours
[EMAIL PROTECTED]
----------------------------------------------------

CONFIDENTIALITY NOTICE:
This email message, including any attachments, is for the sole use of the
intended recipient(s) and may contain confidential and privileged
information. Any unauthorized review, use, disclosure or distribution is
prohibited. If you are not the intended recipient, please contact the sender
by reply email and destroy all copies of the original message.

SPAM-FREE 1.0(2476)



To Unsubscribe: http://www.ipswitch.com/support/mailing-lists.html
List Archive: http://www.mail-archive.com/imail_forum%40list.ipswitch.com/
Knowledge Base/FAQ: http://www.ipswitch.com/support/IMail/

Reply via email to