How to move IMAP email from Rackspace to Google Apps using Ubuntu?

view full story

http://askubuntu.com – I'm trying to use imapcopy to move three IMAP email accounts from Rackspace to a new Google Apps account. imapcopy doesn't work with SSL, so I'm using stunnel as described here: In terminal A, open stunnel to connect to gmail In terminal B, run imapcopy For some reason I can't fathom, all I get is: Unable to connect to destination imap-server "imap.gmail.com:1143" I've tried various combinations (gmail/googlemail, 1143/143) and am completely stuck. Any ideas? (HowTos)