On Wed, 15 Mar 2017, at 22:11, Oswald Buddenhagen wrote:
> On Tue, Mar 14, 2017 at 10:47:49PM +1100, Chris Smart wrote:
> > MaildirStore email-local
> > Inbox ~/.maildir/
> > SubFolders Maildir++
> > 
> that's a weird setup. why are you putting all mailboxes directly into
> your home dir, without an intermediate dir to aggregate them? this is
> messy, worsens performance sligthly, and can cause nasty surprises (if a
> random folder is misidentified as a maildir).

OK thanks, that makes sense. I thought that was OK when using a single
email account because in Maildir++ all folders must be under the inbox.

I've changed this to:
Inbox ~/.maildir/domain/account/inbox/

> i also find it weird that this works at all ... you have no 'Path ~'?

With Maildir++, it seems we should not specify Path because everything
is under inbox. If I do, mbsync errors out with:

  "Maildir store 'email-local': Setting Path is incompatible with
  'SubFolders Maildir++'"

> however, that *shouldn't* be the root of the problem you're seeing.
> 
> to debug, add -D -l to the command line.
> 

Running debug list with -D -l the master folders listed from IMAP server
are correct, including the INBOX and all subfolders:

got mailbox list from master:
  Trash
  Spam
  Sent
  Notes
  Drafts
  Archive
  INBOX/subfolder
  INBOX

However the slave local .maildir does not see INBOX or subfolders (only
top level dirs):

got mailbox list from slave:
  Notes
  Archive
  Sent
  Drafts
  Spam

Also, when running a full sync in debug mode it seems to talk to master
fine, but not slave:

reading sync state
~/.maildir/domain/account/inbox//subfolder/.mbsyncstate ...
  entry (1,1,10,)
Opening master box INBOX/subfolder...
>>> 23 SELECT "INBOX/subfolder"
Opening slave box INBOX/subfolder...
* OK [CLOSED] Ok
* 1 EXISTS
* 0 RECENT
* FLAGS (\Answered \Flagged \Draft \Deleted \Seen $X-ME-Annot-2
$IsMailingList $IsNotification $HasAttachment $HasTD)
* OK [PERMANENTFLAGS (\Answered \Flagged \Draft \Deleted \Seen
$X-ME-Annot-2 $IsMailingList $IsNotification $HasAttachment $HasTD \*)]
Ok
* OK [UIDVALIDITY 1489593233] Ok
* OK [UIDNEXT 2] Ok
* OK [HIGHESTMODSEQ 61294] Ok
* OK [URLMECH INTERNAL] Ok
* OK [ANNOTATIONS 65536] Ok
23 OK [READ-WRITE] Completed
Error: channel email: slave INBOX/subfolder cannot be opened.

What is also interesting, is that although INBOX does not show up in the
slave folder list, new local emails there _are_ replicated to the IMAP
server, just not any INBOX subfolders.

Thanks!
-c

------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
isync-devel mailing list
isync-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/isync-devel

Reply via email to