FAQ.SmarterMail.txt 3.3 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677
  1. #!/bin/cat
  2. $Id: FAQ.SmarterMail.txt,v 1.15 2021/04/30 13:02:17 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.SmarterMail.txt
  6. =======================================================================
  7. Imapsync tips for SmarterMail. Specific issues and solutions.
  8. =======================================================================
  9. https://imapsync.lamiral.info/README
  10. ...
  11. --prefix1 str : Remove prefix str to all destination folders,
  12. usually "INBOX." or "INBOX/" or an empty string "".
  13. imapsync guesses the prefix if host1 imap server
  14. does not have NAMESPACE capability. So this option
  15. should not be used most of the time.
  16. --prefix2 str : Add prefix to all host2 folders. See --prefix1
  17. --sep1 str : Host1 separator. This option should not be used
  18. most of the time.
  19. Imapsync gets the separator from the server itself,
  20. by using NAMESPACE, or it tries to guess it
  21. from the folders listing (it counts
  22. characters / . \\ \ in folder names and choose the
  23. more frequent, or finally / if nothing is found.
  24. --sep2 str : Host2 separator. See --sep1
  25. --noabletosearch : Makes --minage and --maxage options use the internal
  26. dates given by a FETCH imap command instead of the
  27. "Date:" header. Internal date is the arrival date
  28. in the mailbox.
  29. --noabletosearch equals --noabletosearch1 --noabletosearch2
  30. --noabletosearch1 : Like --noabletosearch but for host1.
  31. --noabletosearch2 : Like --noabletosearch but for host2.
  32. --useheader str : Use this header to compare messages on both sides.
  33. Example: Message-ID or Subject or Date.
  34. --useheader str and this one, etc.
  35. =======================================================================
  36. Q. Synchronizing from SmarterMail to XXX
  37. On Unix:
  38. imapsync --host1 imap.d1.org --user1 joe --password1 secret1 \
  39. --host2 imap.d2.org --user2 joe --password2 secret2 \
  40. --prefix1 "" --sep1 "/" --useheader Message-Id --noabletosearch
  41. On Windows:
  42. imapsync.exe --host1 imap.d1.org --user1 joe --password1 secret1 ^
  43. --host2 imap.d2.org --user2 joe --password2 secret2 ^
  44. --prefix1 "" --sep1 "/" --useheader Message-Id --noabletosearch
  45. =======================================================================
  46. Q. Synchronizing from XXX to SmarterMail
  47. On Unix:
  48. imapsync --host1 imap.d1.org --user1 joe --password1 secret1 \
  49. --host2 imap.d2.org --user2 joe --password2 secret2 \
  50. --prefix2 "" --sep2 "/" --useheader Message-Id --noabletosearch
  51. On Windows:
  52. imapsync.exe --host1 imap.d1.org --user1 joe --password1 secret1 ^
  53. --host2 imap.d2.org --user2 joe --password2 secret2 ^
  54. --prefix2 "" --sep2 "/" --useheader Message-Id --noabletosearch
  55. =======================================================================
  56. =======================================================================