Maildir to Gmail/IMAP? (was: Simplify sync)
alexanders.mailinglists+nospam at gmail.com
Fri Mar 25 11:59:32 GMT 2011
On Thu, Mar 24, 2011 at 17:44, Sebastian Spaeth <Sebastian at sspaeth.de> wrote:
> Pass 1 is never needed on an IMAP server (all messages always have a
> positive UID), it is only when uploading a new message from a Maildir.
This works (or at least, is supposed to… *G*)?
Ie. I should be able to upload from Maildir to IMAP (and also Gmail?)?
In my offlineimaprc, I've got http://nopaste.me/paste/4d8c82a8decf3 :
localrepository = skwar
remoterepository = Local
type = IMAP
remotehost = imap.googlemail.com
ssl = yes
remoteuser = a at skwar.me
remotepass = xyz
maxconnections = 4
expunge = no
subscribedonly = no
realdelete = no
type = Maildir
localfolders = ~/Mail.offlineimap
sep = /
But http://nopaste.paefchen.net/3073 :
--($ ~/Src/oi/offlineimap)-- ./offlineimap.py -a local2skwar -u TTYUI
Copyright (C) 2002 - 2010 John Goerzen <john at complete.org>
This software comes with ABSOLUTELY NO WARRANTY; see the file
COPYING for details. This is free software, and you are welcome
to distribute it under the conditions laid out in COPYING.
Account sync local2skwar:
***** Processing account local2skwar
Thread 'Account sync local2skwar' terminated with exception:
Traceback (most recent call last):
File "/home/i/Src/oi/offlineimap/offlineimap/threadutil.py", line 159, in run
File "/usr/lib/python2.6/threading.py", line 484, in run
File "/home/i/Src/oi/offlineimap/offlineimap/accounts.py", line 183,
self.remoterepos = Repository(self, 'remote')
line 58, in __new__
Exception: 'Maildir' repository not supported for remote repositories.
No debug messages were logged for Account sync local2skwar.
Could you please show a short snippet from an offlineimaprc,
were Maildir is used as the "local" repository and Gmail or IMAP
is the "remote" repository? Ie. where the transfer goes from
Maildir → to Gmail/IMAP?
Thanks a lot,
↯ Lifestream (Twitter, Blog, …) ↣ http://alexs77.soup.io/ ↯
↯ Chat (Jabber/Google Talk) ↣ a.skwar at gmail.com , AIM: alexws77 ↯
More information about the OfflineIMAP-project