offlineimap & dovecot

Sebastian Spaeth Sebastian at SSpaeth.de
Thu May 5 16:30:38 BST 2011


On Thu, 05 May 2011 10:37:48 -0400, mah at everybody.org wrote:

Yes, if you can you will have an easier life and quicker sync with
IMAP<->Maildir with offlineimap.

>     Maildir/cur -> Maildir/INBOX/cur
>     Maildir/new -> Maildir/INBOX/new
>     Maildir/tmp -> Maildir/INBOX/tmp
>     Maildir/.INBOX.spam -> Maildir/INBOX.spam

A very quick and hackish nametrans that could work (untested):

nametrans = re.sub('^INBOX','.INBOX',re.sub(r'^INBOX$',r'','INBOX'))

'INBOX' -> ''
'INBOX.spam' -> '.INBOX.spam'

Does it work?

Sebastian
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 197 bytes
Desc: not available
URL: <http://alioth-lists.debian.net/pipermail/offlineimap-project/attachments/20110505/1461788e/attachment-0001.sig>


More information about the OfflineIMAP-project mailing list