Complete.Org: Mailing Lists: Archives: offlineimap: October 2003:
MailDir INBOX/cur format
Home

MailDir INBOX/cur format

[Top] [All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index] [Thread Index]
To: offlineimap@xxxxxxxxxxxx
Subject: MailDir INBOX/cur format
From: Alex Martin Ugalde <alex.martin@xxxxxxxxxxx>
Date: Mon, 20 Oct 2003 16:48:22 +0200

Hi all,

        I'm trying to use offlineimap to syncronize my mails via IMAP,
but i'm finding some problems to obtain the same MailDir tree.

At remote machine (imap host), i have the following MailDir structure:

        cur
        new
        tmp
        .Draft/cur
        .Draft/new
        .Draft/tmp
        .Trash/cur
        .Trash/new
        .Trash/tmp
        .Sent/cur
        .Sent/new
        .Sent/tmp

When i syncronize my remote email, i finally get the following MailDir
structure at my local machine:

        INBOX/cur
        INBOX/new
        INBOX/tmp
        .Draft/cur
        .Draft/new
        .Draft/tmp
        .Trash/cur
        .Trash/new
        .Trash/tmp
        .Sent/cur
        .Sent/new
        .Sent/tmp

My question is, how can i obtain "cur" directory instead  "INBOX/cur"
nested directory?

This is my .offlineimaprc file:
[general]
accounts = Test
ui = Noninteractive.Quiet

[Account Test]
localrepository = Local
remoterepository = Remote

[Repository Local]
type = Maildir
localfolders = ~/Test

[Repository Remote]
type = IMAP
remotehost = imap.host
remoteuser = imapuser
remotepass = imappwd
nametrans = lambda foldername: re.sub('^INBOX.', '.', foldername)

Regards,
Alex Martin


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