I ran IMAPCopy as you suggested however get the following errors.
I have no idea but I suspect there is something wrong with the changes you made in the cfg file. When I did this I just entered the data for the servers and user and left the names of the folders blank and they all came through. You might want to talk to the people that developed the program. That said, did you test it first? Did you set the debug files to show what's going on?
HOW TO USE IT
First edit the configuration file (ImapCopy.cfg) and adjust the source
and destinationserver. Add the source and destination users and
passwords. The following sample copys the users "foo" and "bar" from
server source.imap.com port 143 to server dest.imap.com port 145.
Passwords for foo are "foosrcpw" and "foodestpw", for bar "barsrcpw" and
"bardstpw". The folders "Trash", "Sent" and "Sent Objects" will not be
copied.
<tt>SourceServer source.imap.com</tt>
<tt>SourcePort 143</tt>
<tt>DestServer dest.imap.com</tt>
<tt>DestPort 145</tt>
<tt>#CreateEmptyFolders</tt>
<tt>skipfolder INBOX.Trash</tt>
<tt>skipfolder INBOX.Sent</tt>
<tt>skipfolder "INBOX.Sent Objects"</tt>
<tt># SourceUser
</tt>
SourcePassword DestinationUser DestinationPassword
<tt>Copy "foo"
</tt>
"foosrcpw"
"foo" "foodestpw"
<tt>Copy "bar"
</tt>
"barsrcpw"
"bar" "bardestpw"
Now verify that all users and passwords are correct:
<tt>imapcopy -t</tt>
You will get:
<tt>P:\LIB\TOOLS\ImapCopy>imapcopy -t</tt>
<tt>Login on sourceserver as foo OK</tt>
<tt>Login on destinationserver as foo OK</tt>
<tt>Getting folderlist on sourceserver OK, found 16 folder</tt>
<tt>Login on sourceserver as bar OK</tt>
<tt>Login on destinationserver as bar OK</tt>
<tt>Getting folderlist on sourceserver OK, found 122 folder</tt>
<tt>2 User processed, 0 Messages copied, 0 Error(s)</tt>
<tt>0 Folder(s) created, 0 Folder create errors, 0 Folder not copied</tt>
You can also show some information about the used servers:
<tt>imapcopy -i</tt>
<tt>Server-Info
</tt>
: Courier-IMAP ready. Copyright 1998-2001 Double Precision, Inc.
See COPYING for distribution information.
<tt>Capabilities :
</tt>
IMAP4REV1 CHILDREN NAMESPACE THREAD=ORDEREDSUBJECT THREAD =REFERENCES
SORT
<tt>Personal Namespace : INBOX</tt>
<tt>Folder sperator : .</tt>
<tt>other Users Namespace:</tt>
<tt>Public Namespace : shared</tt>
<tt>Folders to copy : ALL</tt>
<tt>Skip this folders : NONE</tt>
<tt>Destinationserver:</tt>
<tt>==================</tt>
<tt>Server-Info :
</tt>
Domino IMAP4 Server Release 5.0.8 ready Sun, 12 Aug 2001 17:09:36
+0200
<tt>Capabilities :
</tt>
IMAP4REV1 AUTH=LOGIN AUTH-LOGIN LITERAL+
<tt>Personal Namespace :</tt>
<tt>Folder sperator : \</tt>
<tt>other Users Namespace:</tt>
<tt>Public Namespace :</tt>
Currently all private folders and messages are copyed. Public and
other users folders will be skipped. You can specify additional folders
that will not be copied (with skipfolder in configfile or -S on
commandline). You can also specify folders that will be copied (with
copyfolder in configfile or -O on commandline).
Before starting a full copy you should do a copy to a testuser with
the commandline-option -1. This will copy only the first message from
each folder. After that you can verify that folders can be created and
messages can be copied in general.
Note: Some users reported problems regarding flags. With some servers
the flags from the source server are not compatible with the supported flags on
the destination server. If you have problems copying mails, please try to enable
the AllowFlags directive in the config file.
<blockquote>I ran IMAPCopy as you suggested however get the following errors.</blockquote><p>I have no idea but I suspect there is something wrong with the changes you made in the cfg file.&nbsp; When I did this I just entered the data for the servers and user and left the names of the folders blank and they all came through.&nbsp; You might want to talk to the people that developed the program.&nbsp; That said, did you test it first?&nbsp; Did you set the debug files to show what's going on?
</p><h1>HOW TO USE IT</h1>
First edit the configuration file (ImapCopy.cfg) and adjust the source
and destinationserver. Add the source and destination users and
passwords. The following sample copys the users "foo" and "bar" from
server source.imap.com port 143 to server dest.imap.com port 145.
Passwords for foo are "foosrcpw" and "foodestpw", for bar "barsrcpw" and
"bardstpw". The folders "Trash", "Sent" and "Sent Objects" will not be
copied.
<p><tt>SourceServer source.imap.com</tt>
<tt>SourcePort 143</tt>
<tt>DestServer dest.imap.com</tt>
<tt>DestPort 145</tt></p>
<p><tt>#CreateEmptyFolders</tt></p>
<p><tt>skipfolder INBOX.Trash</tt>
<tt>skipfolder INBOX.Sent</tt>
<tt>skipfolder "INBOX.Sent Objects"</tt></p>
<p><tt>#&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; SourceUser
SourcePassword&nbsp;&nbsp; DestinationUser DestinationPassword</tt>
<tt>Copy&nbsp;&nbsp;&nbsp; "foo"&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
"foosrcpw"&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
"foo"&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; "foodestpw"</tt>
<tt>Copy&nbsp;&nbsp;&nbsp; "bar"&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
"barsrcpw"&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
"bar"&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; "bardestpw"</tt> </p>
<p>Now verify that all users and passwords are correct:</p>
<p><tt>imapcopy -t</tt></p>
<p>You will get:</p>
<p><tt>P:\LIB\TOOLS\ImapCopy&gt;imapcopy -t</tt>
<tt>Login on sourceserver as foo OK</tt>
<tt>Login on destinationserver as foo OK</tt>
<tt>Getting folderlist on sourceserver OK, found 16 folder</tt>
<tt>Login on sourceserver as bar OK</tt>
<tt>Login on destinationserver as bar OK</tt>
<tt>Getting folderlist on sourceserver OK, found 122 folder</tt></p>
<p><tt>2 User processed, 0 Messages copied, 0 Error(s)</tt>
<tt>0 Folder(s) created, 0 Folder create errors, 0 Folder not copied</tt> </p>
<p>You can also show some information about the used servers:</p>
<p><tt>imapcopy -i</tt></p>
<p><tt>Server-Info&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
: Courier-IMAP ready. Copyright 1998-2001 Double Precision, Inc.&nbsp;
See COPYING for distribution information.</tt>
<tt>Capabilities&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; :
IMAP4REV1 CHILDREN NAMESPACE THREAD=ORDEREDSUBJECT THREAD =REFERENCES
SORT</tt>
<tt>Personal Namespace&nbsp;&nbsp; : INBOX</tt>
<tt>Folder sperator&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; : .</tt>
<tt>other Users Namespace:</tt>
<tt>Public Namespace&nbsp;&nbsp;&nbsp;&nbsp; : shared</tt>
<tt>Folders to copy&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; : ALL</tt>
<tt>Skip this folders&nbsp;&nbsp;&nbsp; : NONE</tt></p>
<p><tt>Destinationserver:</tt>
<tt>==================</tt>
<tt>Server-Info&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; :
Domino IMAP4 Server Release 5.0.8&nbsp; ready Sun, 12 Aug 2001 17:09:36
+0200</tt>
<tt>Capabilities&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; :
IMAP4REV1 AUTH=LOGIN AUTH-LOGIN LITERAL+</tt>
<tt>Personal Namespace&nbsp;&nbsp; :</tt>
<tt>Folder sperator&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; : \</tt>
<tt>other Users Namespace:</tt>
<tt>Public Namespace&nbsp;&nbsp;&nbsp;&nbsp; :</tt></p>
<p><b>Currently all private folders and messages are copyed.</b> Public and
other users folders will be skipped. You can specify additional folders
that will not be copied (with skipfolder in configfile or -S on
commandline). You can also specify folders that will be copied (with
copyfolder in configfile or -O on commandline).</p><p>
Before starting a full copy you should do a copy to a testuser with
the commandline-option -1. This will copy only the first message from
each folder. After that you can verify that folders can be created and
messages can be copied in general.
<u><b>Note:</b></u> Some users reported problems regarding flags. With some servers
the flags from the source server are not compatible with the supported flags on
the destination server. If you have problems copying mails, please try to enable
the AllowFlags directive in the config file.</p><p>&nbsp;</p><p>&nbsp;</p>