Hello Oswald,

On 5/29/20 12:35 PM, Oswald Buddenhagen wrote:
> On Fri, May 29, 2020 at 10:13:55AM +0200, Uwe Kleine-König wrote:
>> I want to sync mail from an IMAP server to a subfolder on my local
>> machine. The goal is to e.g. get the remote folder /lists/isync synced
>> to ~/Maildir/.work.lists.isync/ and the root folder (INBOX?) to
>> ~/Maildir/.work/
>>
> the key thing to understand is that Path is NOT a mailbox, but a folder
> containing mailboxes (or, to be really pedantic, it's a prefix to
> mailbox paths).
> if you have a clear hierarchy where everything is contained in INBOX and
> you want to keep that structure locally, forget about Path and use only
> Inbox.

I failed to follow, probably because I don't know enough details about
IMAP?!

Anyhow, I got it running using:


        MaildirStore work-local
        Inbox ~/Maildir/.work
        Path ~/Maildir/.work.
        SubFolders Verbatim
        Flatten .

The only beauty spot is that mbsync tells me:

        Maildir error: cannot open store '/home/user/Maildir/.work.'

. After mkdir Maildir/.work. it works just fine.

Is that what you intended? This doesn't seem to match "Forget about Path
and use only Inbox", but Verbatim doesn't work without Path.

Best regards
Uwe

Attachment: signature.asc
Description: OpenPGP digital signature

_______________________________________________
isync-devel mailing list
isync-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/isync-devel

Reply via email to