-
-
Notifications
You must be signed in to change notification settings - Fork 455
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
sync to many subfolder #419
Comments
A piece of advice: if you have several issues, open several tickets, or email several emails, and you'll get quicker answers. |
Ok
It's strange.
Yes, it's really strange since Imapsync doesn't change flags on the source server, by setting Peek(1) on both imap connexions. A |
Use But since "archivio" is a substring of "archivio2" it should apply the destruction on the archivio2 hierarchy... https://imapsync.lamiral.info/README
|
I tried with this syntax xxx.xxx.tld;archivio@xxx.it;xxxx;192.168.1.19;copielocali@local.xxx.it;xxxx; --useheader Message-Id --noabletosearch --addheader --subfolder2 archivio1 --delete2foldersonly archivio1 But it keeps deleting archivio1 when it processes the second account here is an extract of the log of the second account .... Host2: folders list (first the raw imap format then the [X] = [Y]):
9 OK LIST completed [Deleted Items] Folders in host2 not in host1: |
It's strange. Can you show me the log of this archivio1 deletion? |
Here is imapsync 2.261 on host MailServerSM, a MSWin32 system with 3.3/8.0 free GiB of RAM, 62.00% used by processes. Info: will resync flags for already transferred messages. Use --noresyncflags to not resync flags. Host1 capability before authentication: IMAP4rev1 AUTH=CRAM-MD5 AUTH=NTLM AUTH=PLAIN SASL-IR UIDPLUS QUOTA MOVE XLIST CHILDREN ENABLE CONDSTORE X-SM-TAGS IDLE AUTH Host2 capability before authentication: IMAP4rev1 AUTH=CRAM-MD5 AUTH=NTLM AUTH=PLAIN SASL-IR UIDPLUS QUOTA MOVE XLIST CHILDREN ENABLE CONDSTORE X-SM-TAGS AUTH Host2: QUOTA capability found, presented in raw IMAP on next lines Host2: Quota current storage is 5120 bytes. Limit is 0 bytes. So 0 % full ++++ Listing folders Host1: folders list (first the raw imap format then the [X] = [Y]):
13 OK LIST completed [Deleted Items] Host2: folders list (first the raw imap format then the [X] = [Y]):
9 OK LIST completed [Deleted Items] Folders in host2 not in host1: Deleted archivio1/Sent Items Folders sizes after the synchronization. Host1 folder 2/5 [Drafts] Size: 0 Messages: 0 Biggest: 0 Host1 folder 3/5 [Inbox] Size: 5673 Messages: 3 Biggest: 1899 Host1 folder 4/5 [Junk E-Mail] Size: 0 Messages: 0 Biggest: 0 Host1 folder 5/5 [Sent Items] Size: 0 Messages: 0 Biggest: 0 Host1 Nb folders: 5 folders Host1 Nb messages: 3 messages Host1 Total size: 5673 bytes (5.540 KiB) Host1 Biggest message: 1899 bytes (1.854 KiB) Time spent on sizing: 0.8 seconds |
Ok, there is a problem here. |
Are there any news? |
Yes. Use slashes around the name:
I fixed
|
hello I have a problem with imapsync
imapsync 2.261
Let's start from the first
Origin e destination server are smartermail
xxx.xxx.tldt;archivio@xxx.it;xxxxxx;192.168.1.19;copielocali@local.xxx.it;yyyyy; --useheader Message-Id --noabletosearch --addheader --delete2 --delete2folders --regextrans2 "s,INBOX,Inbox," --subfolder2 archivio
In practice it takes the content present in archivio@xxx.it and synchronizes it on a local smartermail copielocali@local.xxx.it in an archive subfolder
The problem I notice is that on the first passage of a new message the labels are not synchronized. Only in the second step are the labels also synchronized.
If I add
--syncflagsaftercopy --nofilterflags -synclabels
on the origin server all unread messages are marked as read (and this is really strange)
second problem
xxx.xxx.tldt;archivio@xxx.it;xxxxxx;192.168.1.19;copielocali@local.xxx.it;yyyyy; --useheader Message-Id --noabletosearch --addheader --delete2 --delete2folders --regextrans2 "s,INBOX,Inbox," --subfolder2 archivio
ixxx.xxx.tldt;archivio2@xxx.it;xxxxxx;192.168.1.19;copielocali@local.xxx.it;yyyyy; --useheader Message-Id --noabletosearch --addheader --delete2 --delete2folders --regextrans2 "s,INBOX,Inbox," --subfolder2 archivio2
In this case I would like archivio@xxx.it to synchronize in the archive subfolder of copielocali@local.xxx.it
is that
archivio2@xxx.it synchronize in the archivio2 subfolder of copielocali@local.xxx.it
But when archive2 is processed the archive subfolder in copielocali@local.xxx.it is deleted due to --deletefolder2
Not the behavior I expected. Having specified a destination subfolder I expected delete2 and deletefolder2 to occur only there
is there any flag to solve the problem?
Thank you
The text was updated successfully, but these errors were encountered: