FAQ.FirstClass.txt 2.4 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768
  1. #!/bin/cat
  2. $Id: FAQ.FirstClass.txt,v 1.1 2021/01/26 14:03:58 gilles Exp gilles $
  3. This document is also available online at
  4. https://imapsync.lamiral.info/FAQ.d/
  5. https://imapsync.lamiral.info/FAQ.d/FAQ.FirstClass.txt
  6. =======================================================================
  7. Imapsync tips for the FirstClass IMAP server.
  8. =======================================================================
  9. ======================================================================
  10. Q. From FirstClass to XXX
  11. http://www.firstclass.com/
  12. R. Migrating from FirstClass is not easy because FirstClass, strangely,
  13. does not show all messages via IMAP. To make it show all messages,
  14. a trick, painful to follow by hand, is moving emails
  15. out and back in, for each folder. May be it can be done by a script.
  16. FirstClass releases prior to release 12 do not shows the "Sent"
  17. folder in IMAP but FirstClass release 12 shows it.
  18. I advice you to upgrade to FirstClass release 12 before leaving it
  19. with imapsync or another imap tool.
  20. Here is a command line used to migrate from FirtClass release 12:
  21. imapsync ... \
  22. --tmpdir /var/tmp --usecache \
  23. --useheader Message-ID \
  24. --idatefromheader \
  25. --addheader \
  26. --regextrans2 "s,(/|^) +,\$1,g" --regextrans2 "s, +(/|$),\$1,g" \
  27. --regextrans2 "s/[\^]/_/g" \
  28. --regextrans2 "s/['\"\\\\]/_/g" \
  29. --regextrans2 "s,&AC8-,-,g" \
  30. --regextrans2 "s,&APg-,oe,g"
  31. On Windows:
  32. imapsync.exe ... ^
  33. --automap ^
  34. --usecache ^
  35. --useheader Message-ID ^
  36. --idatefromheader ^
  37. --addheader ^
  38. --regextrans2 "s,(/|^) +,$1,g" ^
  39. --regextrans2 "s, +(/|$),$1,g" ^
  40. --regextrans2 "s/[\^]/_/g" ^
  41. --regextrans2 "s/['\\]/_/g" ^
  42. --regextrans2 "s,^&AC8-,-,g" ^
  43. --regextrans2 "s,^&APg-,oe,g"
  44. Special thanks to Kristian Wind and Joey Alexander for helping me
  45. writing this FAQ item.
  46. See also this worth reading discussion in a Zimbra forum:
  47. https://web.archive.org/web/20120627043731/http://www.zimbra.com/forums/migration/20349-help-needed-migrating-firstclass.html
  48. Another advice with FirstClass as host1, do not use --delete1emptyfolders since
  49. it will destroy all subfolders of any empty folder. This is a FirstClass bug:
  50. when asked to list a non-empty folder it says it has no children while it does
  51. have ones.
  52. See the details and explanations at
  53. https://github.com/imapsync/imapsync/issues/207