[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
imapsync hangs when copying gmail to google apps
|
From |
Jay Strauss <me at heyjay dot com> |
|
Subject |
imapsync hangs when copying gmail to google apps |
|
Date |
Sun, 18 Jan 2009 09:26:28 -0600 |
Bonjour (that's the extent of what I remember from 2 yrs of high
school French :),
I'm trying to move my gmail account to google apps. (Astonishing that
Google has not made a simple utiltity to do this, since I imagine
there are many gmail users trying to do this).
So I'm using the following, but nothing happens. I just hang. Even
weirder is it used to work the other day. I'm running upon a ubuntu
8.10 install with perl 5.10 (as you can see below)
(usernames changed to protect the innocent :)
jstrauss at black:~$ imapsync --version
1.252
jstrauss at black:~$ cat gmailt
imapsync --host1 imap.gmail.com \
--port1 993 --user1 from_name at gmail dot com \
--passfile1 ./mailpass --ssl1 \
--host2 imap.gmail.com \
--port2 993 --user2 me at to_domain dot com \
--passfile2 ./mailpass --ssl2 \
--regexmess 's/Delivered-To: from_name\ at gmail dot com/Delivered-To:
me\ at to_domain dot com/g' \
--regexmess 's/<from_name\ at gmail dot com>/<me\ at to_domain dot com>/g' \
--regexmess 's/Subject:(\s*)\n/Subject: (no--subject)$1\n/g' \
--regexmess 's/Subject: ([Rr][Ee]):(\s*)\n/Subject: $1: (no--subject)$2\n/g'
When it runs I get:
jstrauss at black:~$ ./gmailt
$RCSfile: imapsync,v $ $Revision: 1.252 $ $Date: 2008/05/08 02:30:17 $
Here is a [linux] system (Linux black 2.6.27-9-generic #1 SMP Thu Nov
20 21:57:00 UTC 2008 i686)
with perl 5.10.0 and the module Mail::IMAPClient version used here is 2.2.9
Command line used :
/usr/bin/imapsync --host1 imap.gmail.com --port1 993 --user1
from_name at gmail dot com --passfile1 ./mailpass --ssl1 --host2
imap.gmail.com --port2 993 --user2 me at to_domain dot com --passfile2
./mailpass --ssl2 --regexmess s/Delivered-To:
from_name\ at gmail dot com/Delivered-To: me\ at to_domain dot com/g --regexmess
s/<from_name\ at gmail dot com>/<me\ at to_domain dot com>/g --regexmess
s/Subject:(\s*)\n/Subject: (no--subject)$1\n/g --regexmess s/Subject:
([Rr][Ee]):(\s*)\n/Subject: $1: (no--subject)$2\n/g
Turned ON syncinternaldates, will set the internal dates on host2 same as host1.
TimeZone:[CST]
Will try to use CRAM-MD5 authentication on host1
Will try to use CRAM-MD5 authentication on host2
>From imap server [imap.gmail.com] port [993] user [from_name at gmail dot com]
To imap server [imap.gmail.com] port [993] user [me at to_domain dot com]
Banner: No banner
Host imap.gmail.com says it has NO CAPABILITY for AUTHENTICATE CRAM-MD5
Then it just sits and does nothing. No screen output, nothing.
Any ideas?
Thanks
Jay