Dear all,

I am unable to get my mail sync working after the Arch Linux package upgrade 
from 1.1.2 to 1.2.0 yesterday. My IMAP server is courier-imap 4.10 running on 
Debian Wheezy. The server has the following maildir structure:

~/Maildir

~/Maildir/.Sent
~/Maildir/.Drafts

I was previously using

MaildirStore vvvvvvvv-local
Path ~/Maildir/
Inbox ~/Maildir
MapInbox INBOX


Channel vvvvvvvv
Master :vvvvvvvv-remote:
Slave :vvvvvvvv-local:
Patterns "INBOX" "INBOX/Drafts" "INBOX/Sent"
Create Both
#Expunge Both
SyncState *

Channel vvvvvvvv-all
Master :vvvvvvvv-remote:
Slave :vvvvvvvv-local:
Patterns *
Create Both
#Expunge Both
SyncState *

In the config file, this would recreate the exact same maildir structure on my 
local machine. After the update, running mbsync vvvvvvvv syncs INBOX once 
successfully and then tries to sync INBOX again and fails and also fails to 
sync the other mailboxes with errors:


Error: channel vvvvvvvv: master INBOX cannot be opened.
Error: channel vvvvvvvv: master INBOX/Drafts cannot be opened.
Error: channel vvvvvvvv: master INBOX/Sent cannot be opened.

Now I figured out a few things by experimenting.
1) It can still sync a single mailbox just fine.
2) It is important not to have "Expunge Both" enabled during testing because 
you can accidentally delete your entire mailbox, lucklily I had a backup so I 
only lost a handful of messages :(
3) If I use the * pattern, it will successfully sync all subfolders to new 
folders but it will drop the preceding dot from the names.

So now I know that the naming scheme has changed and I can adjust my patterns 
to use the new names,
Patterns "INBOX" "Drafts" "Sent"
doesn't work well, it now tries to sync each mailbox twice, once sucessfuly and 
once failing with:


Error: channel vvvvvvvv: master INBOX cannot be opened.
Error: channel vvvvvvvv: slave Drafts cannot be opened.
Error: channel vvvvvvvv: slave Sent cannot be opened.

If I drop INBOX from the list it syncs Drafts and Sent OK but doesn't sync 
INBOX...

So then I tried getting rid of the MapInbox function and putting the inbox in 
its own directory ~/Maildir/INBOX and that has ended up filling my inbox with 
duplicate messages that I now don't know how to get rid of and it still has the 
original problem of trying to sync all mailboxes twice.


Can anyone shed some light on what's going on with this new version? Is there 
any way to do a sync of these three folders like I used to?

I've spent a lot of time trying to get this to work today and am at my wits end 
with a broken mailbox again and no idea what to do next, any help would be 
greatly appreciated, I am pretty desperate at this stage :(

------------------------------------------------------------------------------
BPM Camp - Free Virtual Workshop May 6th at 10am PDT/1PM EDT
Develop your own process in accordance with the BPMN 2 standard
Learn Process modeling best practices with Bonita BPM through live exercises
http://www.bonitasoft.com/be-part-of-it/events/bpm-camp-virtual- event?utm_
source=Sourceforge_BPM_Camp_5_6_15&utm_medium=email&utm_campaign=VA_SF
_______________________________________________
isync-devel mailing list
isync-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/isync-devel

Reply via email to