imap mail upload to gmail, ruby class
When Evolution and Iceape were having trouble copying thousands of messages to Gmail via Imap, i made this Ruby class that works fine. The machine is now uploading. Logged 1 only error, due to a 25MB attachment, in the first 831 msg's.
$ ./2gmail.rb mbox_file gmail_folder startingmsg
if the "gmail_folder" gmail label does not exist, it is created.