Open Bug 1824011 Opened 3 years ago Updated 3 years ago

IMAP error "APPEND failed" when updating draft message

Categories

(MailNews Core :: Networking: IMAP, defect)

Thunderbird 102
defect

Tracking

(Not tracked)

UNCONFIRMED

People

(Reporter: mfs, Unassigned)

Details

Attachments

(1 file)

59.91 KB, text/plain
Details

User Agent: Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/110.0.0.0 Safari/537.36

Steps to reproduce:

I am using TB for dealing with mail in my Zoho account over IMAP.

For a few weeks now, I have been observing the following issue: When starting to write a new mail in Thunderbird, a draft is successfully saved in the specified "Drafts" IMAP folder. After a while, when I keep writing the mail, Thunderbird tries to update the saved draft, which reproducibly fails (see below).

Hitting the "Save" button in the compose window is affected in the same way, i.e. initial saving works, but updates of the same message draft fail.

Actual results:

An error dialog is shown:

"Your draft message was not copied to your drafts folder (Drafts) due to network or file access errors. You can save the draft locally to <local folder>."

I get this error message in the activity manager:

The current operation on 'Drafts' did not succeed. The mail server for account <redacted> responded: APPEND failed.

The message in the Drafts folder subsequently dissappears.

Expected results:

The saved draft should have been updated.

Could use an imap log. See https://wiki.mozilla.org/MailNews:Logging

Component: Untriaged → Networking: IMAP
Product: Thunderbird → MailNews Core

I would be happy to provide a log, but seem to be unable to produce logs from the flatpak version of TB I am using:

  • Setting mailnews.imap.loglevel to All does not seem to have any effect on the output in the error console.
  • Running env MOZ_LOG='IMAP:5,timestamp' MOZ_LOG_FILE=/tmp/tb.log flatpak run org.mozilla.Thunderbird makes TB crash when clicking "Save" in the message compose window trying to reproduce the reported issue.

Can you assist in producing logs, preferably using the flatpak version of TB?

I don't know why the logging with the environment variables wouldn't work for flatpack. Better try the official binaries from thunderbird.net

Attached file IMAP log

Using the official binary I was able to generate an IMAP log while reproducing the bug: I have started TB, created a new message, hit Save in the message compose (which successfully saved the message to the Drafts folder), hit Save again which failed with the error I described.

Please note that I can reproduce the behavior for two different Zoho mail accounts, but not for my GMail account.

You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: