On Tue, Apr 02, 2002 at 12:59:13PM -0500, Shawn McMahon wrote: > begin quoting what David Champion said on Tue, Apr 02, 2002 at 11:47:51AM -0600: > > For doing this between two servers *neither* of which you have access > > to, I don't see a way to automate it, since there's no direct means of > > getting the folder tree structure in mutt and passing it to a script. > > But if you can use another IMAP tool (or cobble your own) to get that > > list, you can use a similar approach. > > http://search.cpan.org/doc/DJKERNEN/Mail-IMAPClient-2.1.3/IMAPClient.pm
I've tried IMAPClient-2.1.4, too. But I don't see a straightforward way of piping an IMAP folder from one server to the other, short of reading every message to a file then appending that file to the destination server, while modifying the headers necessary to complete the operation. I've also e-mailed the author of the module about clarification of the doc, but haven't heard back from him. Robert