* Oswald Buddenhagen <oswald.buddenha...@gmx.de> [2018-02-09 23:32]:
> On Fri, Feb 09, 2018 at 08:11:28PM +0100, Peter P. wrote:
> > IMAPAccount mychannel
> > Host imap.whatever
> > User whoever
> > Pass whatever
> > 
> > IMAPStore mychannel-remote
> > Account mychannel
> > # Path INBOX
> > UseNamespace no
> > 
> > Channel mychannel
> > Master :mychannel-remote:
> > Slave :mychannel-local:
> > Patterns * !INBOX/Junk
> > Create Slave
> > SyncState *
> > Expunge Both
> > CopyArrivalDate yes
> > 
> 
> looks reasonable. try the -D option.

I figured out that it is the mailbox
        \Sent 
which causes this error. With
         $mbsync -V -Dsm mychannel:/Sent
I get the error reported as:
        [...]
        Connection is now encrypted
        Logging in...
        Authenticating with SASL mechanism PLAIN...
        recovering journal ...
        Error: incompatible journal version (got 2, expected 3)
without further information.

On another Debian testing computer I do not get the "incompatible journal
version" error with the same config and mbsync 1.3.0.
Let me know if you want me to invenstigate further, possibly comparing
journal files etc...

Now here is a thing that puzzles me. On that channel's imap server there
appears to exist folders
        /Drafts
        /Junk
        /SPAM
        /Sent
in addition to the ones known to me and synced by me
        INBOX/Drafts
        INBOX/Junk
        INBOX/SPAM
        INBOX/Sent
This first group of folders are the ones causing errors:
        Error: channel mychannel: master /Drafts cannot be opened.
        Error: channel mychannel: master /Junk cannot be opened.
        Error: channel mychannel: master /SPAM cannot be opened.
and /Sent is causing the aforementioned
        Error: incompatible journal version (got 2, expected 3)

If I add the first group of folders to the Patterns to avoid as 
        Patterns !/Drafts !/Junk !/SPAM !/Sent
all four errors go away.

Can this first group of folders be server-side duplicates of the
INBOX/... ones as the seem to hold the same content. Strangely they are
not detected as folders by thunderbird, nor are they visible in a Horde
webmail interface.

On the (local) slave I discovered these folders as unix hidden folders
.Drafts
.Sent
.Junk
.SPAM
I would be fine with deleting them from my slave and excluding them as
Pattern as I don't want to sync them, but wonder if this is due to my
mistake or if it's something in 1.3.0 that might have triggered this.

Thank you for your time and help, it is greatly appreciated!

Peter

------------------------------------------------------------------------------
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