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

Re: MailDir INBOX/cur format

[Top] [All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index] [Thread Index]
To: offlineimap@xxxxxxxxxxxx
Cc: Alex Martin Ugalde <alex.martin@xxxxxxxxxxx>
Subject: Re: MailDir INBOX/cur format
From: Randy Orrison <randy@xxxxxxxxxxx>
Date: Mon, 20 Oct 2003 16:43:11 +0100

Alex Martin Ugalde wrote:
> 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?

What I've done to solve the exact same problem on my local machine is
$ ln -s . INBOX

which results in INBOX/cur getting redirected to ./cur (and likewise new 
and tmp).  Works a treat.

Randy Orrison




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