[Dovecot] sync with gmail?
Now that gmail added imap, I've been trying to see if I can sync gmail/imap with my local dovecot maildir. I've been trying offlineimap. So far, I've created a loop resulting in a directory with size > 1000000 entries.
Anyone try this and have a working setup?
On Thu, 1 Nov 2007, Neal Becker wrote:
Now that gmail added imap, I've been trying to see if I can sync gmail/imap with my local dovecot maildir. I've been trying offlineimap. So far, I've created a loop resulting in a directory with size > 1000000 entries.
I haven't tried, but:
Are you using offlineimap in IMAP<->Maildir mode, or IMAP<->IMAP mode? I found the former way stabler.
You might also try the offlineimap mailing list.
I wish you good luck, and I'm interested to hear more. More verbosity from you would help, like what options you tried and if there were any errors, etc.
-- Asheesh.
-- $100 invested at 7% interest for 100 years will become $100,000, at which time it will be worth absolutely nothing. -- Lazarus Long, "Time Enough for Love"
On Thursday 01 November 2007, Asheesh Laroia wrote:
On Thu, 1 Nov 2007, Neal Becker wrote:
Now that gmail added imap, I've been trying to see if I can sync gmail/imap with my local dovecot maildir. I've been trying offlineimap. So far, I've created a loop resulting in a directory with size > 1000000 entries.
I haven't tried, but:
Are you using offlineimap in IMAP<->Maildir mode, or IMAP<->IMAP mode? I found the former way stabler.
You might also try the offlineimap mailing list.
I wish you good luck, and I'm interested to hear more. More verbosity from you would help, like what options you tried and if there were any errors, etc.
I tried Imap<->Maildir. That was easy to setup without messing up my existing imap (just use cp -al old-maildir new-maildir). I guess to do Imap<->Imap I could create another user account on my dovecot server (I'm the only user on that system, it's just using local accounts and local unix auth).
.offlineimaprc is attached. I wanted to try syncing just 1 folder (fetchmail). I've never used offlineimap before, and was just guessing at some of the settings.
On Thu, 1 Nov 2007, Neal Becker wrote:
I tried Imap<->Maildir. That was easy to setup without messing up my existing imap (just use cp -al old-maildir new-maildir). I guess to do Imap<->Imap I could create another user account on my dovecot server (I'm the only user on that system, it's just using local accounts and local unix auth).
Yeah, I guess you could try it, but it's even less likely to work than IMAP<->Maildir.
.offlineimaprc is attached. I wanted to try syncing just 1 folder (fetchmail). I've never used offlineimap before, and was just guessing at some of the settings.
Your settings look reasonable. Try on the offlineimap list.
-- Asheesh.
-- Chemist who falls in acid is absorbed in work.
On Fri, November 2, 2007 2:16 am, Neal Becker wrote:
Now that gmail added imap, I've been trying to see if I can sync gmail/imap with my local dovecot maildir. I've been trying offlineimap. So far, I've created a loop resulting in a directory with size > 1000000 entries.
Anyone try this and have a working setup?
Why not install simple IMAP server on your local machine and then use imapsync to transfer the data (or use Dovecot if its already installed)? All you need then is to tell your local IMAP to use Maildir.
Imapsync is very easy to use and also very reliable (my own oppinion). Since it's Perl it's not as fast as it could be but it should be just fine for your needs.
- Mikkel
participants (3)
-
Asheesh Laroia
-
mikkel@euro123.dk
-
Neal Becker