Re: can't figure out Pattern option with sub-folders

2013-05-06 Thread Oswald Buddenhagen
On Mon, May 06, 2013 at 02:31:10PM -0400, Mike Halliday wrote: > But how do I get the additional folders created, and their messages copied? > I tried Pattern "*", but it has no effect. > recursive mailboxes are not supported by any released mbsync version. try git master. ---

can't figure out Pattern option with sub-folders

2013-05-06 Thread Mike Halliday
I'm trying to sync Store "bbb" from Store "aaa" (which are both remote IMAP servers), including all of the folders and sub-folders under "aaa"s INBOX. Initially, "bbb" has no messages, and a few folders of INBOX - Sent, Drafts, Junk, Trash. "aaa" has those same folders plus an INBOX.Test and INB

Re: Sync remote INBOX to different local name (IMAP-to-IMAP)?

2013-05-06 Thread John Goggan
I think I just figured this out myself. I changed my Pattern line to exclude INBOX -- and it still gets the messages from my Gmail INBOX and puts them into INBOX-gmail as desired -- but does not put them into my local INBOX also. I had misunderstood how the Pattern line would work. I thought

Re: Sync remote INBOX to different local name (IMAP-to-IMAP)?

2013-05-06 Thread John Goggan
On 5/4/2013 3:01 AM, Oswald Buddenhagen wrote: > On Fri, May 03, 2013 at 03:00:54PM -0400, John Goggan wrote: >> Things work GREAT for everything except the main INBOX. I can't find >> a way to put those messages into a DIFFERENTLY NAMED box at the slave >> end. I can use MapInbox to specify a n

Re: INTERNALDATE from IMAP to IMAP

2013-05-06 Thread Oswald Buddenhagen
hi, On Mon, May 06, 2013 at 03:09:25PM +0200, MacXperte wrote: > it doesn't work! > probably because you are assigning a string without detaching it from the parent structure, so it gets freed. there are various examples how to do it (the BODY one being closest. NAMESPACE possibly as well). anywa

INTERNALDATE from IMAP to IMAP

2013-05-06 Thread MacXperte
Because a lot of IMAP clients are not easily convinced to ignore the internaldate and also because it cannot be changed on an IMAP server (other than recreating the message with a new UID), I looked into syncing the INTERNALDATE from IMAP to IMAP. What I did is quite similar to the patch that was m