-
-
Notifications
You must be signed in to change notification settings - Fork 361
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
failed to fetch messages UID '238'.Server responded: OK [] #429
Comments
That's weird. The response is declared OK but we could find no data in it. Please, try to add a debug statement and check the result (
|
Thanks for the reply. Printing 'data' for all emails overwhelmed the terminal with output, so I added this
and got this output
Does that help? |
… UID FETCH Github-ref: #429 Signed-off-by: Nicolas Sebrecht <[email protected]>
Yes. There is no body because the server could not find a mail with UID 238. I wonder this is happening because of a race condition on the server or the client is trying to upload an invalid mail and we failed at reporting this (if we got any report from the server about that). I wrote a patch to improve the error message in this case. |
I'm wrong here. The reason why this fails is unkown. Offlineimap was told the server has UID 238 but the server could not provide the body. |
Thanks. I've applied the update, and at least get better error messages now. It's definitely nothing to do with uploading emails because nothing is being changed locally. I went through the offending folder on the remote server (Trash) on the remote server, and found an email with 'Unknown sender', no subject, and no content. I deleted that, and the error message has gone away. Thanks again. |
I'm getting this error on a new server, syncing existing mailboxes to empty local Maildirs. On the old server, the same configuration (with offlineimap 6) runs without errors.
Three users get one or two emails rejected in this way; the other half-dozen users are fine.
Local IMAP is handled by dovecot.
General information
offlineimap -V
): offlineimap v7.0.12, imaplib2 v2.55 (bundled)Configuration file offlineimaprc
pythonfile (if any)
Logs, error
Steps to reproduce the error
The text was updated successfully, but these errors were encountered: