FAQ.Contacts_Calendars.txt 4.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107
  1. #!/bin/cat
  2. $Id: FAQ.Contacts_Calendars.txt,v 1.17 2022/05/31 22:21:55 gilles Exp gilles $
  3. This documentation is also available online at
  4. https://imapsync.lamiral.info/FAQ.d/
  5. https://imapsync.lamiral.info/FAQ.d/FAQ.Contacts_Calendars.txt
  6. =======================================================================
  7. Imapsync issues about syncing Contacts & Calendars.
  8. =======================================================================
  9. Questions answered in this FAQ are:
  10. Q. Can I copy or sync Contacts, Calendars, Tasks or Chat messages with imapsync?
  11. Q. How can I copy or synchronize Calendars or Contacts?
  12. Q. How can I avoid copying Calendar or Contacts folders?
  13. Now the questions again with their answers.
  14. =======================================================================
  15. Q. Can I copy or sync Contacts, Calendars, Tasks or Chat messages with imapsync?
  16. R. No, Imapsync can't migrate Contacts, Calendars, Tasks nor Chat messages.
  17. It's because most IMAP servers don't get Contacts and Calendar
  18. events via IMAP. In other words, messages synced by imapsync from
  19. Contacts/Calendars/Tasks/Chat folders are not used by email servers to set
  20. or get the contacts, calendars, tasks, or chat messages.
  21. No way via IMAP, no way via imapsync.
  22. So it's a good idea to avoid syncing contacts and calendars when
  23. using imapsync. See at the end of this document
  24. "How can I avoid copying Calendar or Contacts folders?"
  25. But see also the question below
  26. "How can I copy or synchronize Calendars or Contacts?".
  27. =======================================================================
  28. Q. How can I copy or synchronize Calendars or Contacts?
  29. R1. Synchronizing Calendars or Contacts can't be done with imapsync.
  30. For detailed explanations, see the question above
  31. "Can I copy or sync Calendars or Contacts with imapsync?".
  32. R2. Synchronizing Calendars or Contacts can be done, not
  33. with imapsync, depending on the imap server software tool used.
  34. a) From Exchange to Exchange, export contacts and calendar to
  35. PST format files on host1 and import them on host2.
  36. b) From Gmail to Gmail, export and import calendars in ical format,
  37. extension for those files is .ics.
  38. Contacts can be copied using a csv file. See the help page
  39. http://support.google.com/mail/bin/topic.py?hl=en&topic=1669027
  40. c) For Outlook, use caldavsynchronizer.
  41. Homepage: http://caldavsynchronizer.org/
  42. Outlook CalDav Synchronizer is a free Outlook Plugin, which synchronizes
  43. events, tasks, and contacts between Outlook and Google, SOGo, Nextcloud or
  44. any other CalDAV or CardDAV server.
  45. Supported Outlook versions are Office 365, 2019, 2016, 2013, 2010, and 2007.
  46. Free and Open Source software tool.
  47. d) Etc. Search the web. There are also specific tools and paid services.
  48. There's no silver bullet to migrate Calendars and Contacts,
  49. if you find one, tell me!
  50. Also, consider asking experts at the Sumatra company
  51. https://twitter.com/sumatra_dev
  52. http://sumatra.com/
  53. e) I plan to make tools for that but so far nothing has begun
  54. more than this discussion:
  55. http://linux-france.tk/prj/imapsync_list/msg01797.html
  56. http://linux-france.tk/prj/imapsync_list/msg01811.html
  57. =======================================================================
  58. Q. How can I avoid copying Calendar or Contacts folders?
  59. R. You can avoid synchronizing Calendar or Contacts folders with
  60. the --exclude option. First, you have to search what is their
  61. exact name. The listing of folders printed by imapsync at the
  62. beginning of a run will surely help to find their names.
  63. Assuming their names are "Calendars" and "Contacts", use:
  64. imapsync ... --exclude "Calendar" --exclude "Contacts"
  65. Be aware that this syntax will exclude all folders that have
  66. Calendar or Contacts in their names, as a substring,
  67. like "MyCalendarZ" or "TheContactsImDoneWith".
  68. Also, case matters: "calendar" does not match "Calendar".
  69. To strictly avoid only "Calendar" or "Contacts" use
  70. the following
  71. On windows:
  72. imapsync ... --exclude "^Calendar$" --exclude "^Contacts$"
  73. On Unix:
  74. imapsync ... --exclude '^Calendar$' --exclude '^Contacts$'
  75. or
  76. imapsync ... --exclude "^Calendar\$" --exclude "^Contacts\$"
  77. =======================================================================
  78. =======================================================================