GithubHelp home page GithubHelp logo

Comments (4)

gilleslamiral avatar gilleslamiral commented on June 9, 2024 1

Deletions are special on Gmail
https://imapsync.lamiral.info/FAQ.d/FAQ.Gmail.txt
https://support.google.com/mail/answer/7401?hl=en#zippy=%2Cempty-your-trash

Q. Gmail does not really delete messages in the folder [Gmail]/All Mail
   What happens? Do you know what I can do?

R. It's true and explained in Gmail documentation at
https://support.google.com/mail/answer/7401?hl=en#zippy=%2Cempty-your-trash

To really remove messages in folder "[Gmail]/All Mail", they have to
be moved to the "Trash" folder and be deleted from "Trash".
....

There is another way with imapsync.

To remove the flags \Deleted from being synced:

https://imapsync.lamiral.info/FAQ.d/FAQ.Flags.txt
...

Windows:   imapsync.exe ... --regexflag "s/\\Deleted//gi" 
Unix:      imapsync ...     --regexflag 's/\\Deleted//gi' 

from imapsync.

gilleslamiral avatar gilleslamiral commented on June 9, 2024

I suggest to not use --delete1 first.
What happens then?
Same issue?

from imapsync.

jk9112605 avatar jk9112605 commented on June 9, 2024

I suggest to not use --delete1 first. What happens then? Same issue?

No, there is no such error occured.
But I checked the log file, there is no message deleted on host1(Gmail). Please refer to the following log file.
For the line: Messages deleted on host1 : 0
Did it really "move" messages to host2? (I mean copied old messages and deleted these in host1)
I went to my gmail, it seems there are still old messages in it.
How can I truly move my old messages from host1 to host2? Thanks.

++++ Statistics
Transfer started on                     : Friday 03 November 2023-11-03 03:09:39 +0000 UTC
Transfer ended on                       : Friday 03 November 2023-11-03 03:37:01 +0000 UTC
Transfer time                           : 1641.7 sec
Folders synced                          : 21/21 synced
Messages transferred                    : 774 
Messages skipped                        : 516
Messages found duplicate on host1       : 242
Messages found duplicate on host2       : 19
Messages found crossduplicate on host2  : 236
Messages void (noheader) on host1       : 0  
Messages void (noheader) on host2       : 0
Messages found in host1 not in host2    : 0 messages
Messages found in host2 not in host1    : 8076 messages
Messages deleted on host1               : 0
Messages deleted on host2               : 0
Total bytes transferred                 : 69850329 (66.614 MiB)
Total bytes skipped                     : 60876273 (58.056 MiB)
Message rate                            : 0.5 messages/s
Average bandwidth rate                  : 41.6 KiB/s
Reconnections to host1                  : 0
Reconnections to host2                  : 0
Memory consumption at the end           : 199.3 MiB (*time 90.9 MiB*h) (started with 162.5 MiB)
Load end is                             : 0.00 0.00 0.00 1/292 on 2 cores
CPU time and %cpu                       : 13.66 sec 0.8 %cpu 0.4 %allcpus
Biggest message transferred             : 7833667 bytes (7.471 MiB)
Memory/biggest message ratio            : 26.7
Start difference host2 - host1          : 7260 messages, 2378881073 bytes (2.216 GiB)
Final difference host2 - host1          : 7278 messages, 2385225002 bytes (2.221 GiB)
The sync looks good, all 806 identified messages in host1 are on host2.
There is no unidentified message on host1.
The sync is not strict, there are 8076 among 8882 identified messages in host2 that are not on host1. Use --delete2 and sync again to delete them and have a strict sync.
Detected 0 errors
Check if a new imapsync release is available by adding --releasecheck
Homepage: https://imapsync.lamiral.info/
Exiting with return value 0 (EX_OK: successful termination) 0/30000 nb_errors/max_errors PID 77058
Removing pidfile /tmp/imapsync.pid

from imapsync.

jk9112605 avatar jk9112605 commented on June 9, 2024

Sorry, closed accidently.

from imapsync.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.