Complete.Org: Mailing Lists: Archives: offlineimap: May 2008:
Maildir as remoterepository
Home

Maildir as remoterepository

[Top] [All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index] [Thread Index]
To: offlineimap@xxxxxxxxxxxx
Subject: Maildir as remoterepository
From: Naveen Nathan <naveen@xxxxxxxxxxxxx>
Date: Mon, 19 May 2008 14:29:18 +0000

Hi,

Is Maildir supported as a remoterepository in offlineimap? I can't
seem to find the restrictions on what can be a remoterepository
in the offlineimap documentation anywhere.

I get the following error when I try to run offlineimap (tried both
versions 4.0.16 & 5.99.15):

$ offlineimap -dmaildir -uTTY.TTYUI -a test
...
line 104, in syncrunner
    self.remoterepos = 
offlineimap.repository.Base.LoadRepository(self.getconf('remoterepository'), 
self, 'remote')
  File 
"/home/naveen/local/lib/python2.5/site-packages/offlineimap/repository/Base.py",
 line 35, in LoadRepository
    return typemap[repostype](name, account)
KeyError: 'Maildir'                 


My offlineimaprc looks like this (~/Mail/foo/ is an empty dir):

[Account test]
localrepository = local-test
remoterepository = local-tum

[Repository local-test]
type = Maildir
localfolders = ~/Mail/foo/

[Repository local-tum]
type = Maildir
localfolders = ~/Mail/tum/
folderfilter = lambda fn: fn in [ "INBOX.calpop", "INBOX.cox" ]


Thanks,
Naveen



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