offlineimap.known_issues.txt 6.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167
  1. * Deletions.
  2. +
  3. While in usual run the deletions are propagated. To prevent from data loss,
  4. removing a folder makes offlineimap re-sync the folder. However, propagating the
  5. removal of the whole content of a folder can happen in the two following cases:
  6. - The whole content of a folder is deleted but the folder directory still
  7. exists.
  8. - The parent directory of the folder was deleted.
  9. * SSL3 write pending.
  10. +
  11. Users enabling SSL may hit a bug about "SSL3 write pending". If so, the
  12. account(s) will stay unsynchronised from the time the bug appeared. Running
  13. OfflineIMAP again can help. We are still working on this bug. Patches or
  14. detailed bug reports would be appreciated. Please check you're running the
  15. last stable version and send us a report to the mailing list including the
  16. full log.
  17. * IDLE support is incomplete and experimental. Bugs may be encountered.
  18. - No hook exists for "run after an IDLE response".
  19. +
  20. Email will show up, but may not be processed until the next refresh cycle.
  21. - nametrans may not be supported correctly.
  22. - IMAP IDLE <-> IMAP IDLE doesn't work yet.
  23. - IDLE might stop syncing on a system suspend/resume.
  24. - IDLE may only work "once" per refresh.
  25. +
  26. If you encounter this bug, please send a report to the list!
  27. * Maildir support in Windows drive.
  28. +
  29. Maildir uses colon character (:) in message file names. Colon is however
  30. forbidden character in windows drives. There are several workarounds for that
  31. situation:
  32. . Enable file name character translation in windows registry (not tested).
  33. - <http://support.microsoft.com/kb/289627>
  34. . Use cygwin managed mount (not tested).
  35. - not available anymore since cygwin 1.7
  36. . Use "maildir-windows-compatible = yes" account OfflineIMAP configuration.
  37. - That makes OfflineIMAP to use exclamation mark (!) instead of colon for
  38. storing messages. Such files can be written to windows partitions. But
  39. you will probably loose compatibility with other programs trying to
  40. read the same Maildir.
  41. +
  42. - Exclamation mark was chosen because of the note in
  43. http://docs.python.org/library/mailbox.html
  44. +
  45. - If you have some messages already stored without this option, you will
  46. have to re-sync them again
  47. * OfflineIMAP confused after system suspend.
  48. +
  49. When resuming a suspended session, OfflineIMAP does not cleanly handles the
  50. broken socket(s) if socktimeout option is not set.
  51. You should enable this option with a value like 10.
  52. * OfflineIMAP confused when mails change while in a sync.
  53. +
  54. When OfflineIMAP is syncing, some events happening since the invocation on
  55. remote or local side are badly handled. OfflineIMAP won't track for changes
  56. during the sync.
  57. * Sharing a maildir with multiple IMAP servers.
  58. +
  59. Generally a word of caution mixing IMAP repositories on the same Maildir root.
  60. You have to be careful that you *never* use the same maildir folder for 2 IMAP
  61. servers. In the best case, the folder MD5 will be different, and you will get
  62. a loop where it will upload your mails to both servers in turn (infinitely!)
  63. as it thinks you have placed new mails in the local Maildir. In the worst
  64. case, the MD5 is the same (likely) and mail UIDs overlap (likely too!) and it
  65. will fail to sync some mails as it thinks they are already existent.
  66. +
  67. I would create a new local Maildir Repository for the Personal Gmail and
  68. use a different root to be on the safe side here. You could e.g. use
  69. `~/mail/Pro' as Maildir root for the ProGmail and
  70. `~/mail/Personal' as root for the personal one.
  71. +
  72. If you then point your local mutt, or whatever MUA you use to `~/mail/'
  73. as root, it should still recognize all folders.
  74. * Edge cases with maxage causing too many messages to be synced.
  75. +
  76. All messages from at most maxage days ago (+/- a few hours, depending on
  77. timezones) are synced, but there are cases in which older messages can also be
  78. synced. This happens when a message's UID is significantly higher than those of
  79. other messages with similar dates, e.g. when messages are added to the local
  80. folder behind offlineimap's back, causing them to get assigned a new UID, or
  81. when offlineimap first syncs a pre-existing Maildir. In the latter case, it
  82. could appear as if a noticeable and random subset of old messages are synced.
  83. * Offlineimap hangs.
  84. +
  85. When having unexpected hangs it's advised to set `singlethreadperfolder' to
  86. 'yes', especially when in IMAP/IMAP mode (no maildir).
  87. * Passwords in netrc.
  88. +
  89. Offlineimap doesn't know how to retrieve passwords when more than one account is
  90. stored in the netrc file. See
  91. <https://github.com/OfflineIMAP/offlineimap/issues/295>.
  92. * XOAUTH2
  93. +
  94. XOAUTH2 might be a bit tricky to set up. Make sure you've followed the step to
  95. step guide in 'offlineimap.conf'. The known bugs about Gmail are tracked at
  96. <https://github.com/OfflineIMAP/offlineimap/labels/Gmail>.
  97. +
  98. Sometimes, you might hit one of the following error:
  99. - [imap]: xoauth2handler: response "{u'error': u'invalid_grant'}"
  100. - oauth2handler got: {u'error': u'invalid_grant'}
  101. +
  102. In such case, we had reports that generating a new refresh token from the same
  103. client ID and secret can help.
  104. +
  105. .Google documentation on "invalid_grant"
  106. ----
  107. When you try to use a refresh token, the following returns you an
  108. invalid_grant error:
  109. - Your server's clock is not in sync with network time protocol - NTP.
  110. - The refresh token limit has been exceeded.
  111. ----
  112. +
  113. .Token expiration
  114. ----
  115. It is possible that a granted token might no longer work. A token might stop
  116. working for one of these reasons:
  117. - The user has revoked access.
  118. - The token has not been used for six months.
  119. - The user changed passwords and the token contains Gmail scopes.
  120. - The user account has exceeded a certain number of token requests.
  121. There is currently a limit of 50 refresh tokens per user account per client. If
  122. the limit is reached, creating a new token automatically invalidates the oldest
  123. token without warning. This limit does not apply to service accounts.
  124. ----
  125. +
  126. See <https://developers.google.com/analytics/devguides/config/mgmt/v3/authorization>
  127. and <https://developers.google.com/identity/protocols/OAuth2#expiration>
  128. to know more.
  129. * "does not have message with UID" with Microsoft servers
  130. +
  131. `ERROR: IMAP server 'Server ### Remote' does not have a message with UID 'xxx'`
  132. +
  133. Microsoft IMAP servers are not compliant with the RFC. It is currently required
  134. to folderfilter some faulting folders. See
  135. http://www.offlineimap.org/doc/FAQ.html#exchange-and-office365 for a detailed
  136. list.