aa 71 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026102710281029103010311032103310341035103610371038103910401041104210431044104510461047104810491050105110521053105410551056105710581059106010611062106310641065106610671068106910701071107210731074107510761077107810791080108110821083108410851086108710881089109010911092109310941095109610971098109911001101110211031104110511061107110811091110111111121113111411151116111711181119112011211122112311241125112611271128112911301131113211331134113511361137113811391140114111421143114411451146114711481149115011511152115311541155115611571158115911601161116211631164116511661167116811691170117111721173117411751176117711781179118011811182118311841185118611871188118911901191119211931194119511961197119811991200120112021203120412051206120712081209121012111212121312141215121612171218121912201221122212231224122512261227122812291230123112321233123412351236123712381239124012411242124312441245124612471248124912501251125212531254125512561257125812591260126112621263126412651266126712681269127012711272127312741275127612771278127912801281128212831284128512861287128812891290129112921293129412951296129712981299130013011302130313041305130613071308130913101311131213131314131513161317131813191320132113221323132413251326132713281329133013311332133313341335133613371338133913401341134213431344134513461347134813491350135113521353135413551356135713581359136013611362136313641365136613671368136913701371137213731374137513761377137813791380138113821383138413851386138713881389139013911392139313941395139613971398139914001401140214031404140514061407140814091410141114121413141414151416141714181419142014211422142314241425142614271428142914301431143214331434143514361437143814391440144114421443144414451446144714481449145014511452145314541455145614571458145914601461146214631464146514661467146814691470147114721473147414751476147714781479148014811482148314841485148614871488148914901491149214931494149514961497149814991500150115021503150415051506150715081509151015111512151315141515151615171518151915201521152215231524152515261527152815291530153115321533153415351536153715381539154015411542
  1. HOST1=localhost
  2. HOST2=localhost
  3. perl_syntax passed
  4. Here is imapsync 2.223 on host petite, a linux system with 0.1/2.0 free GiB of RAM, 107.34% used by processes.
  5. with Perl 5.22.1 and Mail::IMAPClient 3.43
  6. Transfer started at jeudi 07 juillet 2022-07-07 09:53:06 +0200 CEST
  7. PID is 31799 my PPID is 31540
  8. Log file is LOG_imapsync/2022_07_07_09_53_06_047_imapsync.gl@gmail.com_imapsync.gl@gmail.com.txt ( to change it, use --logfile path ; or use --nolog to turn off logging )
  9. Load is 0.16 0.29 0.33 3/628 on 2 cores
  10. Current directory is /home/gilles/public_html/imapsync
  11. Real user id is gilles (uid 1000)
  12. Effective user id is gilles (euid 1000)
  13. $RCSfile: imapsync,v $ $Revision: 2.223 $ $Date: 2022/07/03 10:39:30 $
  14. Command line used, run by /usr/bin/perl:
  15. ./imapsync --gmail1 --user1 imapsync.gl@gmail.com --passfile1 ../../var/pass/secret.imapsync.gl_gmail --gmail2 --user2 imapsync.gl@gmail.com --passfile2 ../../var/pass/secret.imapsync.gl_gmail --no-modulesversion --justfolderlists
  16. Temp directory is /tmp ( to change it use --tmpdir dirpath )
  17. kill -QUIT 31799 # special behavior: call to sub catch_exit
  18. kill -TERM 31799 # special behavior: call to sub catch_exit
  19. kill -INT 31799 # special behavior: call to sub catch_reconnect
  20. kill -HUP 31799 # special behavior: call to sub catch_print
  21. kill -USR1 31799 # special behavior: call to sub toggle_sleep
  22. File /tmp/imapsync.pid does not exist
  23. PID file is /tmp/imapsync.pid ( to change it, use --pidfile filepath ; to avoid it use --pidfile "" )
  24. Writing my PID 31799 in /tmp/imapsync.pid
  25. Writing also my logfile name in /tmp/imapsync.pid : LOG_imapsync/2022_07_07_09_53_06_047_imapsync.gl@gmail.com_imapsync.gl@gmail.com.txt
  26. Info: will resync flags for already transferred messages. Use --noresyncflags to not resync flags.
  27. SSL debug mode level is --debugssl 1 (can be set from 0 meaning no debug to 4 meaning max debug)
  28. Host1: SSL default mode is like --sslargs1 "SSL_verify_mode=0", meaning for host1 SSL_VERIFY_NONE, ie, do not check the server certificate.
  29. Host1: Use --sslargs1 SSL_verify_mode=1 to have SSL_VERIFY_PEER, ie, check the server certificate. of host1
  30. Host2: SSL default mode is like --sslargs2 "SSL_verify_mode=0", meaning for host2 SSL_VERIFY_NONE, ie, do not check the server certificate.
  31. Host2: Use --sslargs2 SSL_verify_mode=1 to have SSL_VERIFY_PEER, ie, check the server certificate. of host2
  32. Info: turned ON syncinternaldates, will set the internal dates (arrival dates) on host2 same as host1.
  33. Host1: will try to use LOGIN authentication on host1
  34. Host2: will try to use LOGIN authentication on host2
  35. Host1: imap connection timeout is 120 seconds
  36. Host2: imap connection timeout is 120 seconds
  37. Host1: imap connection keepalive is on on host1. Use --nokeepalive1 to disable it.
  38. Host2: imap connection keepalive is on on host2. Use --nokeepalive2 to disable it.
  39. Host1: IMAP server [imap.gmail.com] port [993] user [imapsync.gl@gmail.com]
  40. Host2: IMAP server [imap.gmail.com] port [993] user [imapsync.gl@gmail.com]
  41. Host1: connecting and login on host1 [imap.gmail.com] port [993] with user [imapsync.gl@gmail.com]
  42. Host1 IP address: 2a00:1450:400c:c07::6c Local IP address: 2a01:e34:ecde:70d0:223:54ff:fec2:36d7
  43. Host1 banner: * OK Gimap ready for requests from 2a01:e34:ecde:70d0:223:54ff:fec2:36d7 t12mb104916042wmq
  44. Host1 capability before authentication: IMAP4rev1 UNSELECT IDLE NAMESPACE QUOTA ID XLIST CHILDREN X-GM-EXT-1 XYZZY SASL-IR AUTH=XOAUTH2 AUTH=PLAIN AUTH=PLAIN-CLIENTTOKEN AUTH=OAUTHBEARER AUTH=XOAUTH AUTH
  45. Host1: success login on [imap.gmail.com] with user [imapsync.gl@gmail.com] auth [LOGIN] or [LOGIN]
  46. Host2: connecting and login on host2 [imap.gmail.com] port [993] with user [imapsync.gl@gmail.com]
  47. Host2 IP address: 2a00:1450:400c:c07::6d Local IP address: 2a01:e34:ecde:70d0:223:54ff:fec2:36d7
  48. Host2 banner: * OK Gimap ready for requests from 2a01:e34:ecde:70d0:223:54ff:fec2:36d7 f11mb222883796wri
  49. Host2 capability before authentication: IMAP4rev1 UNSELECT IDLE NAMESPACE QUOTA ID XLIST CHILDREN X-GM-EXT-1 XYZZY SASL-IR AUTH=XOAUTH2 AUTH=PLAIN AUTH=PLAIN-CLIENTTOKEN AUTH=OAUTHBEARER AUTH=XOAUTH AUTH
  50. Host2: success login on [imap.gmail.com] with user [imapsync.gl@gmail.com] auth [LOGIN] or [LOGIN]
  51. Host1: state Authenticated
  52. Host2: state Authenticated
  53. Host1 capability once authenticated: IMAP4rev1 UNSELECT IDLE NAMESPACE QUOTA ID XLIST CHILDREN X-GM-EXT-1 UIDPLUS COMPRESS=DEFLATE ENABLE MOVE CONDSTORE ESEARCH UTF8=ACCEPT LIST-EXTENDED LIST-STATUS LITERAL- SPECIAL-USE APPENDLIMIT=35651584 COMPRESS UTF8 APPENDLIMIT
  54. Host2 capability once authenticated: IMAP4rev1 UNSELECT IDLE NAMESPACE QUOTA ID XLIST CHILDREN X-GM-EXT-1 UIDPLUS COMPRESS=DEFLATE ENABLE MOVE CONDSTORE ESEARCH UTF8=ACCEPT LIST-EXTENDED LIST-STATUS LITERAL- SPECIAL-USE APPENDLIMIT=35651584 COMPRESS UTF8 APPENDLIMIT
  55. Host1: found ID capability. Sending/receiving ID, presented in raw IMAP for now.
  56. In order to avoid sending/receiving ID, use option --noid
  57. Sending: 4 ID ("name" "imapsync" "version" "2.223" "os" "linux" "vendor" "Gilles LAMIRAL" "support-url" "https://imapsync.lamiral.info/" "date" "03-Jul-2022 10:39:30 +0000" "side" "host1")
  58. Sent 181 bytes
  59. Read: * ID ("name" "GImap" "vendor" "Google, Inc." "support-url" "https://support.google.com/mail" "version" "gmail_imap_220624.08_p0" "remote-host" "2a01:e34:ecde:70d0:223:54ff:fec2:36d7")
  60. 4 OK Success
  61. Host2: found ID capability. Sending/receiving ID, presented in raw IMAP for now.
  62. In order to avoid sending/receiving ID, use option --noid
  63. Sending: 4 ID ("name" "imapsync" "version" "2.223" "os" "linux" "vendor" "Gilles LAMIRAL" "support-url" "https://imapsync.lamiral.info/" "date" "03-Jul-2022 10:39:30 +0000" "side" "host2")
  64. Sent 181 bytes
  65. Read: * ID ("name" "GImap" "vendor" "Google, Inc." "support-url" "https://support.google.com/mail" "version" "gmail_imap_220624.08_p0" "remote-host" "2a01:e34:ecde:70d0:223:54ff:fec2:36d7")
  66. 4 OK Success
  67. Host2: QUOTA capability found, presented in raw IMAP on next lines
  68. Sending: 5 GETQUOTAROOT INBOX
  69. Sent 22 bytes
  70. Read: * QUOTAROOT "INBOX" ""
  71. * QUOTA "" (STORAGE 23274 15728640)
  72. 5 OK Success
  73. Host2: Quota current storage is 23832576 bytes. Limit is 16106127360 bytes. So 0.15 % full
  74. Host2: found APPENDLIMIT=35651584 in CAPABILITY (use --appendlimit xxxx to override this automatic setting)
  75. Host2: Setting maxsize to appendlimit 35651584
  76. Host1: Compression is off. Use --compress1 to allow compression on host1
  77. Host2: Compression is off. Use --compress2 to allow compression on host2
  78. Host1: found 144 folders.
  79. Host2: found 144 folders.
  80. Host1: guessing separator from folder listing: [/]
  81. Host1: separator given by NAMESPACE: [/]
  82. Host2: guessing separator from folder listing: [/]
  83. Host2: separator given by NAMESPACE: [/]
  84. Host1: guessing prefix from folder listing: []
  85. Host1: prefix given by NAMESPACE: []
  86. Host2: guessing prefix from folder listing: []
  87. Host2: prefix given by NAMESPACE: []
  88. Host1: separator and prefix: [/][]
  89. Host2: separator and prefix: [/][]
  90. Including all folders found by default. Use --subscribed or --folder or --folderrec or --include to select specific folders. Use --exclude to unselect specific folders.
  91. Excluding folders matching pattern \[Gmail\]$
  92. [[Gmail]]
  93. Host1: Checking wanted folders exist. Use --nocheckfoldersexist to avoid this check (shared of public namespace targeted).
  94. Host1: Checking wanted folders are selectable. Use --nocheckselectable to avoid this check.
  95. Turned on automapping folders ( use --noautomap to turn off automapping )
  96. Host1: special [Gmail]/All Mail = \All
  97. Host1: special [Gmail]/Bin = \Trash
  98. Host1: special [Gmail]/Drafts = \Drafts
  99. Host1: special [Gmail]/Sent Mail = \Sent
  100. Host1: special [Gmail]/Spam = \Junk
  101. Host1: special [Gmail]/Starred = \Flagged
  102. Host2: special [Gmail]/All Mail = \All
  103. Host2: special [Gmail]/Bin = \Trash
  104. Host2: special [Gmail]/Drafts = \Drafts
  105. Host2: special [Gmail]/Sent Mail = \Sent
  106. Host2: special [Gmail]/Spam = \Junk
  107. Host2: special [Gmail]/Starred = \Flagged
  108. ++++ Listing folders
  109. All foldernames are presented between brackets like [X] where X is the foldername.
  110. When a foldername contains non-ASCII characters it is presented in the form
  111. [X] = [Y] where
  112. X is the imap foldername you have to use in command line options and
  113. Y is the utf8 output just printed for convenience, to recognize it.
  114. Host1: folders list (first the raw imap format then the [X] = [Y]):
  115. * LIST (\HasNoChildren) "/" "\"qq\""
  116. * LIST (\HasNoChildren) "/" "\"uni\""
  117. * LIST (\HasNoChildren) "/" "A B"
  118. * LIST (\HasNoChildren) "/" "A:B:C"
  119. * LIST (\HasChildren) "/" "Aa"
  120. * LIST (\HasChildren) "/" "Aa/B"
  121. * LIST (\HasNoChildren) "/" "Aa/B/C"
  122. * LIST (\HasChildren) "/" "BBB"
  123. * LIST (\HasNoChildren) "/" "BBB/ blanc_begin"
  124. * LIST (\HasNoChildren) "/" "BBB/\"qq\""
  125. * LIST (\HasNoChildren) "/" "BBB/\"uni\""
  126. * LIST (\HasNoChildren) "/" "BBB/A"
  127. * LIST (\HasNoChildren) "/" "BBB/A B"
  128. * LIST (\HasNoChildren) "/" "BBB/A:B:C"
  129. * LIST (\HasNoChildren) "/" "BBB/Draft"
  130. * LIST (\HasNoChildren) "/" "BBB/Drafts"
  131. * LIST (\HasNoChildren) "/" "BBB/Giancarlo"
  132. * LIST (\HasNoChildren) "/" "BBB/INBOX"
  133. * LIST (\HasNoChildren) "/" "BBB/Junk"
  134. * LIST (\HasNoChildren) "/" "BBB/Messages envoy&AOk-s"
  135. * LIST (\HasNoChildren) "/" "BBB/Messagesenvoy&AOk-s"
  136. * LIST (\HasNoChildren) "/" "BBB/NUL_char"
  137. * LIST (\HasNoChildren) "/" "BBB/Note"
  138. * LIST (\HasNoChildren) "/" "BBB/SMS"
  139. * LIST (\HasNoChildren) "/" "BBB/Sent"
  140. * LIST (\HasChildren) "/" "BBB/Trash"
  141. * LIST (\HasNoChildren) "/" "BBB/Trash/Giancarlo"
  142. * LIST (\HasNoChildren) "/" "BBB/[bracket]"
  143. * LIST (\HasNoChildren) "/" "BBB/a@bc"
  144. * LIST (\HasNoChildren) "/" "BBB/addheader"
  145. * LIST (\HasNoChildren) "/" "BBB/backstar\\*"
  146. * LIST (\HasNoChildren) "/" "BBB/bigmail2"
  147. * LIST (\HasChildren) "/" "BBB/blanc"
  148. * LIST (\HasChildren \Noselect) "/" "BBB/blanc "
  149. * LIST (\HasNoChildren) "/" "BBB/blanc /blanc2"
  150. * LIST (\HasNoChildren) "/" "BBB/blanc middle"
  151. * LIST (\HasNoChildren) "/" "BBB/blanc/blanc2"
  152. * LIST (\HasNoChildren) "/" "BBB/blanc_begin"
  153. * LIST (\HasNoChildren) "/" "BBB/disarm"
  154. * LIST (\HasNoChildren) "/" "BBB/duplicates"
  155. * LIST (\HasNoChildren) "/" "BBB/errors"
  156. * LIST (\HasNoChildren) "/" "BBB/f g\\h\"i'j"
  157. * LIST (\HasNoChildren) "/" "BBB/f g\\h_i_j"
  158. * LIST (\HasNoChildren) "/" "BBB/few_emails"
  159. * LIST (\HasNoChildren) "/" "BBB/lalala"
  160. * LIST (\HasNoChildren) "/" "BBB/longline"
  161. * LIST (\HasNoChildren) "/" "BBB/new_folder"
  162. * LIST (\HasNoChildren) "/" "BBB/oneemail"
  163. * LIST (\HasNoChildren) "/" "BBB/oneemail2"
  164. * LIST (\HasNoChildren) "/" "BBB/oneemail3"
  165. * LIST (\HasNoChildren) "/" "BBB/partial"
  166. * LIST (\HasNoChildren) "/" "BBB/ppp"
  167. * LIST (\HasNoChildren) "/" "BBB/qqq"
  168. * LIST (\HasNoChildren) "/" "BBB/regexmess"
  169. * LIST (\HasNoChildren) "/" "BBB/scwchu"
  170. * LIST (\HasNoChildren) "/" "BBB/size_null"
  171. * LIST (\HasNoChildren) "/" "BBB/star*"
  172. * LIST (\HasNoChildren) "/" "BBB/uni"
  173. * LIST (\HasNoChildren) "/" "BBB/useuid"
  174. * LIST (\HasChildren) "/" "BBB/yop"
  175. * LIST (\HasNoChildren) "/" "BBB/yop/YAP"
  176. * LIST (\HasChildren \Noselect) "/" "BBB/yop/yap"
  177. * LIST (\HasNoChildren) "/" "BBB/yop/yap/yip"
  178. * LIST (\HasChildren) "/" "BBB/yop/yup"
  179. * LIST (\HasChildren) "/" "BBB/yop/yup/yip"
  180. * LIST (\HasChildren) "/" "BBB/yop/yup/yip/yap"
  181. * LIST (\HasNoChildren) "/" "BBB/yop/yup/yip/yap/yep"
  182. * LIST (\HasChildren) "/" "BBB/yopX"
  183. * LIST (\HasNoChildren) "/" "BBB/yopX/yap"
  184. * LIST (\HasNoChildren) "/" "BBB/yopX/yup"
  185. * LIST (\HasNoChildren) "/" "BBB/zz"
  186. * LIST (\HasNoChildren) "/" "BBB/zz_1"
  187. * LIST (\HasNoChildren) "/" "BBB/zz_2"
  188. * LIST (\HasNoChildren) "/" "BBB/zz_3"
  189. * LIST (\HasNoChildren) "/" "Chats"
  190. * LIST (\HasNoChildren) "/" "Draft"
  191. * LIST (\HasNoChildren) "/" "Drafts"
  192. * LIST (\HasNoChildren) "/" "Dumb"
  193. * LIST (\HasNoChildren) "/" "Giancarlo"
  194. * LIST (\HasChildren \Noselect) "/" "Gmail"
  195. * LIST (\HasNoChildren) "/" "Gmail/Messages envoyes"
  196. * LIST (\HasNoChildren) "/" "INBOX"
  197. * LIST (\HasNoChildren) "/" "Important"
  198. * LIST (\HasNoChildren) "/" "Junk"
  199. * LIST (\HasNoChildren) "/" "Messages envoy&AOk-s"
  200. * LIST (\HasNoChildren) "/" "Messages_envoy&AOk-s"
  201. * LIST (\HasNoChildren) "/" "Messagesenvoy&AOk-s"
  202. * LIST (\HasNoChildren) "/" "Note"
  203. * LIST (\HasNoChildren) "/" "SMS"
  204. * LIST (\HasNoChildren) "/" "Sent"
  205. * LIST (\HasNoChildren) "/" "Test"
  206. * LIST (\HasNoChildren) "/" "Trash"
  207. * LIST (\HasNoChildren) "/" "Updates_L"
  208. * LIST (\HasChildren) "/" "[Gmail]"
  209. * LIST (\All \HasNoChildren) "/" "[Gmail]/All Mail"
  210. * LIST (\HasNoChildren \Trash) "/" "[Gmail]/Bin"
  211. * LIST (\HasNoChildren) "/" "[Gmail]/Chats"
  212. * LIST (\Drafts \HasNoChildren) "/" "[Gmail]/Drafts"
  213. * LIST (\HasNoChildren \Important) "/" "[Gmail]/Important"
  214. * LIST (\HasNoChildren) "/" "[Gmail]/Messages envoy&AOk-s"
  215. * LIST (\HasNoChildren \Sent) "/" "[Gmail]/Sent Mail"
  216. * LIST (\HasNoChildren \Junk) "/" "[Gmail]/Spam"
  217. * LIST (\Flagged \HasNoChildren) "/" "[Gmail]/Starred"
  218. * LIST (\HasNoChildren) "/" "[Gmail]/Trash"
  219. * LIST (\HasNoChildren) "/" "[Gmail]/te*st"
  220. * LIST (\HasNoChildren) "/" "a@bc"
  221. * LIST (\HasNoChildren) "/" "addheader"
  222. * LIST (\HasNoChildren) "/" "backstar\\*"
  223. * LIST (\HasNoChildren) "/" "bigmail2"
  224. * LIST (\HasChildren) "/" "blanc"
  225. * LIST (\HasChildren \Noselect) "/" "blanc "
  226. * LIST (\HasNoChildren) "/" "blanc /blanc2"
  227. * LIST (\HasNoChildren) "/" "blanc middle"
  228. * LIST (\HasNoChildren) "/" "blanc/blanc2"
  229. * LIST (\HasNoChildren) "/" "blanc_begin"
  230. * LIST (\HasChildren) "/" "blanc_end"
  231. * LIST (\HasNoChildren) "/" "blanc_end/blanc2"
  232. * LIST (\HasChildren) "/" "blanc_end2"
  233. * LIST (\HasNoChildren) "/" "blanc_end2/blanc2"
  234. * LIST (\HasNoChildren) "/" "duplicates"
  235. * LIST (\HasNoChildren) "/" "f g\\h\"i'j"
  236. * LIST (\HasNoChildren) "/" "f g\\h_i_j"
  237. * LIST (\HasNoChildren) "/" "few_emails"
  238. * LIST (\HasNoChildren) "/" "inbox_copy"
  239. * LIST (\HasNoChildren) "/" "lalala"
  240. * LIST (\HasNoChildren) "/" "new_folder"
  241. * LIST (\HasNoChildren) "/" "oneemail"
  242. * LIST (\HasNoChildren) "/" "oneemail2"
  243. * LIST (\HasNoChildren) "/" "oneemail3"
  244. * LIST (\HasNoChildren) "/" "ppp"
  245. * LIST (\HasNoChildren) "/" "qqq"
  246. * LIST (\HasNoChildren) "/" "regexmess"
  247. * LIST (\HasNoChildren) "/" "scwchu"
  248. * LIST (\HasNoChildren) "/" "size_null"
  249. * LIST (\HasNoChildren) "/" "star*"
  250. * LIST (\HasNoChildren) "/" "te*st"
  251. * LIST (\HasNoChildren) "/" "uni"
  252. * LIST (\HasNoChildren) "/" "useuid"
  253. * LIST (\HasChildren) "/" "yop"
  254. * LIST (\HasNoChildren) "/" "yop/yap"
  255. * LIST (\HasChildren) "/" "yop/yup"
  256. * LIST (\HasChildren) "/" "yop/yup/yip"
  257. * LIST (\HasChildren) "/" "yop/yup/yip/yap"
  258. * LIST (\HasNoChildren) "/" "yop/yup/yip/yap/yep"
  259. * LIST (\HasChildren) "/" "yopX"
  260. * LIST (\HasNoChildren) "/" "yopX/yap"
  261. * LIST (\HasNoChildren) "/" "yopX/yup"
  262. * LIST (\HasNoChildren) "/" "zz"
  263. 153 OK Success
  264. ["qq"]
  265. ["uni"]
  266. [A B]
  267. [A:B:C]
  268. [Aa]
  269. [Aa/B]
  270. [Aa/B/C]
  271. [BBB]
  272. [BBB/ blanc_begin]
  273. [BBB/"qq"]
  274. [BBB/"uni"]
  275. [BBB/A]
  276. [BBB/A B]
  277. [BBB/A:B:C]
  278. [BBB/Draft]
  279. [BBB/Drafts]
  280. [BBB/Giancarlo]
  281. [BBB/INBOX]
  282. [BBB/Junk]
  283. [BBB/Messages envoy&AOk-s] = [BBB/Messages envoyés]
  284. [BBB/Messagesenvoy&AOk-s] = [BBB/Messagesenvoyés]
  285. [BBB/NUL_char]
  286. [BBB/Note]
  287. [BBB/SMS]
  288. [BBB/Sent]
  289. [BBB/Trash]
  290. [BBB/Trash/Giancarlo]
  291. [BBB/[bracket]]
  292. [BBB/a@bc]
  293. [BBB/addheader]
  294. [BBB/backstar\*]
  295. [BBB/bigmail2]
  296. [BBB/blanc]
  297. [BBB/blanc /blanc2]
  298. [BBB/blanc middle]
  299. [BBB/blanc/blanc2]
  300. [BBB/blanc_begin]
  301. [BBB/disarm]
  302. [BBB/duplicates]
  303. [BBB/errors]
  304. [BBB/f g\h"i'j]
  305. [BBB/f g\h_i_j]
  306. [BBB/few_emails]
  307. [BBB/lalala]
  308. [BBB/longline]
  309. [BBB/new_folder]
  310. [BBB/oneemail]
  311. [BBB/oneemail2]
  312. [BBB/oneemail3]
  313. [BBB/partial]
  314. [BBB/ppp]
  315. [BBB/qqq]
  316. [BBB/regexmess]
  317. [BBB/scwchu]
  318. [BBB/size_null]
  319. [BBB/star*]
  320. [BBB/uni]
  321. [BBB/useuid]
  322. [BBB/yop]
  323. [BBB/yop/YAP]
  324. [BBB/yop/yap/yip]
  325. [BBB/yop/yup]
  326. [BBB/yop/yup/yip]
  327. [BBB/yop/yup/yip/yap]
  328. [BBB/yop/yup/yip/yap/yep]
  329. [BBB/yopX]
  330. [BBB/yopX/yap]
  331. [BBB/yopX/yup]
  332. [BBB/zz]
  333. [BBB/zz_1]
  334. [BBB/zz_2]
  335. [BBB/zz_3]
  336. [Chats]
  337. [Draft]
  338. [Drafts]
  339. [Dumb]
  340. [Giancarlo]
  341. [Gmail/Messages envoyes]
  342. [INBOX]
  343. [Important]
  344. [Junk]
  345. [Messages envoy&AOk-s] = [Messages envoyés]
  346. [Messages_envoy&AOk-s] = [Messages_envoyés]
  347. [Messagesenvoy&AOk-s] = [Messagesenvoyés]
  348. [Note]
  349. [SMS]
  350. [Sent]
  351. [Test]
  352. [Trash]
  353. [Updates_L]
  354. [[Gmail]]
  355. [[Gmail]/All Mail]
  356. [[Gmail]/Bin]
  357. [[Gmail]/Chats]
  358. [[Gmail]/Drafts]
  359. [[Gmail]/Important]
  360. [[Gmail]/Messages envoy&AOk-s] = [[Gmail]/Messages envoyés]
  361. [[Gmail]/Sent Mail]
  362. [[Gmail]/Spam]
  363. [[Gmail]/Starred]
  364. [[Gmail]/Trash]
  365. [[Gmail]/te*st]
  366. [a@bc]
  367. [addheader]
  368. [backstar\*]
  369. [bigmail2]
  370. [blanc]
  371. [blanc /blanc2]
  372. [blanc middle]
  373. [blanc/blanc2]
  374. [blanc_begin]
  375. [blanc_end]
  376. [blanc_end/blanc2]
  377. [blanc_end2]
  378. [blanc_end2/blanc2]
  379. [duplicates]
  380. [f g\h"i'j]
  381. [f g\h_i_j]
  382. [few_emails]
  383. [inbox_copy]
  384. [lalala]
  385. [new_folder]
  386. [oneemail]
  387. [oneemail2]
  388. [oneemail3]
  389. [ppp]
  390. [qqq]
  391. [regexmess]
  392. [scwchu]
  393. [size_null]
  394. [star*]
  395. [te*st]
  396. [uni]
  397. [useuid]
  398. [yop]
  399. [yop/yap]
  400. [yop/yup]
  401. [yop/yup/yip]
  402. [yop/yup/yip/yap]
  403. [yop/yup/yip/yap/yep]
  404. [yopX]
  405. [yopX/yap]
  406. [yopX/yup]
  407. [zz]
  408. Host2: folders list (first the raw imap format then the [X] = [Y]):
  409. * LIST (\HasNoChildren) "/" "\"qq\""
  410. * LIST (\HasNoChildren) "/" "\"uni\""
  411. * LIST (\HasNoChildren) "/" "A B"
  412. * LIST (\HasNoChildren) "/" "A:B:C"
  413. * LIST (\HasChildren) "/" "Aa"
  414. * LIST (\HasChildren) "/" "Aa/B"
  415. * LIST (\HasNoChildren) "/" "Aa/B/C"
  416. * LIST (\HasChildren) "/" "BBB"
  417. * LIST (\HasNoChildren) "/" "BBB/ blanc_begin"
  418. * LIST (\HasNoChildren) "/" "BBB/\"qq\""
  419. * LIST (\HasNoChildren) "/" "BBB/\"uni\""
  420. * LIST (\HasNoChildren) "/" "BBB/A"
  421. * LIST (\HasNoChildren) "/" "BBB/A B"
  422. * LIST (\HasNoChildren) "/" "BBB/A:B:C"
  423. * LIST (\HasNoChildren) "/" "BBB/Draft"
  424. * LIST (\HasNoChildren) "/" "BBB/Drafts"
  425. * LIST (\HasNoChildren) "/" "BBB/Giancarlo"
  426. * LIST (\HasNoChildren) "/" "BBB/INBOX"
  427. * LIST (\HasNoChildren) "/" "BBB/Junk"
  428. * LIST (\HasNoChildren) "/" "BBB/Messages envoy&AOk-s"
  429. * LIST (\HasNoChildren) "/" "BBB/Messagesenvoy&AOk-s"
  430. * LIST (\HasNoChildren) "/" "BBB/NUL_char"
  431. * LIST (\HasNoChildren) "/" "BBB/Note"
  432. * LIST (\HasNoChildren) "/" "BBB/SMS"
  433. * LIST (\HasNoChildren) "/" "BBB/Sent"
  434. * LIST (\HasChildren) "/" "BBB/Trash"
  435. * LIST (\HasNoChildren) "/" "BBB/Trash/Giancarlo"
  436. * LIST (\HasNoChildren) "/" "BBB/[bracket]"
  437. * LIST (\HasNoChildren) "/" "BBB/a@bc"
  438. * LIST (\HasNoChildren) "/" "BBB/addheader"
  439. * LIST (\HasNoChildren) "/" "BBB/backstar\\*"
  440. * LIST (\HasNoChildren) "/" "BBB/bigmail2"
  441. * LIST (\HasChildren) "/" "BBB/blanc"
  442. * LIST (\HasChildren \Noselect) "/" "BBB/blanc "
  443. * LIST (\HasNoChildren) "/" "BBB/blanc /blanc2"
  444. * LIST (\HasNoChildren) "/" "BBB/blanc middle"
  445. * LIST (\HasNoChildren) "/" "BBB/blanc/blanc2"
  446. * LIST (\HasNoChildren) "/" "BBB/blanc_begin"
  447. * LIST (\HasNoChildren) "/" "BBB/disarm"
  448. * LIST (\HasNoChildren) "/" "BBB/duplicates"
  449. * LIST (\HasNoChildren) "/" "BBB/errors"
  450. * LIST (\HasNoChildren) "/" "BBB/f g\\h\"i'j"
  451. * LIST (\HasNoChildren) "/" "BBB/f g\\h_i_j"
  452. * LIST (\HasNoChildren) "/" "BBB/few_emails"
  453. * LIST (\HasNoChildren) "/" "BBB/lalala"
  454. * LIST (\HasNoChildren) "/" "BBB/longline"
  455. * LIST (\HasNoChildren) "/" "BBB/new_folder"
  456. * LIST (\HasNoChildren) "/" "BBB/oneemail"
  457. * LIST (\HasNoChildren) "/" "BBB/oneemail2"
  458. * LIST (\HasNoChildren) "/" "BBB/oneemail3"
  459. * LIST (\HasNoChildren) "/" "BBB/partial"
  460. * LIST (\HasNoChildren) "/" "BBB/ppp"
  461. * LIST (\HasNoChildren) "/" "BBB/qqq"
  462. * LIST (\HasNoChildren) "/" "BBB/regexmess"
  463. * LIST (\HasNoChildren) "/" "BBB/scwchu"
  464. * LIST (\HasNoChildren) "/" "BBB/size_null"
  465. * LIST (\HasNoChildren) "/" "BBB/star*"
  466. * LIST (\HasNoChildren) "/" "BBB/uni"
  467. * LIST (\HasNoChildren) "/" "BBB/useuid"
  468. * LIST (\HasChildren) "/" "BBB/yop"
  469. * LIST (\HasNoChildren) "/" "BBB/yop/YAP"
  470. * LIST (\HasChildren \Noselect) "/" "BBB/yop/yap"
  471. * LIST (\HasNoChildren) "/" "BBB/yop/yap/yip"
  472. * LIST (\HasChildren) "/" "BBB/yop/yup"
  473. * LIST (\HasChildren) "/" "BBB/yop/yup/yip"
  474. * LIST (\HasChildren) "/" "BBB/yop/yup/yip/yap"
  475. * LIST (\HasNoChildren) "/" "BBB/yop/yup/yip/yap/yep"
  476. * LIST (\HasChildren) "/" "BBB/yopX"
  477. * LIST (\HasNoChildren) "/" "BBB/yopX/yap"
  478. * LIST (\HasNoChildren) "/" "BBB/yopX/yup"
  479. * LIST (\HasNoChildren) "/" "BBB/zz"
  480. * LIST (\HasNoChildren) "/" "BBB/zz_1"
  481. * LIST (\HasNoChildren) "/" "BBB/zz_2"
  482. * LIST (\HasNoChildren) "/" "BBB/zz_3"
  483. * LIST (\HasNoChildren) "/" "Chats"
  484. * LIST (\HasNoChildren) "/" "Draft"
  485. * LIST (\HasNoChildren) "/" "Drafts"
  486. * LIST (\HasNoChildren) "/" "Dumb"
  487. * LIST (\HasNoChildren) "/" "Giancarlo"
  488. * LIST (\HasChildren \Noselect) "/" "Gmail"
  489. * LIST (\HasNoChildren) "/" "Gmail/Messages envoyes"
  490. * LIST (\HasNoChildren) "/" "INBOX"
  491. * LIST (\HasNoChildren) "/" "Important"
  492. * LIST (\HasNoChildren) "/" "Junk"
  493. * LIST (\HasNoChildren) "/" "Messages envoy&AOk-s"
  494. * LIST (\HasNoChildren) "/" "Messages_envoy&AOk-s"
  495. * LIST (\HasNoChildren) "/" "Messagesenvoy&AOk-s"
  496. * LIST (\HasNoChildren) "/" "Note"
  497. * LIST (\HasNoChildren) "/" "SMS"
  498. * LIST (\HasNoChildren) "/" "Sent"
  499. * LIST (\HasNoChildren) "/" "Test"
  500. * LIST (\HasNoChildren) "/" "Trash"
  501. * LIST (\HasNoChildren) "/" "Updates_L"
  502. * LIST (\HasChildren) "/" "[Gmail]"
  503. * LIST (\All \HasNoChildren) "/" "[Gmail]/All Mail"
  504. * LIST (\HasNoChildren \Trash) "/" "[Gmail]/Bin"
  505. * LIST (\HasNoChildren) "/" "[Gmail]/Chats"
  506. * LIST (\Drafts \HasNoChildren) "/" "[Gmail]/Drafts"
  507. * LIST (\HasNoChildren \Important) "/" "[Gmail]/Important"
  508. * LIST (\HasNoChildren) "/" "[Gmail]/Messages envoy&AOk-s"
  509. * LIST (\HasNoChildren \Sent) "/" "[Gmail]/Sent Mail"
  510. * LIST (\HasNoChildren \Junk) "/" "[Gmail]/Spam"
  511. * LIST (\Flagged \HasNoChildren) "/" "[Gmail]/Starred"
  512. * LIST (\HasNoChildren) "/" "[Gmail]/Trash"
  513. * LIST (\HasNoChildren) "/" "[Gmail]/te*st"
  514. * LIST (\HasNoChildren) "/" "a@bc"
  515. * LIST (\HasNoChildren) "/" "addheader"
  516. * LIST (\HasNoChildren) "/" "backstar\\*"
  517. * LIST (\HasNoChildren) "/" "bigmail2"
  518. * LIST (\HasChildren) "/" "blanc"
  519. * LIST (\HasChildren \Noselect) "/" "blanc "
  520. * LIST (\HasNoChildren) "/" "blanc /blanc2"
  521. * LIST (\HasNoChildren) "/" "blanc middle"
  522. * LIST (\HasNoChildren) "/" "blanc/blanc2"
  523. * LIST (\HasNoChildren) "/" "blanc_begin"
  524. * LIST (\HasChildren) "/" "blanc_end"
  525. * LIST (\HasNoChildren) "/" "blanc_end/blanc2"
  526. * LIST (\HasChildren) "/" "blanc_end2"
  527. * LIST (\HasNoChildren) "/" "blanc_end2/blanc2"
  528. * LIST (\HasNoChildren) "/" "duplicates"
  529. * LIST (\HasNoChildren) "/" "f g\\h\"i'j"
  530. * LIST (\HasNoChildren) "/" "f g\\h_i_j"
  531. * LIST (\HasNoChildren) "/" "few_emails"
  532. * LIST (\HasNoChildren) "/" "inbox_copy"
  533. * LIST (\HasNoChildren) "/" "lalala"
  534. * LIST (\HasNoChildren) "/" "new_folder"
  535. * LIST (\HasNoChildren) "/" "oneemail"
  536. * LIST (\HasNoChildren) "/" "oneemail2"
  537. * LIST (\HasNoChildren) "/" "oneemail3"
  538. * LIST (\HasNoChildren) "/" "ppp"
  539. * LIST (\HasNoChildren) "/" "qqq"
  540. * LIST (\HasNoChildren) "/" "regexmess"
  541. * LIST (\HasNoChildren) "/" "scwchu"
  542. * LIST (\HasNoChildren) "/" "size_null"
  543. * LIST (\HasNoChildren) "/" "star*"
  544. * LIST (\HasNoChildren) "/" "te*st"
  545. * LIST (\HasNoChildren) "/" "uni"
  546. * LIST (\HasNoChildren) "/" "useuid"
  547. * LIST (\HasChildren) "/" "yop"
  548. * LIST (\HasNoChildren) "/" "yop/yap"
  549. * LIST (\HasChildren) "/" "yop/yup"
  550. * LIST (\HasChildren) "/" "yop/yup/yip"
  551. * LIST (\HasChildren) "/" "yop/yup/yip/yap"
  552. * LIST (\HasNoChildren) "/" "yop/yup/yip/yap/yep"
  553. * LIST (\HasChildren) "/" "yopX"
  554. * LIST (\HasNoChildren) "/" "yopX/yap"
  555. * LIST (\HasNoChildren) "/" "yopX/yup"
  556. * LIST (\HasNoChildren) "/" "zz"
  557. 11 OK Success
  558. ["qq"]
  559. ["uni"]
  560. [A B]
  561. [A:B:C]
  562. [Aa]
  563. [Aa/B]
  564. [Aa/B/C]
  565. [BBB]
  566. [BBB/ blanc_begin]
  567. [BBB/"qq"]
  568. [BBB/"uni"]
  569. [BBB/A]
  570. [BBB/A B]
  571. [BBB/A:B:C]
  572. [BBB/Draft]
  573. [BBB/Drafts]
  574. [BBB/Giancarlo]
  575. [BBB/INBOX]
  576. [BBB/Junk]
  577. [BBB/Messages envoy&AOk-s] = [BBB/Messages envoyés]
  578. [BBB/Messagesenvoy&AOk-s] = [BBB/Messagesenvoyés]
  579. [BBB/NUL_char]
  580. [BBB/Note]
  581. [BBB/SMS]
  582. [BBB/Sent]
  583. [BBB/Trash]
  584. [BBB/Trash/Giancarlo]
  585. [BBB/[bracket]]
  586. [BBB/a@bc]
  587. [BBB/addheader]
  588. [BBB/backstar\*]
  589. [BBB/bigmail2]
  590. [BBB/blanc]
  591. [BBB/blanc /blanc2]
  592. [BBB/blanc middle]
  593. [BBB/blanc/blanc2]
  594. [BBB/blanc_begin]
  595. [BBB/disarm]
  596. [BBB/duplicates]
  597. [BBB/errors]
  598. [BBB/f g\h"i'j]
  599. [BBB/f g\h_i_j]
  600. [BBB/few_emails]
  601. [BBB/lalala]
  602. [BBB/longline]
  603. [BBB/new_folder]
  604. [BBB/oneemail]
  605. [BBB/oneemail2]
  606. [BBB/oneemail3]
  607. [BBB/partial]
  608. [BBB/ppp]
  609. [BBB/qqq]
  610. [BBB/regexmess]
  611. [BBB/scwchu]
  612. [BBB/size_null]
  613. [BBB/star*]
  614. [BBB/uni]
  615. [BBB/useuid]
  616. [BBB/yop]
  617. [BBB/yop/YAP]
  618. [BBB/yop/yap/yip]
  619. [BBB/yop/yup]
  620. [BBB/yop/yup/yip]
  621. [BBB/yop/yup/yip/yap]
  622. [BBB/yop/yup/yip/yap/yep]
  623. [BBB/yopX]
  624. [BBB/yopX/yap]
  625. [BBB/yopX/yup]
  626. [BBB/zz]
  627. [BBB/zz_1]
  628. [BBB/zz_2]
  629. [BBB/zz_3]
  630. [Chats]
  631. [Draft]
  632. [Drafts]
  633. [Dumb]
  634. [Giancarlo]
  635. [Gmail/Messages envoyes]
  636. [INBOX]
  637. [Important]
  638. [Junk]
  639. [Messages envoy&AOk-s] = [Messages envoyés]
  640. [Messages_envoy&AOk-s] = [Messages_envoyés]
  641. [Messagesenvoy&AOk-s] = [Messagesenvoyés]
  642. [Note]
  643. [SMS]
  644. [Sent]
  645. [Test]
  646. [Trash]
  647. [Updates_L]
  648. [[Gmail]]
  649. [[Gmail]/All Mail]
  650. [[Gmail]/Bin]
  651. [[Gmail]/Chats]
  652. [[Gmail]/Drafts]
  653. [[Gmail]/Important]
  654. [[Gmail]/Messages envoy&AOk-s] = [[Gmail]/Messages envoyés]
  655. [[Gmail]/Sent Mail]
  656. [[Gmail]/Spam]
  657. [[Gmail]/Starred]
  658. [[Gmail]/Trash]
  659. [[Gmail]/te*st]
  660. [a@bc]
  661. [addheader]
  662. [backstar\*]
  663. [bigmail2]
  664. [blanc]
  665. [blanc /blanc2]
  666. [blanc middle]
  667. [blanc/blanc2]
  668. [blanc_begin]
  669. [blanc_end]
  670. [blanc_end/blanc2]
  671. [blanc_end2]
  672. [blanc_end2/blanc2]
  673. [duplicates]
  674. [f g\h"i'j]
  675. [f g\h_i_j]
  676. [few_emails]
  677. [inbox_copy]
  678. [lalala]
  679. [new_folder]
  680. [oneemail]
  681. [oneemail2]
  682. [oneemail3]
  683. [ppp]
  684. [qqq]
  685. [regexmess]
  686. [scwchu]
  687. [size_null]
  688. [star*]
  689. [te*st]
  690. [uni]
  691. [useuid]
  692. [yop]
  693. [yop/yap]
  694. [yop/yup]
  695. [yop/yup/yip]
  696. [yop/yup/yip/yap]
  697. [yop/yup/yip/yap/yep]
  698. [yopX]
  699. [yopX/yap]
  700. [yopX/yup]
  701. [zz]
  702. Folders mapping from --automap feature (use --f1f2 to override any mapping):
  703. [[Gmail]/Starred] -> [[Gmail]/Starred]
  704. [[Gmail]/Bin] -> [[Gmail]/Bin]
  705. [[Gmail]/Drafts] -> [[Gmail]/Drafts]
  706. [Junk] -> [[Gmail]/Spam]
  707. [[Gmail]/Sent Mail] -> [[Gmail]/Sent Mail]
  708. [[Gmail]/All Mail] -> [[Gmail]/All Mail]
  709. [Sent] -> [[Gmail]/Sent Mail]
  710. [Trash] -> [[Gmail]/Bin]
  711. [[Gmail]/Spam] -> [[Gmail]/Spam]
  712. [Drafts] -> [[Gmail]/Drafts]
  713. Exiting because of --justfolderlists
  714. Exiting with return value 0 (EX_OK: successful termination) 0/50 nb_errors/max_errors PID 31799
  715. Removing pidfile /tmp/imapsync.pid
  716. Disconnecting from host1 imap.gmail.com user1 imapsync.gl@gmail.com
  717. Disconnecting from host2 imap.gmail.com user2 imapsync.gl@gmail.com
  718. Log file is LOG_imapsync/2022_07_07_09_53_06_047_imapsync.gl@gmail.com_imapsync.gl@gmail.com.txt ( to change it, use --logfile filepath ; or use --nolog to turn off logging )
  719. Here is imapsync 2.223 on host petite, a linux system with 0.1/2.0 free GiB of RAM, 108.00% used by processes.
  720. with Perl 5.22.1 and Mail::IMAPClient 3.43
  721. Transfer started at jeudi 07 juillet 2022-07-07 09:53:35 +0200 CEST
  722. PID is 31806 my PPID is 31540
  723. Log file is LOG_imapsync/2022_07_07_09_53_35_129_imapsync.gl0@gmail.com_imapsync.gl0@gmail.com.txt ( to change it, use --logfile path ; or use --nolog to turn off logging )
  724. Load is 0.18 0.28 0.32 3/630 on 2 cores
  725. Current directory is /home/gilles/public_html/imapsync
  726. Real user id is gilles (uid 1000)
  727. Effective user id is gilles (euid 1000)
  728. $RCSfile: imapsync,v $ $Revision: 2.223 $ $Date: 2022/07/03 10:39:30 $
  729. Command line used, run by /usr/bin/perl:
  730. ./imapsync --gmail1 --user1 imapsync.gl0@gmail.com --passfile1 ../../var/pass/secret.imapsync.gl0_gmail --gmail2 --user2 imapsync.gl0@gmail.com --passfile2 ../../var/pass/secret.imapsync.gl0_gmail --no-modulesversion --justfolderlists
  731. Temp directory is /tmp ( to change it use --tmpdir dirpath )
  732. kill -QUIT 31806 # special behavior: call to sub catch_exit
  733. kill -TERM 31806 # special behavior: call to sub catch_exit
  734. kill -INT 31806 # special behavior: call to sub catch_reconnect
  735. kill -HUP 31806 # special behavior: call to sub catch_print
  736. kill -USR1 31806 # special behavior: call to sub toggle_sleep
  737. File /tmp/imapsync.pid does not exist
  738. PID file is /tmp/imapsync.pid ( to change it, use --pidfile filepath ; to avoid it use --pidfile "" )
  739. Writing my PID 31806 in /tmp/imapsync.pid
  740. Writing also my logfile name in /tmp/imapsync.pid : LOG_imapsync/2022_07_07_09_53_35_129_imapsync.gl0@gmail.com_imapsync.gl0@gmail.com.txt
  741. Info: will resync flags for already transferred messages. Use --noresyncflags to not resync flags.
  742. SSL debug mode level is --debugssl 1 (can be set from 0 meaning no debug to 4 meaning max debug)
  743. Host1: SSL default mode is like --sslargs1 "SSL_verify_mode=0", meaning for host1 SSL_VERIFY_NONE, ie, do not check the server certificate.
  744. Host1: Use --sslargs1 SSL_verify_mode=1 to have SSL_VERIFY_PEER, ie, check the server certificate. of host1
  745. Host2: SSL default mode is like --sslargs2 "SSL_verify_mode=0", meaning for host2 SSL_VERIFY_NONE, ie, do not check the server certificate.
  746. Host2: Use --sslargs2 SSL_verify_mode=1 to have SSL_VERIFY_PEER, ie, check the server certificate. of host2
  747. Info: turned ON syncinternaldates, will set the internal dates (arrival dates) on host2 same as host1.
  748. Host1: will try to use LOGIN authentication on host1
  749. Host2: will try to use LOGIN authentication on host2
  750. Host1: imap connection timeout is 120 seconds
  751. Host2: imap connection timeout is 120 seconds
  752. Host1: imap connection keepalive is on on host1. Use --nokeepalive1 to disable it.
  753. Host2: imap connection keepalive is on on host2. Use --nokeepalive2 to disable it.
  754. Host1: IMAP server [imap.gmail.com] port [993] user [imapsync.gl0@gmail.com]
  755. Host2: IMAP server [imap.gmail.com] port [993] user [imapsync.gl0@gmail.com]
  756. Host1: connecting and login on host1 [imap.gmail.com] port [993] with user [imapsync.gl0@gmail.com]
  757. Host1 IP address: 2a00:1450:400c:c07::6c Local IP address: 2a01:e34:ecde:70d0:223:54ff:fec2:36d7
  758. Host1 banner: * OK Gimap ready for requests from 2a01:e34:ecde:70d0:223:54ff:fec2:36d7 u13mb163543970wrs
  759. Host1 capability before authentication: IMAP4rev1 UNSELECT IDLE NAMESPACE QUOTA ID XLIST CHILDREN X-GM-EXT-1 XYZZY SASL-IR AUTH=XOAUTH2 AUTH=PLAIN AUTH=PLAIN-CLIENTTOKEN AUTH=OAUTHBEARER AUTH=XOAUTH AUTH
  760. Host1: success login on [imap.gmail.com] with user [imapsync.gl0@gmail.com] auth [LOGIN] or [LOGIN]
  761. Host2: connecting and login on host2 [imap.gmail.com] port [993] with user [imapsync.gl0@gmail.com]
  762. Host2 IP address: 2a00:1450:400c:c07::6d Local IP address: 2a01:e34:ecde:70d0:223:54ff:fec2:36d7
  763. Host2 banner: * OK Gimap ready for requests from 2a01:e34:ecde:70d0:223:54ff:fec2:36d7 i2mb49702066wmh
  764. Host2 capability before authentication: IMAP4rev1 UNSELECT IDLE NAMESPACE QUOTA ID XLIST CHILDREN X-GM-EXT-1 XYZZY SASL-IR AUTH=XOAUTH2 AUTH=PLAIN AUTH=PLAIN-CLIENTTOKEN AUTH=OAUTHBEARER AUTH=XOAUTH AUTH
  765. Host2: success login on [imap.gmail.com] with user [imapsync.gl0@gmail.com] auth [LOGIN] or [LOGIN]
  766. Host1: state Authenticated
  767. Host2: state Authenticated
  768. Host1 capability once authenticated: IMAP4rev1 UNSELECT IDLE NAMESPACE QUOTA ID XLIST CHILDREN X-GM-EXT-1 UIDPLUS COMPRESS=DEFLATE ENABLE MOVE CONDSTORE ESEARCH UTF8=ACCEPT LIST-EXTENDED LIST-STATUS LITERAL- SPECIAL-USE APPENDLIMIT=35651584 COMPRESS UTF8 APPENDLIMIT
  769. Host2 capability once authenticated: IMAP4rev1 UNSELECT IDLE NAMESPACE QUOTA ID XLIST CHILDREN X-GM-EXT-1 UIDPLUS COMPRESS=DEFLATE ENABLE MOVE CONDSTORE ESEARCH UTF8=ACCEPT LIST-EXTENDED LIST-STATUS LITERAL- SPECIAL-USE APPENDLIMIT=35651584 COMPRESS UTF8 APPENDLIMIT
  770. Host1: found ID capability. Sending/receiving ID, presented in raw IMAP for now.
  771. In order to avoid sending/receiving ID, use option --noid
  772. Sending: 4 ID ("name" "imapsync" "version" "2.223" "os" "linux" "vendor" "Gilles LAMIRAL" "support-url" "https://imapsync.lamiral.info/" "date" "03-Jul-2022 10:39:30 +0000" "side" "host1")
  773. Sent 181 bytes
  774. Read: * ID ("name" "GImap" "vendor" "Google, Inc." "support-url" "https://support.google.com/mail" "version" "gmail_imap_220624.08_p0" "remote-host" "2a01:e34:ecde:70d0:223:54ff:fec2:36d7")
  775. 4 OK Success
  776. Host2: found ID capability. Sending/receiving ID, presented in raw IMAP for now.
  777. In order to avoid sending/receiving ID, use option --noid
  778. Sending: 4 ID ("name" "imapsync" "version" "2.223" "os" "linux" "vendor" "Gilles LAMIRAL" "support-url" "https://imapsync.lamiral.info/" "date" "03-Jul-2022 10:39:30 +0000" "side" "host2")
  779. Sent 181 bytes
  780. Read: * ID ("name" "GImap" "vendor" "Google, Inc." "support-url" "https://support.google.com/mail" "version" "gmail_imap_220624.08_p0" "remote-host" "2a01:e34:ecde:70d0:223:54ff:fec2:36d7")
  781. 4 OK Success
  782. Host2: QUOTA capability found, presented in raw IMAP on next lines
  783. Sending: 5 GETQUOTAROOT INBOX
  784. Sent 22 bytes
  785. Read: * QUOTAROOT "INBOX" ""
  786. * QUOTA "" (STORAGE 687 15728640)
  787. 5 OK Success
  788. Host2: Quota current storage is 703488 bytes. Limit is 16106127360 bytes. So 0.00 % full
  789. Host2: found APPENDLIMIT=35651584 in CAPABILITY (use --appendlimit xxxx to override this automatic setting)
  790. Host2: Setting maxsize to appendlimit 35651584
  791. Host1: Compression is off. Use --compress1 to allow compression on host1
  792. Host2: Compression is off. Use --compress2 to allow compression on host2
  793. Host1: found 8 folders.
  794. Host2: found 8 folders.
  795. Host1: guessing separator from folder listing: [/]
  796. Host1: separator given by NAMESPACE: [/]
  797. Host2: guessing separator from folder listing: [/]
  798. Host2: separator given by NAMESPACE: [/]
  799. Host1: guessing prefix from folder listing: []
  800. Host1: prefix given by NAMESPACE: []
  801. Host2: guessing prefix from folder listing: []
  802. Host2: prefix given by NAMESPACE: []
  803. Host1: separator and prefix: [/][]
  804. Host2: separator and prefix: [/][]
  805. Including all folders found by default. Use --subscribed or --folder or --folderrec or --include to select specific folders. Use --exclude to unselect specific folders.
  806. Excluding folders matching pattern \[Gmail\]$
  807. Host1: Checking wanted folders exist. Use --nocheckfoldersexist to avoid this check (shared of public namespace targeted).
  808. Host1: Checking wanted folders are selectable. Use --nocheckselectable to avoid this check.
  809. Turned on automapping folders ( use --noautomap to turn off automapping )
  810. Host1: special [Gmail]/All Mail = \All
  811. Host1: special [Gmail]/Drafts = \Drafts
  812. Host1: special [Gmail]/Sent Mail = \Sent
  813. Host1: special [Gmail]/Spam = \Junk
  814. Host1: special [Gmail]/Starred = \Flagged
  815. Host1: special [Gmail]/Trash = \Trash
  816. Host2: special [Gmail]/All Mail = \All
  817. Host2: special [Gmail]/Drafts = \Drafts
  818. Host2: special [Gmail]/Sent Mail = \Sent
  819. Host2: special [Gmail]/Spam = \Junk
  820. Host2: special [Gmail]/Starred = \Flagged
  821. Host2: special [Gmail]/Trash = \Trash
  822. ++++ Listing folders
  823. All foldernames are presented between brackets like [X] where X is the foldername.
  824. When a foldername contains non-ASCII characters it is presented in the form
  825. [X] = [Y] where
  826. X is the imap foldername you have to use in command line options and
  827. Y is the utf8 output just printed for convenience, to recognize it.
  828. Host1: folders list (first the raw imap format then the [X] = [Y]):
  829. * LIST (\HasNoChildren) "/" "INBOX"
  830. * LIST (\HasChildren \Noselect) "/" "[Gmail]"
  831. * LIST (\All \HasNoChildren) "/" "[Gmail]/All Mail"
  832. * LIST (\Drafts \HasNoChildren) "/" "[Gmail]/Drafts"
  833. * LIST (\HasNoChildren \Important) "/" "[Gmail]/Important"
  834. * LIST (\HasNoChildren \Sent) "/" "[Gmail]/Sent Mail"
  835. * LIST (\HasNoChildren \Junk) "/" "[Gmail]/Spam"
  836. * LIST (\Flagged \HasNoChildren) "/" "[Gmail]/Starred"
  837. * LIST (\HasNoChildren \Trash) "/" "[Gmail]/Trash"
  838. 18 OK Success
  839. [INBOX]
  840. [[Gmail]/All Mail]
  841. [[Gmail]/Drafts]
  842. [[Gmail]/Important]
  843. [[Gmail]/Sent Mail]
  844. [[Gmail]/Spam]
  845. [[Gmail]/Starred]
  846. [[Gmail]/Trash]
  847. Host2: folders list (first the raw imap format then the [X] = [Y]):
  848. * LIST (\HasNoChildren) "/" "INBOX"
  849. * LIST (\HasChildren \Noselect) "/" "[Gmail]"
  850. * LIST (\All \HasNoChildren) "/" "[Gmail]/All Mail"
  851. * LIST (\Drafts \HasNoChildren) "/" "[Gmail]/Drafts"
  852. * LIST (\HasNoChildren \Important) "/" "[Gmail]/Important"
  853. * LIST (\HasNoChildren \Sent) "/" "[Gmail]/Sent Mail"
  854. * LIST (\HasNoChildren \Junk) "/" "[Gmail]/Spam"
  855. * LIST (\Flagged \HasNoChildren) "/" "[Gmail]/Starred"
  856. * LIST (\HasNoChildren \Trash) "/" "[Gmail]/Trash"
  857. 11 OK Success
  858. [INBOX]
  859. [[Gmail]/All Mail]
  860. [[Gmail]/Drafts]
  861. [[Gmail]/Important]
  862. [[Gmail]/Sent Mail]
  863. [[Gmail]/Spam]
  864. [[Gmail]/Starred]
  865. [[Gmail]/Trash]
  866. Folders mapping from --automap feature (use --f1f2 to override any mapping):
  867. [[Gmail]/Starred] -> [[Gmail]/Starred]
  868. [[Gmail]/Trash] -> [[Gmail]/Trash]
  869. [[Gmail]/Sent Mail] -> [[Gmail]/Sent Mail]
  870. [[Gmail]/Drafts] -> [[Gmail]/Drafts]
  871. [[Gmail]/Spam] -> [[Gmail]/Spam]
  872. [[Gmail]/All Mail] -> [[Gmail]/All Mail]
  873. Exiting because of --justfolderlists
  874. Exiting with return value 0 (EX_OK: successful termination) 0/50 nb_errors/max_errors PID 31806
  875. Removing pidfile /tmp/imapsync.pid
  876. Disconnecting from host1 imap.gmail.com user1 imapsync.gl0@gmail.com
  877. Disconnecting from host2 imap.gmail.com user2 imapsync.gl0@gmail.com
  878. Log file is LOG_imapsync/2022_07_07_09_53_35_129_imapsync.gl0@gmail.com_imapsync.gl0@gmail.com.txt ( to change it, use --logfile filepath ; or use --nolog to turn off logging )
  879. Here is imapsync 2.223 on host petite, a linux system with 0.1/2.0 free GiB of RAM, 108.07% used by processes.
  880. with Perl 5.22.1 and Mail::IMAPClient 3.43
  881. Transfer started at jeudi 07 juillet 2022-07-07 09:53:44 +0200 CEST
  882. PID is 31811 my PPID is 31540
  883. Log file is LOG_imapsync/2022_07_07_09_53_44_949_imapsync.gl1@gmail.com_imapsync.gl1@gmail.com.txt ( to change it, use --logfile path ; or use --nolog to turn off logging )
  884. Load is 0.23 0.28 0.32 4/631 on 2 cores
  885. Current directory is /home/gilles/public_html/imapsync
  886. Real user id is gilles (uid 1000)
  887. Effective user id is gilles (euid 1000)
  888. $RCSfile: imapsync,v $ $Revision: 2.223 $ $Date: 2022/07/03 10:39:30 $
  889. Command line used, run by /usr/bin/perl:
  890. ./imapsync --gmail1 --user1 imapsync.gl1@gmail.com --passfile1 ../../var/pass/secret.imapsync.gl1_gmail --gmail2 --user2 imapsync.gl1@gmail.com --passfile2 ../../var/pass/secret.imapsync.gl1_gmail --no-modulesversion --justfolderlists
  891. Temp directory is /tmp ( to change it use --tmpdir dirpath )
  892. kill -QUIT 31811 # special behavior: call to sub catch_exit
  893. kill -TERM 31811 # special behavior: call to sub catch_exit
  894. kill -INT 31811 # special behavior: call to sub catch_reconnect
  895. kill -HUP 31811 # special behavior: call to sub catch_print
  896. kill -USR1 31811 # special behavior: call to sub toggle_sleep
  897. File /tmp/imapsync.pid does not exist
  898. PID file is /tmp/imapsync.pid ( to change it, use --pidfile filepath ; to avoid it use --pidfile "" )
  899. Writing my PID 31811 in /tmp/imapsync.pid
  900. Writing also my logfile name in /tmp/imapsync.pid : LOG_imapsync/2022_07_07_09_53_44_949_imapsync.gl1@gmail.com_imapsync.gl1@gmail.com.txt
  901. Info: will resync flags for already transferred messages. Use --noresyncflags to not resync flags.
  902. SSL debug mode level is --debugssl 1 (can be set from 0 meaning no debug to 4 meaning max debug)
  903. Host1: SSL default mode is like --sslargs1 "SSL_verify_mode=0", meaning for host1 SSL_VERIFY_NONE, ie, do not check the server certificate.
  904. Host1: Use --sslargs1 SSL_verify_mode=1 to have SSL_VERIFY_PEER, ie, check the server certificate. of host1
  905. Host2: SSL default mode is like --sslargs2 "SSL_verify_mode=0", meaning for host2 SSL_VERIFY_NONE, ie, do not check the server certificate.
  906. Host2: Use --sslargs2 SSL_verify_mode=1 to have SSL_VERIFY_PEER, ie, check the server certificate. of host2
  907. Info: turned ON syncinternaldates, will set the internal dates (arrival dates) on host2 same as host1.
  908. Host1: will try to use LOGIN authentication on host1
  909. Host2: will try to use LOGIN authentication on host2
  910. Host1: imap connection timeout is 120 seconds
  911. Host2: imap connection timeout is 120 seconds
  912. Host1: imap connection keepalive is on on host1. Use --nokeepalive1 to disable it.
  913. Host2: imap connection keepalive is on on host2. Use --nokeepalive2 to disable it.
  914. Host1: IMAP server [imap.gmail.com] port [993] user [imapsync.gl1@gmail.com]
  915. Host2: IMAP server [imap.gmail.com] port [993] user [imapsync.gl1@gmail.com]
  916. Host1: connecting and login on host1 [imap.gmail.com] port [993] with user [imapsync.gl1@gmail.com]
  917. Host1 IP address: 2a00:1450:400c:c04::6c Local IP address: 2a01:e34:ecde:70d0:223:54ff:fec2:36d7
  918. Host1 banner: * OK Gimap ready for requests from 2a01:e34:ecde:70d0:223:54ff:fec2:36d7 2mb79178924wmo
  919. Host1 capability before authentication: IMAP4rev1 UNSELECT IDLE NAMESPACE QUOTA ID XLIST CHILDREN X-GM-EXT-1 XYZZY SASL-IR AUTH=XOAUTH2 AUTH=PLAIN AUTH=PLAIN-CLIENTTOKEN AUTH=OAUTHBEARER AUTH=XOAUTH AUTH
  920. Host1: success login on [imap.gmail.com] with user [imapsync.gl1@gmail.com] auth [LOGIN] or [LOGIN]
  921. Host2: connecting and login on host2 [imap.gmail.com] port [993] with user [imapsync.gl1@gmail.com]
  922. Host2 IP address: 2a00:1450:400c:c04::6d Local IP address: 2a01:e34:ecde:70d0:223:54ff:fec2:36d7
  923. Host2 banner: * OK Gimap ready for requests from 2a01:e34:ecde:70d0:223:54ff:fec2:36d7 y2mb272977894wrd
  924. Host2 capability before authentication: IMAP4rev1 UNSELECT IDLE NAMESPACE QUOTA ID XLIST CHILDREN X-GM-EXT-1 XYZZY SASL-IR AUTH=XOAUTH2 AUTH=PLAIN AUTH=PLAIN-CLIENTTOKEN AUTH=OAUTHBEARER AUTH=XOAUTH AUTH
  925. Host2: success login on [imap.gmail.com] with user [imapsync.gl1@gmail.com] auth [LOGIN] or [LOGIN]
  926. Host1: state Authenticated
  927. Host2: state Authenticated
  928. Host1 capability once authenticated: IMAP4rev1 UNSELECT IDLE NAMESPACE QUOTA ID XLIST CHILDREN X-GM-EXT-1 UIDPLUS COMPRESS=DEFLATE ENABLE MOVE CONDSTORE ESEARCH UTF8=ACCEPT LIST-EXTENDED LIST-STATUS LITERAL- SPECIAL-USE APPENDLIMIT=35651584 COMPRESS UTF8 APPENDLIMIT
  929. Host2 capability once authenticated: IMAP4rev1 UNSELECT IDLE NAMESPACE QUOTA ID XLIST CHILDREN X-GM-EXT-1 UIDPLUS COMPRESS=DEFLATE ENABLE MOVE CONDSTORE ESEARCH UTF8=ACCEPT LIST-EXTENDED LIST-STATUS LITERAL- SPECIAL-USE APPENDLIMIT=35651584 COMPRESS UTF8 APPENDLIMIT
  930. Host1: found ID capability. Sending/receiving ID, presented in raw IMAP for now.
  931. In order to avoid sending/receiving ID, use option --noid
  932. Sending: 4 ID ("name" "imapsync" "version" "2.223" "os" "linux" "vendor" "Gilles LAMIRAL" "support-url" "https://imapsync.lamiral.info/" "date" "03-Jul-2022 10:39:30 +0000" "side" "host1")
  933. Sent 181 bytes
  934. Read: * ID ("name" "GImap" "vendor" "Google, Inc." "support-url" "https://support.google.com/mail" "version" "gmail_imap_220624.08_p0" "remote-host" "2a01:e34:ecde:70d0:223:54ff:fec2:36d7")
  935. 4 OK Success
  936. Host2: found ID capability. Sending/receiving ID, presented in raw IMAP for now.
  937. In order to avoid sending/receiving ID, use option --noid
  938. Sending: 4 ID ("name" "imapsync" "version" "2.223" "os" "linux" "vendor" "Gilles LAMIRAL" "support-url" "https://imapsync.lamiral.info/" "date" "03-Jul-2022 10:39:30 +0000" "side" "host2")
  939. Sent 181 bytes
  940. Read: * ID ("name" "GImap" "vendor" "Google, Inc." "support-url" "https://support.google.com/mail" "version" "gmail_imap_220624.08_p0" "remote-host" "2a01:e34:ecde:70d0:223:54ff:fec2:36d7")
  941. 4 OK Success
  942. Host2: QUOTA capability found, presented in raw IMAP on next lines
  943. Sending: 5 GETQUOTAROOT INBOX
  944. Sent 22 bytes
  945. Read: * QUOTAROOT "INBOX" ""
  946. * QUOTA "" (STORAGE 391 15728640)
  947. 5 OK Success
  948. Host2: Quota current storage is 400384 bytes. Limit is 16106127360 bytes. So 0.00 % full
  949. Host2: found APPENDLIMIT=35651584 in CAPABILITY (use --appendlimit xxxx to override this automatic setting)
  950. Host2: Setting maxsize to appendlimit 35651584
  951. Host1: Compression is off. Use --compress1 to allow compression on host1
  952. Host2: Compression is off. Use --compress2 to allow compression on host2
  953. Host1: found 12 folders.
  954. Host2: found 12 folders.
  955. Host1: guessing separator from folder listing: [/]
  956. Host1: separator given by NAMESPACE: [/]
  957. Host2: guessing separator from folder listing: [/]
  958. Host2: separator given by NAMESPACE: [/]
  959. Host1: guessing prefix from folder listing: []
  960. Host1: prefix given by NAMESPACE: []
  961. Host2: guessing prefix from folder listing: []
  962. Host2: prefix given by NAMESPACE: []
  963. Host1: separator and prefix: [/][]
  964. Host2: separator and prefix: [/][]
  965. Including all folders found by default. Use --subscribed or --folder or --folderrec or --include to select specific folders. Use --exclude to unselect specific folders.
  966. Excluding folders matching pattern \[Gmail\]$
  967. Host1: Checking wanted folders exist. Use --nocheckfoldersexist to avoid this check (shared of public namespace targeted).
  968. Host1: Checking wanted folders are selectable. Use --nocheckselectable to avoid this check.
  969. Turned on automapping folders ( use --noautomap to turn off automapping )
  970. Host1: special [Gmail]/All Mail = \All
  971. Host1: special [Gmail]/Starred = \Flagged
  972. Host2: special [Gmail]/All Mail = \All
  973. Host2: special [Gmail]/Starred = \Flagged
  974. ++++ Listing folders
  975. All foldernames are presented between brackets like [X] where X is the foldername.
  976. When a foldername contains non-ASCII characters it is presented in the form
  977. [X] = [Y] where
  978. X is the imap foldername you have to use in command line options and
  979. Y is the utf8 output just printed for convenience, to recognize it.
  980. Host1: folders list (first the raw imap format then the [X] = [Y]):
  981. * LIST (\HasNoChildren) "/" "Blabla"
  982. * LIST (\HasNoChildren) "/" "Blan Blan"
  983. * LIST (\HasNoChildren) "/" "Coucou"
  984. * LIST (\HasNoChildren) "/" "INBOX"
  985. * LIST (\HasNoChildren) "/" "Test"
  986. * LIST (\HasNoChildren) "/" "Work"
  987. * LIST (\HasChildren \Noselect) "/" "[Gmail]"
  988. * LIST (\All \HasNoChildren) "/" "[Gmail]/All Mail"
  989. * LIST (\HasNoChildren \Important) "/" "[Gmail]/Important"
  990. * LIST (\Flagged \HasNoChildren) "/" "[Gmail]/Starred"
  991. * LIST (\HasNoChildren) "/" "\\Important"
  992. * LIST (\HasNoChildren) "/" "\\Inbox"
  993. * LIST (\HasNoChildren) "/" "\\Starred"
  994. 22 OK Success
  995. [Blabla]
  996. [Blan Blan]
  997. [Coucou]
  998. [INBOX]
  999. [Test]
  1000. [Work]
  1001. [[Gmail]/All Mail]
  1002. [[Gmail]/Important]
  1003. [[Gmail]/Starred]
  1004. [\Important]
  1005. [\Inbox]
  1006. [\Starred]
  1007. Host2: folders list (first the raw imap format then the [X] = [Y]):
  1008. * LIST (\HasNoChildren) "/" "Blabla"
  1009. * LIST (\HasNoChildren) "/" "Blan Blan"
  1010. * LIST (\HasNoChildren) "/" "Coucou"
  1011. * LIST (\HasNoChildren) "/" "INBOX"
  1012. * LIST (\HasNoChildren) "/" "Test"
  1013. * LIST (\HasNoChildren) "/" "Work"
  1014. * LIST (\HasChildren \Noselect) "/" "[Gmail]"
  1015. * LIST (\All \HasNoChildren) "/" "[Gmail]/All Mail"
  1016. * LIST (\HasNoChildren \Important) "/" "[Gmail]/Important"
  1017. * LIST (\Flagged \HasNoChildren) "/" "[Gmail]/Starred"
  1018. * LIST (\HasNoChildren) "/" "\\Important"
  1019. * LIST (\HasNoChildren) "/" "\\Inbox"
  1020. * LIST (\HasNoChildren) "/" "\\Starred"
  1021. 11 OK Success
  1022. [Blabla]
  1023. [Blan Blan]
  1024. [Coucou]
  1025. [INBOX]
  1026. [Test]
  1027. [Work]
  1028. [[Gmail]/All Mail]
  1029. [[Gmail]/Important]
  1030. [[Gmail]/Starred]
  1031. [\Important]
  1032. [\Inbox]
  1033. [\Starred]
  1034. Folders mapping from --automap feature (use --f1f2 to override any mapping):
  1035. [[Gmail]/Starred] -> [[Gmail]/Starred]
  1036. [[Gmail]/All Mail] -> [[Gmail]/All Mail]
  1037. Exiting because of --justfolderlists
  1038. Exiting with return value 0 (EX_OK: successful termination) 0/50 nb_errors/max_errors PID 31811
  1039. Removing pidfile /tmp/imapsync.pid
  1040. Disconnecting from host1 imap.gmail.com user1 imapsync.gl1@gmail.com
  1041. Disconnecting from host2 imap.gmail.com user2 imapsync.gl1@gmail.com
  1042. Log file is LOG_imapsync/2022_07_07_09_53_44_949_imapsync.gl1@gmail.com_imapsync.gl1@gmail.com.txt ( to change it, use --logfile filepath ; or use --nolog to turn off logging )
  1043. Here is imapsync 2.223 on host petite, a linux system with 0.1/2.0 free GiB of RAM, 109.22% used by processes.
  1044. with Perl 5.22.1 and Mail::IMAPClient 3.43
  1045. Transfer started at jeudi 07 juillet 2022-07-07 09:53:57 +0200 CEST
  1046. PID is 31816 my PPID is 31540
  1047. Log file is LOG_imapsync/2022_07_07_09_53_57_868_imapsync.gl2@gmail.com_imapsync.gl2@gmail.com.txt ( to change it, use --logfile path ; or use --nolog to turn off logging )
  1048. Load is 0.42 0.32 0.34 2/634 on 2 cores
  1049. Current directory is /home/gilles/public_html/imapsync
  1050. Real user id is gilles (uid 1000)
  1051. Effective user id is gilles (euid 1000)
  1052. $RCSfile: imapsync,v $ $Revision: 2.223 $ $Date: 2022/07/03 10:39:30 $
  1053. Command line used, run by /usr/bin/perl:
  1054. ./imapsync --gmail1 --user1 imapsync.gl2@gmail.com --passfile1 ../../var/pass/secret.imapsync.gl2_gmail --gmail2 --user2 imapsync.gl2@gmail.com --passfile2 ../../var/pass/secret.imapsync.gl2_gmail --no-modulesversion --justfolderlists
  1055. Temp directory is /tmp ( to change it use --tmpdir dirpath )
  1056. kill -QUIT 31816 # special behavior: call to sub catch_exit
  1057. kill -TERM 31816 # special behavior: call to sub catch_exit
  1058. kill -INT 31816 # special behavior: call to sub catch_reconnect
  1059. kill -HUP 31816 # special behavior: call to sub catch_print
  1060. kill -USR1 31816 # special behavior: call to sub toggle_sleep
  1061. File /tmp/imapsync.pid does not exist
  1062. PID file is /tmp/imapsync.pid ( to change it, use --pidfile filepath ; to avoid it use --pidfile "" )
  1063. Writing my PID 31816 in /tmp/imapsync.pid
  1064. Writing also my logfile name in /tmp/imapsync.pid : LOG_imapsync/2022_07_07_09_53_57_868_imapsync.gl2@gmail.com_imapsync.gl2@gmail.com.txt
  1065. Info: will resync flags for already transferred messages. Use --noresyncflags to not resync flags.
  1066. SSL debug mode level is --debugssl 1 (can be set from 0 meaning no debug to 4 meaning max debug)
  1067. Host1: SSL default mode is like --sslargs1 "SSL_verify_mode=0", meaning for host1 SSL_VERIFY_NONE, ie, do not check the server certificate.
  1068. Host1: Use --sslargs1 SSL_verify_mode=1 to have SSL_VERIFY_PEER, ie, check the server certificate. of host1
  1069. Host2: SSL default mode is like --sslargs2 "SSL_verify_mode=0", meaning for host2 SSL_VERIFY_NONE, ie, do not check the server certificate.
  1070. Host2: Use --sslargs2 SSL_verify_mode=1 to have SSL_VERIFY_PEER, ie, check the server certificate. of host2
  1071. Info: turned ON syncinternaldates, will set the internal dates (arrival dates) on host2 same as host1.
  1072. Host1: will try to use LOGIN authentication on host1
  1073. Host2: will try to use LOGIN authentication on host2
  1074. Host1: imap connection timeout is 120 seconds
  1075. Host2: imap connection timeout is 120 seconds
  1076. Host1: imap connection keepalive is on on host1. Use --nokeepalive1 to disable it.
  1077. Host2: imap connection keepalive is on on host2. Use --nokeepalive2 to disable it.
  1078. Host1: IMAP server [imap.gmail.com] port [993] user [imapsync.gl2@gmail.com]
  1079. Host2: IMAP server [imap.gmail.com] port [993] user [imapsync.gl2@gmail.com]
  1080. Host1: connecting and login on host1 [imap.gmail.com] port [993] with user [imapsync.gl2@gmail.com]
  1081. Host1 IP address: 2a00:1450:400c:c04::6c Local IP address: 2a01:e34:ecde:70d0:223:54ff:fec2:36d7
  1082. Host1 banner: * OK Gimap ready for requests from 2a01:e34:ecde:70d0:223:54ff:fec2:36d7 f9mb238805277wmg
  1083. Host1 capability before authentication: IMAP4rev1 UNSELECT IDLE NAMESPACE QUOTA ID XLIST CHILDREN X-GM-EXT-1 XYZZY SASL-IR AUTH=XOAUTH2 AUTH=PLAIN AUTH=PLAIN-CLIENTTOKEN AUTH=OAUTHBEARER AUTH=XOAUTH AUTH
  1084. Host1: success login on [imap.gmail.com] with user [imapsync.gl2@gmail.com] auth [LOGIN] or [LOGIN]
  1085. Host2: connecting and login on host2 [imap.gmail.com] port [993] with user [imapsync.gl2@gmail.com]
  1086. Host2 IP address: 2a00:1450:400c:c04::6d Local IP address: 2a01:e34:ecde:70d0:223:54ff:fec2:36d7
  1087. Host2 banner: * OK Gimap ready for requests from 2a01:e34:ecde:70d0:223:54ff:fec2:36d7 bi26mb169281364wmb
  1088. Host2 capability before authentication: IMAP4rev1 UNSELECT IDLE NAMESPACE QUOTA ID XLIST CHILDREN X-GM-EXT-1 XYZZY SASL-IR AUTH=XOAUTH2 AUTH=PLAIN AUTH=PLAIN-CLIENTTOKEN AUTH=OAUTHBEARER AUTH=XOAUTH AUTH
  1089. Host2: success login on [imap.gmail.com] with user [imapsync.gl2@gmail.com] auth [LOGIN] or [LOGIN]
  1090. Host1: state Authenticated
  1091. Host2: state Authenticated
  1092. Host1 capability once authenticated: IMAP4rev1 UNSELECT IDLE NAMESPACE QUOTA ID XLIST CHILDREN X-GM-EXT-1 UIDPLUS COMPRESS=DEFLATE ENABLE MOVE CONDSTORE ESEARCH UTF8=ACCEPT LIST-EXTENDED LIST-STATUS LITERAL- SPECIAL-USE APPENDLIMIT=35651584 COMPRESS UTF8 APPENDLIMIT
  1093. Host2 capability once authenticated: IMAP4rev1 UNSELECT IDLE NAMESPACE QUOTA ID XLIST CHILDREN X-GM-EXT-1 UIDPLUS COMPRESS=DEFLATE ENABLE MOVE CONDSTORE ESEARCH UTF8=ACCEPT LIST-EXTENDED LIST-STATUS LITERAL- SPECIAL-USE APPENDLIMIT=35651584 COMPRESS UTF8 APPENDLIMIT
  1094. Host1: found ID capability. Sending/receiving ID, presented in raw IMAP for now.
  1095. In order to avoid sending/receiving ID, use option --noid
  1096. Sending: 4 ID ("name" "imapsync" "version" "2.223" "os" "linux" "vendor" "Gilles LAMIRAL" "support-url" "https://imapsync.lamiral.info/" "date" "03-Jul-2022 10:39:30 +0000" "side" "host1")
  1097. Sent 181 bytes
  1098. Read: * ID ("name" "GImap" "vendor" "Google, Inc." "support-url" "https://support.google.com/mail" "version" "gmail_imap_220624.08_p0" "remote-host" "2a01:e34:ecde:70d0:223:54ff:fec2:36d7")
  1099. 4 OK Success
  1100. Host2: found ID capability. Sending/receiving ID, presented in raw IMAP for now.
  1101. In order to avoid sending/receiving ID, use option --noid
  1102. Sending: 4 ID ("name" "imapsync" "version" "2.223" "os" "linux" "vendor" "Gilles LAMIRAL" "support-url" "https://imapsync.lamiral.info/" "date" "03-Jul-2022 10:39:30 +0000" "side" "host2")
  1103. Sent 181 bytes
  1104. Read: * ID ("name" "GImap" "vendor" "Google, Inc." "support-url" "https://support.google.com/mail" "version" "gmail_imap_220624.08_p0" "remote-host" "2a01:e34:ecde:70d0:223:54ff:fec2:36d7")
  1105. 4 OK Success
  1106. Host2: QUOTA capability found, presented in raw IMAP on next lines
  1107. Sending: 5 GETQUOTAROOT INBOX
  1108. Sent 22 bytes
  1109. Read: * QUOTAROOT "INBOX" ""
  1110. * QUOTA "" (STORAGE 1177 15728640)
  1111. 5 OK Success
  1112. Host2: Quota current storage is 1205248 bytes. Limit is 16106127360 bytes. So 0.01 % full
  1113. Host2: found APPENDLIMIT=35651584 in CAPABILITY (use --appendlimit xxxx to override this automatic setting)
  1114. Host2: Setting maxsize to appendlimit 35651584
  1115. Host1: Compression is off. Use --compress1 to allow compression on host1
  1116. Host2: Compression is off. Use --compress2 to allow compression on host2
  1117. Host1: found 26 folders.
  1118. Host2: found 26 folders.
  1119. Host1: guessing separator from folder listing: [/]
  1120. Host1: separator given by NAMESPACE: [/]
  1121. Host2: guessing separator from folder listing: [/]
  1122. Host2: separator given by NAMESPACE: [/]
  1123. Host1: guessing prefix from folder listing: []
  1124. Host1: prefix given by NAMESPACE: []
  1125. Host2: guessing prefix from folder listing: []
  1126. Host2: prefix given by NAMESPACE: []
  1127. Host1: separator and prefix: [/][]
  1128. Host2: separator and prefix: [/][]
  1129. Including all folders found by default. Use --subscribed or --folder or --folderrec or --include to select specific folders. Use --exclude to unselect specific folders.
  1130. Excluding folders matching pattern \[Gmail\]$
  1131. Host1: Checking wanted folders exist. Use --nocheckfoldersexist to avoid this check (shared of public namespace targeted).
  1132. Host1: Checking wanted folders are selectable. Use --nocheckselectable to avoid this check.
  1133. Turned on automapping folders ( use --noautomap to turn off automapping )
  1134. Host1: special [Gmail]/Brouillons = \Drafts
  1135. Host1: special [Gmail]/Corbeille = \Trash
  1136. Host1: special [Gmail]/Messages envoy&AOk-s = \Sent
  1137. Host1: special [Gmail]/Spam = \Junk
  1138. Host1: special [Gmail]/Suivis = \Flagged
  1139. Host1: special [Gmail]/Tous les messages = \All
  1140. Host2: special [Gmail]/Brouillons = \Drafts
  1141. Host2: special [Gmail]/Corbeille = \Trash
  1142. Host2: special [Gmail]/Messages envoy&AOk-s = \Sent
  1143. Host2: special [Gmail]/Spam = \Junk
  1144. Host2: special [Gmail]/Suivis = \Flagged
  1145. Host2: special [Gmail]/Tous les messages = \All
  1146. ++++ Listing folders
  1147. All foldernames are presented between brackets like [X] where X is the foldername.
  1148. When a foldername contains non-ASCII characters it is presented in the form
  1149. [X] = [Y] where
  1150. X is the imap foldername you have to use in command line options and
  1151. Y is the utf8 output just printed for convenience, to recognize it.
  1152. Host1: folders list (first the raw imap format then the [X] = [Y]):
  1153. * LIST (\HasChildren \Noselect) "/" "Archive"
  1154. * LIST (\HasChildren) "/" "Archive/Bob"
  1155. * LIST (\HasNoChildren) "/" "Archive/Bob/Blabla"
  1156. * LIST (\HasNoChildren) "/" "Archive/Bob/Blan Blan"
  1157. * LIST (\HasNoChildren) "/" "Archive/Bob/Coucou"
  1158. * LIST (\HasNoChildren) "/" "Archive/Bob/INBOX"
  1159. * LIST (\HasNoChildren) "/" "Archive/Bob/Test"
  1160. * LIST (\HasNoChildren) "/" "Archive/Bob/Work"
  1161. * LIST (\HasNoChildren) "/" "Archive/Bob/\\Important"
  1162. * LIST (\HasNoChildren) "/" "Archive/Bob/\\Inbox"
  1163. * LIST (\HasNoChildren) "/" "Archive/Bob/\\Starred"
  1164. * LIST (\HasNoChildren) "/" "Blabla"
  1165. * LIST (\HasNoChildren) "/" "Blan Blan"
  1166. * LIST (\HasNoChildren) "/" "Coucou"
  1167. * LIST (\HasNoChildren) "/" "INBOX"
  1168. * LIST (\HasNoChildren) "/" "Test"
  1169. * LIST (\HasNoChildren) "/" "Work"
  1170. * LIST (\HasChildren \Noselect) "/" "[Gmail]"
  1171. * LIST (\Drafts \HasNoChildren) "/" "[Gmail]/Brouillons"
  1172. * LIST (\HasNoChildren \Trash) "/" "[Gmail]/Corbeille"
  1173. * LIST (\HasNoChildren \Important) "/" "[Gmail]/Important"
  1174. * LIST (\HasNoChildren \Sent) "/" "[Gmail]/Messages envoy&AOk-s"
  1175. * LIST (\HasNoChildren \Junk) "/" "[Gmail]/Spam"
  1176. * LIST (\Flagged \HasNoChildren) "/" "[Gmail]/Suivis"
  1177. * LIST (\All \HasNoChildren) "/" "[Gmail]/Tous les messages"
  1178. * LIST (\HasNoChildren) "/" "\\Important"
  1179. * LIST (\HasNoChildren) "/" "\\Inbox"
  1180. * LIST (\HasNoChildren) "/" "\\Starred"
  1181. 36 OK Success
  1182. [Archive/Bob]
  1183. [Archive/Bob/Blabla]
  1184. [Archive/Bob/Blan Blan]
  1185. [Archive/Bob/Coucou]
  1186. [Archive/Bob/INBOX]
  1187. [Archive/Bob/Test]
  1188. [Archive/Bob/Work]
  1189. [Archive/Bob/\Important]
  1190. [Archive/Bob/\Inbox]
  1191. [Archive/Bob/\Starred]
  1192. [Blabla]
  1193. [Blan Blan]
  1194. [Coucou]
  1195. [INBOX]
  1196. [Test]
  1197. [Work]
  1198. [[Gmail]/Brouillons]
  1199. [[Gmail]/Corbeille]
  1200. [[Gmail]/Important]
  1201. [[Gmail]/Messages envoy&AOk-s] = [[Gmail]/Messages envoyés]
  1202. [[Gmail]/Spam]
  1203. [[Gmail]/Suivis]
  1204. [[Gmail]/Tous les messages]
  1205. [\Important]
  1206. [\Inbox]
  1207. [\Starred]
  1208. Host2: folders list (first the raw imap format then the [X] = [Y]):
  1209. * LIST (\HasChildren \Noselect) "/" "Archive"
  1210. * LIST (\HasChildren) "/" "Archive/Bob"
  1211. * LIST (\HasNoChildren) "/" "Archive/Bob/Blabla"
  1212. * LIST (\HasNoChildren) "/" "Archive/Bob/Blan Blan"
  1213. * LIST (\HasNoChildren) "/" "Archive/Bob/Coucou"
  1214. * LIST (\HasNoChildren) "/" "Archive/Bob/INBOX"
  1215. * LIST (\HasNoChildren) "/" "Archive/Bob/Test"
  1216. * LIST (\HasNoChildren) "/" "Archive/Bob/Work"
  1217. * LIST (\HasNoChildren) "/" "Archive/Bob/\\Important"
  1218. * LIST (\HasNoChildren) "/" "Archive/Bob/\\Inbox"
  1219. * LIST (\HasNoChildren) "/" "Archive/Bob/\\Starred"
  1220. * LIST (\HasNoChildren) "/" "Blabla"
  1221. * LIST (\HasNoChildren) "/" "Blan Blan"
  1222. * LIST (\HasNoChildren) "/" "Coucou"
  1223. * LIST (\HasNoChildren) "/" "INBOX"
  1224. * LIST (\HasNoChildren) "/" "Test"
  1225. * LIST (\HasNoChildren) "/" "Work"
  1226. * LIST (\HasChildren \Noselect) "/" "[Gmail]"
  1227. * LIST (\Drafts \HasNoChildren) "/" "[Gmail]/Brouillons"
  1228. * LIST (\HasNoChildren \Trash) "/" "[Gmail]/Corbeille"
  1229. * LIST (\HasNoChildren \Important) "/" "[Gmail]/Important"
  1230. * LIST (\HasNoChildren \Sent) "/" "[Gmail]/Messages envoy&AOk-s"
  1231. * LIST (\HasNoChildren \Junk) "/" "[Gmail]/Spam"
  1232. * LIST (\Flagged \HasNoChildren) "/" "[Gmail]/Suivis"
  1233. * LIST (\All \HasNoChildren) "/" "[Gmail]/Tous les messages"
  1234. * LIST (\HasNoChildren) "/" "\\Important"
  1235. * LIST (\HasNoChildren) "/" "\\Inbox"
  1236. * LIST (\HasNoChildren) "/" "\\Starred"
  1237. 11 OK Success
  1238. [Archive/Bob]
  1239. [Archive/Bob/Blabla]
  1240. [Archive/Bob/Blan Blan]
  1241. [Archive/Bob/Coucou]
  1242. [Archive/Bob/INBOX]
  1243. [Archive/Bob/Test]
  1244. [Archive/Bob/Work]
  1245. [Archive/Bob/\Important]
  1246. [Archive/Bob/\Inbox]
  1247. [Archive/Bob/\Starred]
  1248. [Blabla]
  1249. [Blan Blan]
  1250. [Coucou]
  1251. [INBOX]
  1252. [Test]
  1253. [Work]
  1254. [[Gmail]/Brouillons]
  1255. [[Gmail]/Corbeille]
  1256. [[Gmail]/Important]
  1257. [[Gmail]/Messages envoy&AOk-s] = [[Gmail]/Messages envoyés]
  1258. [[Gmail]/Spam]
  1259. [[Gmail]/Suivis]
  1260. [[Gmail]/Tous les messages]
  1261. [\Important]
  1262. [\Inbox]
  1263. [\Starred]
  1264. Folders mapping from --automap feature (use --f1f2 to override any mapping):
  1265. [[Gmail]/Spam] -> [[Gmail]/Spam]
  1266. [[Gmail]/Tous les messages] -> [[Gmail]/Tous les messages]
  1267. [[Gmail]/Corbeille] -> [[Gmail]/Corbeille]
  1268. [[Gmail]/Suivis] -> [[Gmail]/Suivis]
  1269. [[Gmail]/Messages envoy&AOk-s] = [[Gmail]/Messages envoyés] -> [[Gmail]/Messages envoy&AOk-s] = [[Gmail]/Messages envoyés]
  1270. [[Gmail]/Brouillons] -> [[Gmail]/Brouillons]
  1271. Exiting because of --justfolderlists
  1272. Exiting with return value 0 (EX_OK: successful termination) 0/50 nb_errors/max_errors PID 31816
  1273. Removing pidfile /tmp/imapsync.pid
  1274. Disconnecting from host1 imap.gmail.com user1 imapsync.gl2@gmail.com
  1275. Disconnecting from host2 imap.gmail.com user2 imapsync.gl2@gmail.com
  1276. Log file is LOG_imapsync/2022_07_07_09_53_57_868_imapsync.gl2@gmail.com_imapsync.gl2@gmail.com.txt ( to change it, use --logfile filepath ; or use --nolog to turn off logging )
  1277. Here is imapsync 2.223 on host petite, a linux system with 0.1/2.0 free GiB of RAM, 109.03% used by processes.
  1278. with Perl 5.22.1 and Mail::IMAPClient 3.43
  1279. Transfer started at jeudi 07 juillet 2022-07-07 09:54:09 +0200 CEST
  1280. PID is 32065 my PPID is 31540
  1281. Log file is LOG_imapsync/2022_07_07_09_54_09_123_imapsync.gl3@gmail.com_imapsync.gl3@gmail.com.txt ( to change it, use --logfile path ; or use --nolog to turn off logging )
  1282. Load is 0.54 0.36 0.35 3/635 on 2 cores
  1283. Current directory is /home/gilles/public_html/imapsync
  1284. Real user id is gilles (uid 1000)
  1285. Effective user id is gilles (euid 1000)
  1286. $RCSfile: imapsync,v $ $Revision: 2.223 $ $Date: 2022/07/03 10:39:30 $
  1287. Command line used, run by /usr/bin/perl:
  1288. ./imapsync --gmail1 --user1 imapsync.gl3@gmail.com --passfile1 ../../var/pass/secret.imapsync.gl3_gmail --gmail2 --user2 imapsync.gl3@gmail.com --passfile2 ../../var/pass/secret.imapsync.gl3_gmail --no-modulesversion --justfolderlists
  1289. Temp directory is /tmp ( to change it use --tmpdir dirpath )
  1290. kill -QUIT 32065 # special behavior: call to sub catch_exit
  1291. kill -TERM 32065 # special behavior: call to sub catch_exit
  1292. kill -INT 32065 # special behavior: call to sub catch_reconnect
  1293. kill -HUP 32065 # special behavior: call to sub catch_print
  1294. kill -USR1 32065 # special behavior: call to sub toggle_sleep
  1295. File /tmp/imapsync.pid does not exist
  1296. PID file is /tmp/imapsync.pid ( to change it, use --pidfile filepath ; to avoid it use --pidfile "" )
  1297. Writing my PID 32065 in /tmp/imapsync.pid
  1298. Writing also my logfile name in /tmp/imapsync.pid : LOG_imapsync/2022_07_07_09_54_09_123_imapsync.gl3@gmail.com_imapsync.gl3@gmail.com.txt
  1299. Info: will resync flags for already transferred messages. Use --noresyncflags to not resync flags.
  1300. SSL debug mode level is --debugssl 1 (can be set from 0 meaning no debug to 4 meaning max debug)
  1301. Host1: SSL default mode is like --sslargs1 "SSL_verify_mode=0", meaning for host1 SSL_VERIFY_NONE, ie, do not check the server certificate.
  1302. Host1: Use --sslargs1 SSL_verify_mode=1 to have SSL_VERIFY_PEER, ie, check the server certificate. of host1
  1303. Host2: SSL default mode is like --sslargs2 "SSL_verify_mode=0", meaning for host2 SSL_VERIFY_NONE, ie, do not check the server certificate.
  1304. Host2: Use --sslargs2 SSL_verify_mode=1 to have SSL_VERIFY_PEER, ie, check the server certificate. of host2
  1305. Info: turned ON syncinternaldates, will set the internal dates (arrival dates) on host2 same as host1.
  1306. Host1: will try to use LOGIN authentication on host1
  1307. Host2: will try to use LOGIN authentication on host2
  1308. Host1: imap connection timeout is 120 seconds
  1309. Host2: imap connection timeout is 120 seconds
  1310. Host1: imap connection keepalive is on on host1. Use --nokeepalive1 to disable it.
  1311. Host2: imap connection keepalive is on on host2. Use --nokeepalive2 to disable it.
  1312. Host1: IMAP server [imap.gmail.com] port [993] user [imapsync.gl3@gmail.com]
  1313. Host2: IMAP server [imap.gmail.com] port [993] user [imapsync.gl3@gmail.com]
  1314. Host1: connecting and login on host1 [imap.gmail.com] port [993] with user [imapsync.gl3@gmail.com]
  1315. Host1 IP address: 2a00:1450:400c:c04::6c Local IP address: 2a01:e34:ecde:70d0:223:54ff:fec2:36d7
  1316. Host1 banner: * OK Gimap ready for requests from 2a01:e34:ecde:70d0:223:54ff:fec2:36d7 o9mb168635237wmr
  1317. Host1 capability before authentication: IMAP4rev1 UNSELECT IDLE NAMESPACE QUOTA ID XLIST CHILDREN X-GM-EXT-1 XYZZY SASL-IR AUTH=XOAUTH2 AUTH=PLAIN AUTH=PLAIN-CLIENTTOKEN AUTH=OAUTHBEARER AUTH=XOAUTH AUTH
  1318. Host1: success login on [imap.gmail.com] with user [imapsync.gl3@gmail.com] auth [LOGIN] or [LOGIN]
  1319. Host2: connecting and login on host2 [imap.gmail.com] port [993] with user [imapsync.gl3@gmail.com]
  1320. Host2 IP address: 2a00:1450:400c:c04::6d Local IP address: 2a01:e34:ecde:70d0:223:54ff:fec2:36d7
  1321. Host2 banner: * OK Gimap ready for requests from 2a01:e34:ecde:70d0:223:54ff:fec2:36d7 l4mb132600559wml
  1322. Host2 capability before authentication: IMAP4rev1 UNSELECT IDLE NAMESPACE QUOTA ID XLIST CHILDREN X-GM-EXT-1 XYZZY SASL-IR AUTH=XOAUTH2 AUTH=PLAIN AUTH=PLAIN-CLIENTTOKEN AUTH=OAUTHBEARER AUTH=XOAUTH AUTH
  1323. Host2: success login on [imap.gmail.com] with user [imapsync.gl3@gmail.com] auth [LOGIN] or [LOGIN]
  1324. Host1: state Authenticated
  1325. Host2: state Authenticated
  1326. Host1 capability once authenticated: IMAP4rev1 UNSELECT IDLE NAMESPACE QUOTA ID XLIST CHILDREN X-GM-EXT-1 UIDPLUS COMPRESS=DEFLATE ENABLE MOVE CONDSTORE ESEARCH UTF8=ACCEPT LIST-EXTENDED LIST-STATUS LITERAL- SPECIAL-USE APPENDLIMIT=35651584 COMPRESS UTF8 APPENDLIMIT
  1327. Host2 capability once authenticated: IMAP4rev1 UNSELECT IDLE NAMESPACE QUOTA ID XLIST CHILDREN X-GM-EXT-1 UIDPLUS COMPRESS=DEFLATE ENABLE MOVE CONDSTORE ESEARCH UTF8=ACCEPT LIST-EXTENDED LIST-STATUS LITERAL- SPECIAL-USE APPENDLIMIT=35651584 COMPRESS UTF8 APPENDLIMIT
  1328. Host1: found ID capability. Sending/receiving ID, presented in raw IMAP for now.
  1329. In order to avoid sending/receiving ID, use option --noid
  1330. Sending: 4 ID ("name" "imapsync" "version" "2.223" "os" "linux" "vendor" "Gilles LAMIRAL" "support-url" "https://imapsync.lamiral.info/" "date" "03-Jul-2022 10:39:30 +0000" "side" "host1")
  1331. Sent 181 bytes
  1332. Read: * ID ("name" "GImap" "vendor" "Google, Inc." "support-url" "https://support.google.com/mail" "version" "gmail_imap_220624.08_p0" "remote-host" "2a01:e34:ecde:70d0:223:54ff:fec2:36d7")
  1333. 4 OK Success
  1334. Host2: found ID capability. Sending/receiving ID, presented in raw IMAP for now.
  1335. In order to avoid sending/receiving ID, use option --noid
  1336. Sending: 4 ID ("name" "imapsync" "version" "2.223" "os" "linux" "vendor" "Gilles LAMIRAL" "support-url" "https://imapsync.lamiral.info/" "date" "03-Jul-2022 10:39:30 +0000" "side" "host2")
  1337. Sent 181 bytes
  1338. Read: * ID ("name" "GImap" "vendor" "Google, Inc." "support-url" "https://support.google.com/mail" "version" "gmail_imap_220624.08_p0" "remote-host" "2a01:e34:ecde:70d0:223:54ff:fec2:36d7")
  1339. 4 OK Success
  1340. Host2: QUOTA capability found, presented in raw IMAP on next lines
  1341. Sending: 5 GETQUOTAROOT INBOX
  1342. Sent 22 bytes
  1343. Read: * QUOTAROOT "INBOX" ""
  1344. * QUOTA "" (STORAGE 443 15728640)
  1345. 5 OK Success
  1346. Host2: Quota current storage is 453632 bytes. Limit is 16106127360 bytes. So 0.00 % full
  1347. Host2: found APPENDLIMIT=35651584 in CAPABILITY (use --appendlimit xxxx to override this automatic setting)
  1348. Host2: Setting maxsize to appendlimit 35651584
  1349. Host1: Compression is off. Use --compress1 to allow compression on host1
  1350. Host2: Compression is off. Use --compress2 to allow compression on host2
  1351. Host1: found 19 folders.
  1352. Host2: found 19 folders.
  1353. Host1: guessing separator from folder listing: [/]
  1354. Host1: separator given by NAMESPACE: [/]
  1355. Host2: guessing separator from folder listing: [/]
  1356. Host2: separator given by NAMESPACE: [/]
  1357. Host1: guessing prefix from folder listing: []
  1358. Host1: prefix given by NAMESPACE: []
  1359. Host2: guessing prefix from folder listing: []
  1360. Host2: prefix given by NAMESPACE: []
  1361. Host1: separator and prefix: [/][]
  1362. Host2: separator and prefix: [/][]
  1363. Including all folders found by default. Use --subscribed or --folder or --folderrec or --include to select specific folders. Use --exclude to unselect specific folders.
  1364. Excluding folders matching pattern \[Gmail\]$
  1365. Host1: Checking wanted folders exist. Use --nocheckfoldersexist to avoid this check (shared of public namespace targeted).
  1366. Host1: Checking wanted folders are selectable. Use --nocheckselectable to avoid this check.
  1367. Turned on automapping folders ( use --noautomap to turn off automapping )
  1368. Host1: special [Gmail]/All Mail = \All
  1369. Host1: special [Gmail]/Drafts = \Drafts
  1370. Host1: special [Gmail]/Sent Mail = \Sent
  1371. Host1: special [Gmail]/Spam = \Junk
  1372. Host1: special [Gmail]/Starred = \Flagged
  1373. Host1: special [Gmail]/Trash = \Trash
  1374. Host2: special [Gmail]/All Mail = \All
  1375. Host2: special [Gmail]/Drafts = \Drafts
  1376. Host2: special [Gmail]/Sent Mail = \Sent
  1377. Host2: special [Gmail]/Spam = \Junk
  1378. Host2: special [Gmail]/Starred = \Flagged
  1379. Host2: special [Gmail]/Trash = \Trash
  1380. ++++ Listing folders
  1381. All foldernames are presented between brackets like [X] where X is the foldername.
  1382. When a foldername contains non-ASCII characters it is presented in the form
  1383. [X] = [Y] where
  1384. X is the imap foldername you have to use in command line options and
  1385. Y is the utf8 output just printed for convenience, to recognize it.
  1386. Host1: folders list (first the raw imap format then the [X] = [Y]):
  1387. * LIST (\HasChildren) "/" "Archive"
  1388. * LIST (\HasChildren) "/" "Archive/Bob"
  1389. * LIST (\HasNoChildren) "/" "Archive/Bob/Blabla"
  1390. * LIST (\HasNoChildren) "/" "Archive/Bob/Blan Blan"
  1391. * LIST (\HasNoChildren) "/" "Archive/Bob/Coucou"
  1392. * LIST (\HasNoChildren) "/" "Archive/Bob/INBOX"
  1393. * LIST (\HasNoChildren) "/" "Archive/Bob/Test"
  1394. * LIST (\HasNoChildren) "/" "Archive/Bob/Work"
  1395. * LIST (\HasNoChildren) "/" "Archive/Bob/\\Important"
  1396. * LIST (\HasNoChildren) "/" "Archive/Bob/\\Inbox"
  1397. * LIST (\HasNoChildren) "/" "Archive/Bob/\\Starred"
  1398. * LIST (\HasNoChildren) "/" "INBOX"
  1399. * LIST (\HasChildren \Noselect) "/" "[Gmail]"
  1400. * LIST (\All \HasNoChildren) "/" "[Gmail]/All Mail"
  1401. * LIST (\Drafts \HasNoChildren) "/" "[Gmail]/Drafts"
  1402. * LIST (\HasNoChildren \Important) "/" "[Gmail]/Important"
  1403. * LIST (\HasNoChildren \Sent) "/" "[Gmail]/Sent Mail"
  1404. * LIST (\HasNoChildren \Junk) "/" "[Gmail]/Spam"
  1405. * LIST (\Flagged \HasNoChildren) "/" "[Gmail]/Starred"
  1406. * LIST (\HasNoChildren \Trash) "/" "[Gmail]/Trash"
  1407. 29 OK Success
  1408. [Archive]
  1409. [Archive/Bob]
  1410. [Archive/Bob/Blabla]
  1411. [Archive/Bob/Blan Blan]
  1412. [Archive/Bob/Coucou]
  1413. [Archive/Bob/INBOX]
  1414. [Archive/Bob/Test]
  1415. [Archive/Bob/Work]
  1416. [Archive/Bob/\Important]
  1417. [Archive/Bob/\Inbox]
  1418. [Archive/Bob/\Starred]
  1419. [INBOX]
  1420. [[Gmail]/All Mail]
  1421. [[Gmail]/Drafts]
  1422. [[Gmail]/Important]
  1423. [[Gmail]/Sent Mail]
  1424. [[Gmail]/Spam]
  1425. [[Gmail]/Starred]
  1426. [[Gmail]/Trash]
  1427. Host2: folders list (first the raw imap format then the [X] = [Y]):
  1428. * LIST (\HasChildren) "/" "Archive"
  1429. * LIST (\HasChildren) "/" "Archive/Bob"
  1430. * LIST (\HasNoChildren) "/" "Archive/Bob/Blabla"
  1431. * LIST (\HasNoChildren) "/" "Archive/Bob/Blan Blan"
  1432. * LIST (\HasNoChildren) "/" "Archive/Bob/Coucou"
  1433. * LIST (\HasNoChildren) "/" "Archive/Bob/INBOX"
  1434. * LIST (\HasNoChildren) "/" "Archive/Bob/Test"
  1435. * LIST (\HasNoChildren) "/" "Archive/Bob/Work"
  1436. * LIST (\HasNoChildren) "/" "Archive/Bob/\\Important"
  1437. * LIST (\HasNoChildren) "/" "Archive/Bob/\\Inbox"
  1438. * LIST (\HasNoChildren) "/" "Archive/Bob/\\Starred"
  1439. * LIST (\HasNoChildren) "/" "INBOX"
  1440. * LIST (\HasChildren \Noselect) "/" "[Gmail]"
  1441. * LIST (\All \HasNoChildren) "/" "[Gmail]/All Mail"
  1442. * LIST (\Drafts \HasNoChildren) "/" "[Gmail]/Drafts"
  1443. * LIST (\HasNoChildren \Important) "/" "[Gmail]/Important"
  1444. * LIST (\HasNoChildren \Sent) "/" "[Gmail]/Sent Mail"
  1445. * LIST (\HasNoChildren \Junk) "/" "[Gmail]/Spam"
  1446. * LIST (\Flagged \HasNoChildren) "/" "[Gmail]/Starred"
  1447. * LIST (\HasNoChildren \Trash) "/" "[Gmail]/Trash"
  1448. 11 OK Success
  1449. [Archive]
  1450. [Archive/Bob]
  1451. [Archive/Bob/Blabla]
  1452. [Archive/Bob/Blan Blan]
  1453. [Archive/Bob/Coucou]
  1454. [Archive/Bob/INBOX]
  1455. [Archive/Bob/Test]
  1456. [Archive/Bob/Work]
  1457. [Archive/Bob/\Important]
  1458. [Archive/Bob/\Inbox]
  1459. [Archive/Bob/\Starred]
  1460. [INBOX]
  1461. [[Gmail]/All Mail]
  1462. [[Gmail]/Drafts]
  1463. [[Gmail]/Important]
  1464. [[Gmail]/Sent Mail]
  1465. [[Gmail]/Spam]
  1466. [[Gmail]/Starred]
  1467. [[Gmail]/Trash]
  1468. Folders mapping from --automap feature (use --f1f2 to override any mapping):
  1469. [[Gmail]/Trash] -> [[Gmail]/Trash]
  1470. [Archive] -> [Archive]
  1471. [[Gmail]/Spam] -> [[Gmail]/Spam]
  1472. [[Gmail]/Sent Mail] -> [[Gmail]/Sent Mail]
  1473. [[Gmail]/All Mail] -> [[Gmail]/All Mail]
  1474. [[Gmail]/Drafts] -> [[Gmail]/Drafts]
  1475. [[Gmail]/Starred] -> [[Gmail]/Starred]
  1476. Exiting because of --justfolderlists
  1477. Exiting with return value 0 (EX_OK: successful termination) 0/50 nb_errors/max_errors PID 32065
  1478. Removing pidfile /tmp/imapsync.pid
  1479. Disconnecting from host1 imap.gmail.com user1 imapsync.gl3@gmail.com
  1480. Disconnecting from host2 imap.gmail.com user2 imapsync.gl3@gmail.com
  1481. Log file is LOG_imapsync/2022_07_07_09_54_09_123_imapsync.gl3@gmail.com_imapsync.gl3@gmail.com.txt ( to change it, use --logfile filepath ; or use --nolog to turn off logging )
  1482. gmail_glX_all_justfolderlist passed