Complete.Org: Mailing Lists: Archives: offlineimap: July 2008:
Re: First sync, how to force a copy
Home

Re: First sync, how to force a copy

[Top] [All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index] [Thread Index]
To: "John Goerzen" <jgoerzen@xxxxxxxxxxxx>
Cc: offlineimap@xxxxxxxxxxxx
Subject: Re: First sync, how to force a copy
From: "Jean-Yves Avenard" <jyavenard@xxxxxxxxx>
Date: Sun, 13 Jul 2008 22:37:55 +1000

Hi

2008/7/13 John Goerzen <jgoerzen@xxxxxxxxxxxx>:
> Normally that is what happens on the first sync.  I suspect that you
> either have a configuration problem (involving nametrans) or have an old
> ~/.offlineimap directory sitting around from a previous attempt.

I have offlineimap already synchronising my courier-imap folder with
Microsoft Exchange.

Here is my configuration file

I would change accounts = account into accounts = mobileme here


[general]
accounts = account
metadata = /usr/local/etc/offlineimap/avenardj/.offlineimap

[Account mobileme]
localrepository = Mrepo
remoterepository = Merepo

[Account account]
localrepository = Mrepo
remoterepository = Erepo

[Repository Mrepo]
type = Maildir
localfolders = /data/mail-courier/avenardj
restoreatime = yes

[Repository Erepo]
remoteuser = user
remotepass = password
type = IMAP
remotehost = 192.168.0.12
ssl = yesremoteport = 993
maxconnections = 3
nametrans = lambda foldername: re.sub('^\.INBOX', '.', re.sub('^',
'.', foldername))
folderfilter = lambda foldername: not
re.search('(^Calendar$|^Contacts$|^Journal$|^Notes$|^RSS Feeds$|^Sync
Issues|^Tasks$)', foldername)
holdconnectionopen = yes

[Repository Merepo]
remoteuser = user
remotepass = password
type = IMAP
remotehost = mail.me.com
ssl = yesremoteport = 993
maxconnections = 3
nametrans = lambda foldername: re.sub('^\.INBOX', '.', re.sub('^',
'.', foldername))
folderfilter = lambda foldername: not
re.search('(^Calendar$|^Contacts$|^Journal$|^Notes$|^RSS Feeds$|^Sync
Issues|^Tasks$)', foldername)
holdconnectionopen = yes



[Prev in Thread] Current Thread [Next in Thread]