Closed Bug 1912478 Opened 2 years ago Closed 1 year ago

IMAP: Thunderbird disconnects from server (forever) after any message save

Categories

(MailNews Core :: Networking: IMAP, defect)

Thunderbird 128
defect

Tracking

(Not tracked)

RESOLVED INCOMPLETE

People

(Reporter: a.lobanov, Unassigned)

References

(Blocks 1 open bug)

Details

Attachments

(1 file)

Attached file log_file.moz_log —

Steps to reproduce:

There is no option to reproduce, as the bug appeared upon a recent Thunderbird autoupgrade (127 over 126?) over exising profile and is not reproduced in fresh profile created for user. Reporting it just because it is quite strange and produces no any visible error messages.

Actual results:

Upon first message save to an IMAP folder (Sent, Drafts...) Thunderbird politely closes all current IMAP sessions by "Logout" and does not try to establish any new connection to the server. Tcpdump at server side shows no traffic, etc. The message in question is actually saved, but containing folder is not re-read before this "Logout" and shows previous content. "Folder repair" just makes (any) folder empty in Thunderbird (fortunately, not in IMAP server) without any error message. Offline - Online switch changes nothing: no network traffic, no error messages. Windows 10 Defender exception changes nothing. Thunderbird restart restores normal server access until first message save operation.
Succecssful Logout operation is logged both by server and by Thunderbird IMAP debug log. Attached is an end of client log without confidential information. You can see server name, saving to Drafts, message subject is "draft". Yes, all logs really end with incomplete "ImapThreadMa"; is it a clue?

Expected results:

Saved message should appear in destination folder in Thunderbird, ether instantly or after manual folder re-read (Captain Obvious). Normal server access (Inbox, etc) should continue.

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

Looks like something is telling all the imap threads to die. Can't tell why from the log.
Are you unable to use the version you saw this on (127 daily/beta?).
If you use the release version 128 do you also see this?

Saved message should appear in destination folder in Thunderbird, ether instantly or after manual folder re-read (Captain Obvious). Normal server access (Inbox, etc) should continue.

If you select another folder and then return to the destination folder, does an imap connection to the destination folder occur and then maybe you see the new message?
If you click on Inbox and do "get messages", does connection/operation resume?
Or are you just totally dead after these logouts occur?

Open advanced config editor and check, if app.use_without_mail_account is set to true.
If so, then change to false, restart Thunderbird and check if this fix the problem.

(In reply to cra3y from comment #2)

Open advanced config editor and check, if app.use_without_mail_account is set to true.
If so, then change to false, restart Thunderbird and check if this fix the problem.

Reporter ? Without more information we must close this bug report.

And also questions comment 1.

Flags: needinfo?(a.lobanov)
Whiteboard: [closeme 2025-04-22]

Resolved per whiteboard

Status: UNCONFIRMED → RESOLVED
Closed: 1 year ago
Flags: needinfo?(a.lobanov)
Resolution: --- → INCOMPLETE
Whiteboard: [closeme 2025-04-22]
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: