Re: Error: incompatible journal version (got 2, expected 3)

2018-02-16 Thread Peter P.
Hi Oswald,

* Oswald Buddenhagen  [2018-02-16 11:37]:
> On Sat, Feb 10, 2018 at 12:20:18PM +0100, Peter P. wrote:
> > 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
> >
> > [...]
> > Can this first group of folders be server-side duplicates of the
> > INBOX/... ones as the seem to hold the same content.
> >
> i expect these to be artifacts from the previous behavior change when
> you updated to mbsync 1.2.
You are correct, they were created locally when I updated without care.
I deleted these folders and all is fine, thank you for your kind help.

> that would imply that the contents aren't actually the same - the bogus
> folders should lack the more recent messages.
> 
> > Strangely they are not detected as folders by thunderbird, nor are
> > they visible in a Horde webmail interface.
> > 
> these certainly use the default namespace, so they don't see anything
> outside INBOX.
And I discovered that they are (were)local folders only. 

cheers, P

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


Re: Keep messages on Outlook server (via DavMail)

2018-02-16 Thread Ken Mankoff
Hi Oswald,

On 2018-02-16 at 10:42, Oswald Buddenhagen  wrote:
> On Thu, Feb 08, 2018 at 08:41:25AM -0500, Ken Mankoff wrote:
>> I'm writing because I use mbsync and would like to keep messages on
>> the server.
>> 
>> My config:
>> 1) OS X - mu4e - mbsync - IMAP - GMAIL - INBOX
>> 2) OS X - mu4e - mbsync - IMAP - DavMail - Exchange (Office365.com) - INBOX
>> 
>> For (1), when I archive messages locally in mu4e, they are removed
>> from the GMAIL inbox, but remain in "All Mail" and I can read and
>> search them in Gmail if I need to.
>> 
> the "All Mail" folder is google magic. you can configure in the web
> interface how imap expunging is supposed to behave.
>
>> For (2), when I archive the messages locally, they disappear from the
>> server.
>> 
> it's not clear what you mean by "archive".

I move them from the inbox to a local un-synced folder.

>> I've RTFM and experimented with ExpungeState but cannot figure out
>> how to change the behavior. Does anyone here have any hints?
>> 
> for anyone to be able to help you, you need to specify the *precise*
> folder structure and message flags you want both locally and remotely.

I'd like to replicate the gmail functionality of messages staying on the server 
even when you move them out of the inbox with an IMAP client. I'm not sure of 
the precise flags that are being applied/used/whatever in this case.

Anyway, I have figured out a work-around. On the Outlook web interface, I set 
up a rule that copies all incoming messages to Archive/AllMail. Then when my 
local IMAP client (via DavMail) moves them, and they are deleted from the 
Outlook inbox, the copy remains in AllMail. It seems to work so far.

Thanks,

  -k.

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


Re: Keep messages on Outlook server (via DavMail)

2018-02-16 Thread Oswald Buddenhagen
On Fri, Feb 16, 2018 at 11:51:29AM +0100, Ken Mankoff wrote:
> On 2018-02-16 at 10:42, Oswald Buddenhagen  wrote:
> > it's not clear what you mean by "archive".
> 
> I move them from the inbox to a local un-synced folder.
> 
ah. that's simply a deletion from mbsync's perspective, which it
correctly propagates.

> I'd like to replicate the gmail functionality of messages staying on
> the server even when you move them out of the inbox with an IMAP
> client. I'm not sure of the precise flags that are being
> applied/used/whatever in this case.
> 
the conventional approach would be to use a server-side trash folder,
which you can configure mbsync to do.
only caveat: ensure that the trash is not automatically pruned (maybe
configure a rule that moves messages to another folder).

> Anyway, I have figured out a work-around. On the Outlook web
> interface, I set up a rule that copies all incoming messages to
> Archive/AllMail. Then when my local IMAP client (via DavMail) moves
> them, and they are deleted from the Outlook inbox, the copy remains in
> AllMail. It seems to work so far.
> 
that certainly works. you lose any message flags you add later, but i
suppose that's not too important for archived messages.

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


Re: Keep messages on Outlook server (via DavMail)

2018-02-16 Thread Oswald Buddenhagen
On Thu, Feb 08, 2018 at 08:41:25AM -0500, Ken Mankoff wrote:
> Anyway, I'm writing because I use mbsync and would like to keep messages on 
> the server.
> 
> My config:
> 1) OS X - mu4e - mbsync - IMAP - GMAIL - INBOX
> 2) OS X - mu4e - mbsync - IMAP - DavMail - Exchange (Office365.com) - INBOX
> 

> For (1), when I archive messages locally in mu4e, they are removed
> from the GMAIL inbox, but remain in "All Mail" and I can read and
> search them in Gmail if I need to.
> 
the "All Mail" folder is google magic. you can configure in the web
interface how imap expunging is supposed to behave.

> For (2), when I archive the messages locally, they disappear from the
> server.
> 
it's not clear what you mean by "archive".

> I've RTFM and experimented with ExpungeState but cannot figure out how
> to change the behavior. Does anyone here have any hints?
> 
for anyone to be able to help you, you need to specify the *precise*
folder structure and message flags you want both locally and remotely.

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


Re: Error: incompatible journal version (got 2, expected 3)

2018-02-16 Thread Oswald Buddenhagen
On Sat, Feb 10, 2018 at 12:20:18PM +0100, Peter P. wrote:
> 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
>
> [...]
> Can this first group of folders be server-side duplicates of the
> INBOX/... ones as the seem to hold the same content.
>
i expect these to be artifacts from the previous behavior change when
you updated to mbsync 1.2.
that would imply that the contents aren't actually the same - the bogus
folders should lack the more recent messages.

> Strangely they are not detected as folders by thunderbird, nor are
> they visible in a Horde webmail interface.
> 
these certainly use the default namespace, so they don't see anything
outside INBOX.

> On the (local) slave I discovered these folders as unix hidden folders
> .Drafts
> .Sent
> .Junk
> .SPAM
>
you didn't specify where you found these in, and what your Maildir
config is (your pasted config file lacked the local store).

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