Thanks for your help Oswald!

Le 2022-09-17 à 05 h 23, Oswald Buddenhagen a écrit :
from what version to what?

Before my computer crash I installed a version in 2022 April, si I think it was the 1.4.

Here my config:

seems unremarkable, but definite statements are not possible without
knowing the actual folder structures. if you're running isync master,
you can use the -ls option for that. otherwise, running a sync with -V
should give an approximate impression of what is being synced with what
(-D will do that more verbosely).

Ok mbsync -ls seems ok, I have the same list of subfolders for local and remote.

With mbsync -V mychannel I obtain the same errors:

```
Opening far side box INBOX/Drafts...
Opening near side box INBOX/Drafts...
Error: channel qtnm: near side box INBOX/Drafts cannot be opened.
```

Ok mbsync -D mychannel is very verbose :) Here the beginning:

```
isync 1.5.0 called with: '-D' 'mychannel'
Reading configuration file /home/antoine/.mbsyncrc
Notice: SSLType is deprecated. Use TLSType instead.
merge ops (in Channel 'mychannel'):
  common: OP_NEW,OP_OLD,OP_UPGRADE,OP_GONE,OP_FLAGS,OP_EXPUNGE,OP_CREATE
  far: XOP_HAVE_TYPE,XOP_HAVE_EXPUNGE,XOP_HAVE_CREATE
  near:
=> far: OP_NEW,OP_OLD,OP_UPGRADE,OP_GONE,OP_FLAGS,OP_EXPUNGE,OP_CREATE,XOP_HAVE_TYPE,XOP_HAVE_EXPUNGE,XOP_HAVE_CREATE
  => near: OP_NEW,OP_OLD,OP_UPGRADE,OP_GONE,OP_FLAGS,OP_EXPUNGE,OP_CREATE
channel ops (mychannel):
  far:
  near:
Channel mychannel
Opening far side store mychannel-remote...
F: [ 1] Enter connect_store
Resolving ssl0.ovh.net...
F: [ 1] Leave connect_store
Opening near side store mychannel-local...
N: [ 2] Enter connect_store
N: [ 2] Callback enter connect_store, sts=0
pattern '*' (effective '*'): Path, no INBOX
N: [ 3] Enter list_store, flags=2
N: [ 3] Callback enter list_store, sts=0
N: [ 3] Callback leave list_store
N: [ 3] Leave list_store
N: [ 2] Callback leave connect_store
N: [ 2] Leave connect_store
Connecting to ssl0.ovh.net (193.70.18.144:993)...
Connection is now encrypted
F: * OK [CAPABILITY IMAP4rev1 LITERAL+ SASL-IR LOGIN-REFERRALS ID ENABLE IDLE AUTH=PLAIN AUTH=LOGIN] Dovecot on host 116 ready
Logging in...
F: >>> 1 LOGIN <user> <pass>
F: 1 OK [CAPABILITY IMAP4 IMAP4rev1 AUTH=PLAIN AUTH=NTLM AUTH=GSSAPI SASL-IR UIDPLUS MOVE ID UNSELECT CHILDREN IDLE NAMESPACE LITERAL+] LOGIN completed.
F: >>> 2 NAMESPACE
F: * NAMESPACE (("" "/")) NIL NIL
F: 2 OK NAMESPACE completed.
F: [ 1] Callback enter connect_store, sts=0
pattern '*' (effective '*'): Path, no INBOX
F: [ 4] Enter list_store, flags=2
F: >>> 3 LIST "" "*"
F: [ 4] Leave list_store
F: [ 1] Callback leave connect_store
F: * LIST (\HasChildren) "/" archives
F: * LIST (\HasNoChildren) "/" archives/2017
F: * LIST (\HasNoChildren) "/" archives/2018
F: * LIST (\HasNoChildren) "/" archives/2019

```

And an example for a subfolder (with the same error "Error: channel mychannel: near side box INBOX/Drafts cannot be opened."):

```
F: Called get_caps, ret=0x7
N: Called get_caps, ret=0
F: Enter select_box, name=INBOX/Drafts
F: Leave select_box, ret=0
N: Enter select_box, name=INBOX/Drafts
N: Leave select_box, ret=0
N: Called get_box_path, ret=/home/antoine/msg/mychannel/INBOX/Drafts
reading sync state /home/antoine/msg/mychannel/INBOX/Drafts/.mbsyncstate ...
  uid val 101/1661568641, max uid 350/17, max expired 0
  entry (1,1,S,)
  entry (2,2,S,)
  entry (46,3,DS,)
  entry (77,4,D,)
  entry (85,5,D,)
  entry (106,6,D,)
  entry (107,7,D,)
  entry (118,8,DS,)
  entry (166,9,D,)
  entry (173,10,D,)
  entry (174,11,D,)
  entry (213,12,DS,)
  entry (246,13,D,)
  entry (255,14,D,)
  entry (259,15,D,)
  entry (281,16,DS,)
  entry (345,17,D,)
Opening far side box INBOX/Drafts...
F: [ 12] Enter open_box
F: >>> 8 SELECT "INBOX/Drafts"
F: [ 12] Leave open_box
Opening near side box INBOX/Drafts...
F: [ 11] Callback leave open_box
F: * 19 EXISTS
F: * 0 RECENT
F: * FLAGS (\Seen \Answered \Flagged \Deleted \Draft $MDNSent)
F: * OK [PERMANENTFLAGS (\Seen \Answered \Flagged \Deleted \Draft $MDNSent)] Permanent flags
F: * OK [UNSEEN 4] Is the first unseen message
F: * OK [UIDVALIDITY 101] UIDVALIDITY value
F: * OK [UIDNEXT 363] The next unique identifier value
F: 8 OK [READ-WRITE] SELECT completed.
F: [ 12] Callback enter open_box, sts=0, uidvalidity=101
Error: channel mychannel: near side box INBOX/Drafts cannot be opened.
```
I don't see other errors, perhaps "pattern '*' (effective '*'): Path, no INBOX" in the beginning?

--
Antoine
anto...@quaternum.net


_______________________________________________
isync-devel mailing list
isync-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/isync-devel

Reply via email to