On Tue, 2015-07-28 at 09:21 +0100, Ian Campbell wrote:
> I'm suffering from a similar issue to Guillem,

Guillem,

I had a realisation which might be useful to you as well: The trailing "/"
on a store:mailbox is (or can be) significant, e.g. the following diff
against my previous redacted mbsyncrc appears (on first glance) to work and
to do what I desire:

    @@ -8,7 +8,7 @@
     Account XXX
     
     MaildirStore XXX-local
    -Path ~/Maildir/..
    +Path ~/Maildir/
     Inbox ~/Maildir/
     #AltMap yes
     Flatten .
    @@ -22,9 +22,9 @@
     SyncState *
     
     Channel XXX-folders
    -Master :XXX-remote:INBOX/
    +Master :XXX-remote:INBOX
     Slave :XXX-local:
    -Patterns * !INBOX
    +Patterns * !
     Create Slave
     Expunge Both
     SyncState *

The change to Master being the primary thing. This results in the:

[Account]
|-INBOX
|- PATCHES
|  |- WIP
|  `- FOO
`- Cronspam

maildir hierarchy which I noted in Message #75 I'd be happy to switch to if
necessary.

NB: I'm still tinkering with things, so I'm not 100% sure this is correct,
but on first glance it looks so and I'm also not sure if it is applicable
to the issue in your context but I hope it turns out to be helpful!

Cheers,
Ian.

Reply via email to