Hi, with the following mbsyncrc and commit 938dd69d23a1186c1c40df1b87668051fffc7b93 the creation of folders works, however if i delete a folder on the remote-side it is not deleted local:
~/.mbsyncrc IMAPAccount test-imaps Host mail.host.tld RequireSSL yes CertificateFile /home/user/.mails/certs/cert.crt IMAPStore test-remote Account test-imaps MaildirStore test-local Path ~/.mails/test/ Inbox ~/.mails/test/INBOX Flatten . Channel test Master :test-remote: Slave :test-local: Patterns INBOX INBOX/* !*/Trash !*/Junk Create Both Expunge Both First run, nothing exists local: Reading configuration file /home/user/.mbsyncrc Channel test Opening master test-remote... Resolving mail.host.tld... ok Connecting to mail.host.tld (XXX.XXX.XXX.XXX) Opening slave test-local... Connection is now encrypted Logging in... Selecting master INBOX/Drafts... Selecting slave INBOX/Drafts... Maildir notice: no UIDVALIDITY, creating new. Loading master... Loading slave... Maildir notice: sleeping due to recent directory modification. slave: 0 messages, 0 recent master: 1 messages, 0 recent Synchronizing... M: +0/0 *0/0 #0/0 S: +1/1 *0/0 #0/0 Selecting master INBOX... Selecting slave INBOX... Maildir notice: no UIDVALIDITY, creating new. Loading master... Loading slave... Maildir notice: sleeping due to recent directory modification. slave: 0 messages, 0 recent master: 80 messages, 0 recent Synchronizing... (...) Selecting master INBOX/Sent... Selecting slave INBOX/Sent... Maildir notice: no UIDVALIDITY, creating new. Loading master... Loading slave... Maildir notice: sleeping due to recent directory modification. slave: 0 messages, 0 recent master: 19 messages, 0 recent Synchronizing... (...) After creating INBOX.Test1 local Reading configuration file /home/user/.mbsyncrc Channel test Opening master test-remote... Resolving mail.host.tld... ok Connecting to mail.host.tld (XXX.XXX.XXX.XXX) Opening slave test-local... Connection is now encrypted Logging in... Selecting master INBOX/Sent... Selecting slave INBOX/Sent... Loading master... Loading slave... slave: 19 messages, 0 recent master: 19 messages, 0 recent Synchronizing... Selecting master INBOX... Selecting slave INBOX... Loading master... Loading slave... slave: 80 messages, 0 recent master: 80 messages, 0 recent Synchronizing... Selecting master INBOX/Drafts... Selecting slave INBOX/Drafts... Loading master... Loading slave... slave: 1 messages, 0 recent master: 1 messages, 0 recent Synchronizing... Selecting master INBOX/Test1... Selecting slave INBOX/Test1... Maildir notice: no UIDVALIDITY, creating new. Loading master... master: 0 messages, 0 recent Loading slave... slave: 3 messages, 0 recent Synchronizing... (...) After deleting INBOX.Test1 _on the remote side_ * OK [CAPABILITY IMAP4rev1 CHILDREN NAMESPACE THREAD=ORDEREDSUBJECT THREAD=REFERENCES SORT QUOTA IDLE AUTH=LOGIN STARTTLS] Courier-IMAP ready. Copyright 1998-2010 Double Precision, Inc. See COPYING for distribution information. >>> 1 STARTTLS 1 OK Begin SSL/TLS negotiation now. >>> 2 CAPABILITY * CAPABILITY IMAP4rev1 CHILDREN NAMESPACE THREAD=ORDEREDSUBJECT THREAD=REFERENCES SORT QUOTA IDLE AUTH=LOGIN 2 OK CAPABILITY completed >>> 3 LOGIN <user> <pass> 3 OK LOGIN Ok. >>> 4 NAMESPACE * NAMESPACE (("INBOX." ".")) NIL (("#shared." ".")("shared." ".")) 4 OK NAMESPACE completed. >>> 5 LIST "" INBOX* * LIST (\HasNoChildren) "." "INBOX.Drafts" * LIST (\Unmarked \HasChildren) "." "INBOX" * LIST (\HasNoChildren) "." "INBOX.Trash" * LIST (\HasNoChildren) "." "INBOX.Junk" * LIST (\HasNoChildren) "." "INBOX.Sent" 5 OK LIST completed >>> 6 SELECT "INBOX.Sent" * FLAGS (\Draft \Answered \Flagged \Deleted \Seen \Recent) * OK [PERMANENTFLAGS (\* \Draft \Answered \Flagged \Deleted \Seen)] Limited * 19 EXISTS * 0 RECENT * OK [UIDVALIDITY 1330633227] Ok * OK [MYRIGHTS "acdilrsw"] ACL 6 OK [READ-WRITE] Ok >>> 7 UID FETCH 1:1000000000 (UID FLAGS) * 1 FETCH (UID 23 FLAGS (\Seen)) (...) * 19 FETCH (UID 41 FLAGS (\Seen)) 7 OK FETCH completed. >>> 8 CLOSE 8 OK mailbox closed. >>> 9 SELECT "INBOX" * FLAGS (\Draft \Answered \Flagged \Deleted \Seen \Recent) * OK [PERMANENTFLAGS (\* \Draft \Answered \Flagged \Deleted \Seen)] Limited * 80 EXISTS * 0 RECENT * OK [UIDVALIDITY 1330635651] Ok * OK [MYRIGHTS "acdilrsw"] ACL 9 OK [READ-WRITE] Ok >>> 10 UID FETCH 1:1000000000 (UID FLAGS) * 1 FETCH (UID 4 FLAGS (\Seen)) (...) * 80 FETCH (UID 118 FLAGS (\Seen)) 10 OK FETCH completed. >>> 11 CLOSE 11 OK mailbox closed. >>> 12 SELECT "INBOX.Drafts" * FLAGS (\Draft \Answered \Flagged \Deleted \Seen \Recent) * OK [PERMANENTFLAGS (\* \Draft \Answered \Flagged \Deleted \Seen)] Limited * 1 EXISTS * 0 RECENT * OK [UIDVALIDITY 1330633227] Ok * OK [MYRIGHTS "acdilrsw"] ACL 12 OK [READ-WRITE] Ok >>> 13 UID FETCH 1:1000000000 (UID FLAGS) * 1 FETCH (UID 14 FLAGS (\Seen)) 13 OK FETCH completed. >>> 14 CLOSE 14 OK mailbox closed. >>> 15 SELECT "INBOX.Test1" 15 NO Mailbox does not exist, or must be subscribed to. >>> 16 CREATE "INBOX.Test1" 16 OK "INBOX.Test1" created. >>> 17 SELECT "INBOX.Test1" * FLAGS (\Draft \Answered \Flagged \Deleted \Seen \Recent) * OK [PERMANENTFLAGS (\* \Draft \Answered \Flagged \Deleted \Seen)] Limited * 0 EXISTS * 0 RECENT * OK [UIDVALIDITY 1347807761] Ok * OK [MYRIGHTS "acdilrsw"] ACL 17 OK [READ-WRITE] Ok >>> 18 LOGOUT * BYE Courier-IMAP server shutting down 18 OK LOGOUT completed Regards On 16.09.2012 12:19, Oswald Buddenhagen wrote: > On Sun, Sep 16, 2012 at 11:07:51AM +0200, Oswald Buddenhagen wrote: >> On Sat, Sep 15, 2012 at 07:47:25PM +0200, Oswald Buddenhagen wrote: >> > On Fri, Sep 14, 2012 at 10:37:22PM +0200, Fabian Mueller-Knapp >> wrote: >> > > I created INBOX.Test local, it does _not_ exist on the server. >> > > Shouldn't Test be created on test-remote now? Because it is not. >> > > >> > yes, it should. >> > i can't see anything obviously wrong in your config, so it's >> either >> > subtle or a bug. >> > >> ok, that took me a while to understand. it's nasty. > >> the core is the line "This virtual mailbox does not support >> subfolders." >> in the MapInbox docu. >> > this is actually wrong, as you obviously don't even use that option. > the root cause is the same, though. ^^ > >> the root of this evil is the IMAP specification, which says that >> INBOX >> is special, which leads to many asymmetries. mbsync doesn't "even >> out" >> this most gracefully, even where it could. working on it ... >> > > > ------------------------------------------------------------------------------ > Everyone hates slow websites. So do we. > Make your web apps faster with AppDynamics > Download AppDynamics Lite for free today: > http://ad.doubleclick.net/clk;258768047;13503038;j? > http://info.appdynamics.com/FreeJavaPerformanceDownload.html > _______________________________________________ > isync-devel mailing list > isync-devel@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/isync-devel ------------------------------------------------------------------------------ Everyone hates slow websites. So do we. Make your web apps faster with AppDynamics Download AppDynamics Lite for free today: http://ad.doubleclick.net/clk;258768047;13503038;j? http://info.appdynamics.com/FreeJavaPerformanceDownload.html _______________________________________________ isync-devel mailing list isync-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/isync-devel