Sending + OK on LITERAL+ is wrong and confuse Thunderbird #98

Closed
opened 2024-02-14 17:09:49 +00:00 by quentin · 6 comments
Owner

If I select ~10 emails on a local folder, then right click, then hit copy or move to an Aerogramme mailbox, Thunderbird is happy, but nothing appears in the Aerogramme mailbox. Sometimes one email is copied/moved, but never the 10 emails. Copying one by one works for sometimes, but after a while, copying/moving is also broken...

If I select ~10 emails on a local folder, then right click, then hit copy or move to an Aerogramme mailbox, Thunderbird is happy, but nothing appears in the Aerogramme mailbox. Sometimes one email is copied/moved, but never the 10 emails. Copying one by one works for sometimes, but after a while, copying/moving is also broken...
quentin added the
cat
bug
label 2024-02-14 17:09:49 +00:00
quentin added this to the IMAP4REV1 project 2024-02-15 07:55:39 +00:00
quentin added this to the 0.5.0 Stabilizing Pt.1 milestone 2024-02-15 07:55:41 +00:00
quentin added the
prio
low
label 2024-02-15 07:55:50 +00:00
quentin added the
mua
thunderbird
label 2024-02-20 08:33:56 +00:00
quentin added
prio
mid
and removed
prio
low
labels 2024-02-20 08:35:49 +00:00
Author
Owner

Other people encountered the bug!

Other people encountered the bug!
Author
Owner

Debugging thunderbird:

export NSPR_LOG_MODULES=IMAP:4
export NSPR_LOG_FILE=/dev/stdout
thunderbird

Relevant dump:

[Parent 1381167: Main Thread]: D/IMAP proposed url = Moar folder for connection Moar has To Wait = false can run = true
[Parent 1381167: Main Thread]: I/IMAP 7f202a57eb00:imap.saint-ex.deuxfleurs.org:S-Moar:SetupSinkProxy: got m_imapMailFolderSink
[Parent 1381167: IMAP]: I/IMAP 7f202a57eb00:imap.saint-ex.deuxfleurs.org:S-Moar:SendData: DONE
[Parent 1381167: IMAP]: I/IMAP 7f202a57eb00:imap.saint-ex.deuxfleurs.org:S-Moar:CreateNewLineFromSocket: 27 OK IDLE completed
[Parent 1381167: IMAP]: I/IMAP 7f202a57eb00:imap.saint-ex.deuxfleurs.org:S-Moar:ProcessCurrentURL: entering
[Parent 1381167: Main Thread]: I/IMAP 7f202a57eb00:imap.saint-ex.deuxfleurs.org:S-Moar:SetupSinkProxy: got m_imapMailFolderSink
[Parent 1381167: IMAP]: I/IMAP 7f202a57eb00:imap.saint-ex.deuxfleurs.org:S-Moar:ProcessCurrentURL:imap://quentin@imap.saint-ex.deuxfleurs.org:993/appendmsgfromfile%3E.Moar:  = currentUrl
[Parent 1381167: IMAP]: I/IMAP 7f202a57eb00:imap.saint-ex.deuxfleurs.org:S-Moar:SendData: 28 append "Moar" (\Seen nonjunk) "14-Feb-2024 15:41:59 +0100" {6771+}
[Parent 1381167: IMAP]: I/IMAP 7f202a57eb00:imap.saint-ex.deuxfleurs.org:S-Moar:SendData: X-Mozilla-Keys: 

... TRUNCATED EMAIL DUMP ....

</div></body></html>=

[Parent 1381167: IMAP]: I/IMAP 7f202a57eb00:imap.saint-ex.deuxfleurs.org:S-Moar:SendData:
[Parent 1381167: IMAP]: I/IMAP 7f202a57eb00:imap.saint-ex.deuxfleurs.org:S-Moar:CreateNewLineFromSocket: + OK
[Parent 1381167: IMAP]: I/IMAP 7f202a57eb00:imap.saint-ex.deuxfleurs.org:S-Moar:SendData: 29 noop
[Parent 1381167: IMAP]: I/IMAP 7f202a57eb00:imap.saint-ex.deuxfleurs.org:S-Moar:CreateNewLineFromSocket: 28 OK [APPENDUID 1 2] APPEND completed
[Parent 1381167: IMAP]: D/IMAP URL failed with code 0x80550021 (imap://quentin@imap.saint-ex.deuxfleurs.org:993/appendmsgfromfile%3E.Moar)
[Parent 1381167: IMAP]: I/IMAP 7f202a57eb00:imap.saint-ex.deuxfleurs.org:NA:SendData: 30 logout
[Parent 1381167: IMAP]: I/IMAP 7f202a57eb00:imap.saint-ex.deuxfleurs.org:NA:CreateNewLineFromSocket: * 2 EXISTS
[Parent 1381167: IMAP]: I/IMAP 7f202a57eb00:imap.saint-ex.deuxfleurs.org:NA:CreateNewLineFromSocket: 29 OK NOOP completed.
[Parent 1381167: IMAP]: I/IMAP 7f202a57eb00:imap.saint-ex.deuxfleurs.org:NA:TellThreadToDie: close socket connection
[Parent 1381167: IMAP]: D/IMAP ImapThreadMainLoop leaving [this=7f202a57eb00]

Relevant lines:

[Parent 1381167: IMAP]: I/IMAP 7f202a57eb00:imap.saint-ex.deuxfleurs.org:S-Moar:SendData: 29 noop
[Parent 1381167: IMAP]: I/IMAP 7f202a57eb00:imap.saint-ex.deuxfleurs.org:S-Moar:CreateNewLineFromSocket: 28 OK [APPENDUID 1 2] APPEND completed
[Parent 1381167: IMAP]: D/IMAP URL failed with code 0x80550021 (imap://quentin@imap.saint-ex.deuxfleurs.org:993/appendmsgfromfile>.Moar)

Explanation:

  • Thunderbird sends an APPEND command with a LITERAL+ -> 28 append "Moar" (\Seen nonjunk) "14-Feb-2024 15:41:59 +0100" {6771+}
  • Thunderbird receives + OK that says the literal (body of the email) has been accepted
  • Thunderbird sends a NOOP
  • Thunderbird receives 28 OK [APPENDUID 1 2] APPEND completed that says the APPEND command successfully completed
  • Thunderbird is not happy and switch to the error flow, it stops the task we assigned it (copying multiple emails)

Question: Why Thunderbird is not happy? Is it due to my APPEND command? It can't be due to the NOOP command result as it is reading it only after the error. APPENDUID is from the UIDPLUS extension, could it be that I did not implement it correctly? The tag is correct however.

Debugging thunderbird: ```bash export NSPR_LOG_MODULES=IMAP:4 export NSPR_LOG_FILE=/dev/stdout thunderbird ``` Relevant dump: ``` [Parent 1381167: Main Thread]: D/IMAP proposed url = Moar folder for connection Moar has To Wait = false can run = true [Parent 1381167: Main Thread]: I/IMAP 7f202a57eb00:imap.saint-ex.deuxfleurs.org:S-Moar:SetupSinkProxy: got m_imapMailFolderSink [Parent 1381167: IMAP]: I/IMAP 7f202a57eb00:imap.saint-ex.deuxfleurs.org:S-Moar:SendData: DONE [Parent 1381167: IMAP]: I/IMAP 7f202a57eb00:imap.saint-ex.deuxfleurs.org:S-Moar:CreateNewLineFromSocket: 27 OK IDLE completed [Parent 1381167: IMAP]: I/IMAP 7f202a57eb00:imap.saint-ex.deuxfleurs.org:S-Moar:ProcessCurrentURL: entering [Parent 1381167: Main Thread]: I/IMAP 7f202a57eb00:imap.saint-ex.deuxfleurs.org:S-Moar:SetupSinkProxy: got m_imapMailFolderSink [Parent 1381167: IMAP]: I/IMAP 7f202a57eb00:imap.saint-ex.deuxfleurs.org:S-Moar:ProcessCurrentURL:imap://quentin@imap.saint-ex.deuxfleurs.org:993/appendmsgfromfile%3E.Moar: = currentUrl [Parent 1381167: IMAP]: I/IMAP 7f202a57eb00:imap.saint-ex.deuxfleurs.org:S-Moar:SendData: 28 append "Moar" (\Seen nonjunk) "14-Feb-2024 15:41:59 +0100" {6771+} [Parent 1381167: IMAP]: I/IMAP 7f202a57eb00:imap.saint-ex.deuxfleurs.org:S-Moar:SendData: X-Mozilla-Keys: ... TRUNCATED EMAIL DUMP .... </div></body></html>= [Parent 1381167: IMAP]: I/IMAP 7f202a57eb00:imap.saint-ex.deuxfleurs.org:S-Moar:SendData: [Parent 1381167: IMAP]: I/IMAP 7f202a57eb00:imap.saint-ex.deuxfleurs.org:S-Moar:CreateNewLineFromSocket: + OK [Parent 1381167: IMAP]: I/IMAP 7f202a57eb00:imap.saint-ex.deuxfleurs.org:S-Moar:SendData: 29 noop [Parent 1381167: IMAP]: I/IMAP 7f202a57eb00:imap.saint-ex.deuxfleurs.org:S-Moar:CreateNewLineFromSocket: 28 OK [APPENDUID 1 2] APPEND completed [Parent 1381167: IMAP]: D/IMAP URL failed with code 0x80550021 (imap://quentin@imap.saint-ex.deuxfleurs.org:993/appendmsgfromfile%3E.Moar) [Parent 1381167: IMAP]: I/IMAP 7f202a57eb00:imap.saint-ex.deuxfleurs.org:NA:SendData: 30 logout [Parent 1381167: IMAP]: I/IMAP 7f202a57eb00:imap.saint-ex.deuxfleurs.org:NA:CreateNewLineFromSocket: * 2 EXISTS [Parent 1381167: IMAP]: I/IMAP 7f202a57eb00:imap.saint-ex.deuxfleurs.org:NA:CreateNewLineFromSocket: 29 OK NOOP completed. [Parent 1381167: IMAP]: I/IMAP 7f202a57eb00:imap.saint-ex.deuxfleurs.org:NA:TellThreadToDie: close socket connection [Parent 1381167: IMAP]: D/IMAP ImapThreadMainLoop leaving [this=7f202a57eb00] ``` Relevant lines: ``` [Parent 1381167: IMAP]: I/IMAP 7f202a57eb00:imap.saint-ex.deuxfleurs.org:S-Moar:SendData: 29 noop [Parent 1381167: IMAP]: I/IMAP 7f202a57eb00:imap.saint-ex.deuxfleurs.org:S-Moar:CreateNewLineFromSocket: 28 OK [APPENDUID 1 2] APPEND completed [Parent 1381167: IMAP]: D/IMAP URL failed with code 0x80550021 (imap://quentin@imap.saint-ex.deuxfleurs.org:993/appendmsgfromfile>.Moar) ``` Explanation: - Thunderbird sends an APPEND command with a LITERAL+ -> `28 append "Moar" (\Seen nonjunk) "14-Feb-2024 15:41:59 +0100" {6771+}` - Thunderbird receives `+ OK` that says the literal (body of the email) has been accepted - Thunderbird sends a NOOP - Thunderbird receives `28 OK [APPENDUID 1 2] APPEND completed` that says the APPEND command successfully completed - Thunderbird is not happy and switch to the error flow, it stops the task we assigned it (copying multiple emails) Question: Why Thunderbird is not happy? Is it due to my APPEND command? It can't be due to the NOOP command result as it is reading it only *after* the error. APPENDUID is from the UIDPLUS extension, could it be that I did not implement it correctly? The tag is correct however.
Author
Owner

A dump on Dovecot:

[Parent 1383077: IMAP]: I/IMAP 7f301ca2a900:imap.deuxfleurs.fr:S-Moar:ProcessCurrentURL:imap://quentin%40deuxfleurs%2Efr@imap.deuxfleurs.fr:993/appendmsgfromfile%3E.Moar:  = currentUrl
[Parent 1383077: IMAP]: I/IMAP 7f301ca2a900:imap.deuxfleurs.fr:S-Moar:SendData: 100 append "Moar" (\Seen nonjunk) "14-Feb-2024 17:38:34 +0100" {1674+}
[Parent 1383077: IMAP]: I/IMAP 7f301ca2a900:imap.deuxfleurs.fr:S-Moar:SendData: X-Mozilla-Keys:
Received: from smtp.deuxfleurs.fr (scorpio.site.deuxfleurs.fr [82.65.41.110])
	by aero-par.localdomain (Postfix) with ESMTP id DF2B141565
	for <quentin@saint-ex.deuxfleurs.org>; Wed, 14 Feb 2024 16:38:34 +0000 (UTC)
From: "Quentin Dufour" <quentin@deuxfleurs.fr>
[Parent 1383077: IMAP]: I/IMAP DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=deuxfleurs.fr; s=smtp;
	t=1707928714; bh=8y+Zpb3ToLDmVx6I4oafWZhkV6NnZxKaCBW9l1jj838=;
	h=From:To:Date:Subject:From;
	b=f1tOMHd74pe7+FksgZfcKq+1PlTz6ivzcTYkLb4Kb6Me6XBGTwyBkx++kXKjBtcuI
	 DhIl008PeiZcHstjaZ+LPMYF/XDlgw6Afap+nqspDbpbAm2Js4OxUuBTNyQVkzB99a
	 NNVEbIyhtflO2DRelMM7OCGY5p+uQ43jPohMUYGsCoju7kZiI9lP/3Jkkn4OVaYRi+
[Parent 1383077: IMAP]: I/IMAP 	 3GZPEFpYp12TJ8OWOpYA3wg+u3ojkmsJiL+DK7fERRykNFJ4hbtrhVN1Lgs5DX8DP4
	 LdSlwehsiccWPPhjWWyTxJzZj53nR4lX3hYbqGWL6kftk30l1UNjm57j3Otptsh5PS
	 EVXV23kzikG+g==
To: quentin@saint-ex.deuxfleurs.org
User-Agent: SOGoMail 5.0.0
MIME-Version: 1.0
Date: Wed, 14 Feb 2024 16:38:34 +0000
Subject: Hello from Sogo
Message-ID: <2b-65ccec80-b-1e799d60@58779929>
X-Forward: 127.0.0.1
[Parent 1383077: IMAP]: I/IMAP Content-Type: multipart/alternative; boundary="----=_=-_OpenGroupware_org_NGMime-43-1707928714.013928-0------"

... TRUNCATED EMAIL DUMP ...

[Parent 1383077: IMAP]: I/IMAP 7f301ca2a900:imap.deuxfleurs.fr:S-Moar:SendData:
[Parent 1383077: Main Thread]: D/IMAP proposed url = INBOX folder for connection Drafts has To Wait = false can run = false
[Parent 1383077: Main Thread]: D/IMAP proposed url = INBOX folder for connection INBOX has To Wait = false can run = true
[Parent 1383077: IMAP]: I/IMAP 7f301ca2a900:imap.deuxfleurs.fr:S-Moar:CreateNewLineFromSocket: * FLAGS (\Answered \Flagged \Deleted \Seen \Draft nonjunk)
[Parent 1383077: IMAP]: I/IMAP 7f301ca2a900:imap.deuxfleurs.fr:S-Moar:CreateNewLineFromSocket: * OK [PERMANENTFLAGS (\Answered \Flagged \Deleted \Seen \Draft nonjunk \*)] Flags permitted.
[Parent 1383077: IMAP]: I/IMAP 7f301ca2a900:imap.deuxfleurs.fr:S-Moar:CreateNewLineFromSocket: * 1 EXISTS
[Parent 1383077: IMAP]: I/IMAP 7f301ca2a900:imap.deuxfleurs.fr:S-Moar:CreateNewLineFromSocket: * 1 RECENT
[Parent 1383077: IMAP]: I/IMAP 7f301ca2a900:imap.deuxfleurs.fr:S-Moar:CreateNewLineFromSocket: 100 OK [APPENDUID 1398106876 1] Append completed (0.009 + 0.001 + 0.006 secs).
[Parent 1383077: IMAP]: I/IMAP 7f301ca2a900:imap.deuxfleurs.fr:S-Moar:SendData: 101 noop
[Parent 1383077: IMAP]: I/IMAP 7f301ca2a900:imap.deuxfleurs.fr:S-Moar:CreateNewLineFromSocket: 101 OK NOOP completed (0.001 + 0.000 secs).
[Parent 1383077: Main Thread]: I/IMAP CopyNextStreamMessage: Copying 1 of 2

Difference:

* FLAGS (\Answered \Flagged \Deleted \Seen \Draft nonjunk)
* OK [PERMANENTFLAGS (\Answered \Flagged \Deleted \Seen \Draft nonjunk \*)] Flags permitted.
* 1 EXISTS
* 1 RECENT
100 OK [APPENDUID 1398106876 1] Append completed (0.009 + 0.001 + 0.006 secs).

Hypothesis: We are missing the unsollicited response!

A dump on Dovecot: ``` [Parent 1383077: IMAP]: I/IMAP 7f301ca2a900:imap.deuxfleurs.fr:S-Moar:ProcessCurrentURL:imap://quentin%40deuxfleurs%2Efr@imap.deuxfleurs.fr:993/appendmsgfromfile%3E.Moar: = currentUrl [Parent 1383077: IMAP]: I/IMAP 7f301ca2a900:imap.deuxfleurs.fr:S-Moar:SendData: 100 append "Moar" (\Seen nonjunk) "14-Feb-2024 17:38:34 +0100" {1674+} [Parent 1383077: IMAP]: I/IMAP 7f301ca2a900:imap.deuxfleurs.fr:S-Moar:SendData: X-Mozilla-Keys: Received: from smtp.deuxfleurs.fr (scorpio.site.deuxfleurs.fr [82.65.41.110]) by aero-par.localdomain (Postfix) with ESMTP id DF2B141565 for <quentin@saint-ex.deuxfleurs.org>; Wed, 14 Feb 2024 16:38:34 +0000 (UTC) From: "Quentin Dufour" <quentin@deuxfleurs.fr> [Parent 1383077: IMAP]: I/IMAP DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=deuxfleurs.fr; s=smtp; t=1707928714; bh=8y+Zpb3ToLDmVx6I4oafWZhkV6NnZxKaCBW9l1jj838=; h=From:To:Date:Subject:From; b=f1tOMHd74pe7+FksgZfcKq+1PlTz6ivzcTYkLb4Kb6Me6XBGTwyBkx++kXKjBtcuI DhIl008PeiZcHstjaZ+LPMYF/XDlgw6Afap+nqspDbpbAm2Js4OxUuBTNyQVkzB99a NNVEbIyhtflO2DRelMM7OCGY5p+uQ43jPohMUYGsCoju7kZiI9lP/3Jkkn4OVaYRi+ [Parent 1383077: IMAP]: I/IMAP 3GZPEFpYp12TJ8OWOpYA3wg+u3ojkmsJiL+DK7fERRykNFJ4hbtrhVN1Lgs5DX8DP4 LdSlwehsiccWPPhjWWyTxJzZj53nR4lX3hYbqGWL6kftk30l1UNjm57j3Otptsh5PS EVXV23kzikG+g== To: quentin@saint-ex.deuxfleurs.org User-Agent: SOGoMail 5.0.0 MIME-Version: 1.0 Date: Wed, 14 Feb 2024 16:38:34 +0000 Subject: Hello from Sogo Message-ID: <2b-65ccec80-b-1e799d60@58779929> X-Forward: 127.0.0.1 [Parent 1383077: IMAP]: I/IMAP Content-Type: multipart/alternative; boundary="----=_=-_OpenGroupware_org_NGMime-43-1707928714.013928-0------" ... TRUNCATED EMAIL DUMP ... [Parent 1383077: IMAP]: I/IMAP 7f301ca2a900:imap.deuxfleurs.fr:S-Moar:SendData: [Parent 1383077: Main Thread]: D/IMAP proposed url = INBOX folder for connection Drafts has To Wait = false can run = false [Parent 1383077: Main Thread]: D/IMAP proposed url = INBOX folder for connection INBOX has To Wait = false can run = true [Parent 1383077: IMAP]: I/IMAP 7f301ca2a900:imap.deuxfleurs.fr:S-Moar:CreateNewLineFromSocket: * FLAGS (\Answered \Flagged \Deleted \Seen \Draft nonjunk) [Parent 1383077: IMAP]: I/IMAP 7f301ca2a900:imap.deuxfleurs.fr:S-Moar:CreateNewLineFromSocket: * OK [PERMANENTFLAGS (\Answered \Flagged \Deleted \Seen \Draft nonjunk \*)] Flags permitted. [Parent 1383077: IMAP]: I/IMAP 7f301ca2a900:imap.deuxfleurs.fr:S-Moar:CreateNewLineFromSocket: * 1 EXISTS [Parent 1383077: IMAP]: I/IMAP 7f301ca2a900:imap.deuxfleurs.fr:S-Moar:CreateNewLineFromSocket: * 1 RECENT [Parent 1383077: IMAP]: I/IMAP 7f301ca2a900:imap.deuxfleurs.fr:S-Moar:CreateNewLineFromSocket: 100 OK [APPENDUID 1398106876 1] Append completed (0.009 + 0.001 + 0.006 secs). [Parent 1383077: IMAP]: I/IMAP 7f301ca2a900:imap.deuxfleurs.fr:S-Moar:SendData: 101 noop [Parent 1383077: IMAP]: I/IMAP 7f301ca2a900:imap.deuxfleurs.fr:S-Moar:CreateNewLineFromSocket: 101 OK NOOP completed (0.001 + 0.000 secs). [Parent 1383077: Main Thread]: I/IMAP CopyNextStreamMessage: Copying 1 of 2 ``` Difference: ``` * FLAGS (\Answered \Flagged \Deleted \Seen \Draft nonjunk) * OK [PERMANENTFLAGS (\Answered \Flagged \Deleted \Seen \Draft nonjunk \*)] Flags permitted. * 1 EXISTS * 1 RECENT 100 OK [APPENDUID 1398106876 1] Append completed (0.009 + 0.001 + 0.006 secs). ``` Hypothesis: We are missing the unsollicited response!
quentin changed title from In Thunderbird, copying from/to an Aerogramme mailbox does not work well to Missing unsollicited response on APPEND? 2024-02-20 09:43:02 +00:00
Author
Owner

Tried a fix, still an error:

[Parent 1550010: IMAP]: I/IMAP 7fcbe0612b00:imap.saint-ex.deuxfleurs.org:S-Moar:CreateNewLineFromSocket: + OK
[Parent 1550010: IMAP]: I/IMAP 7fcbe0612b00:imap.saint-ex.deuxfleurs.org:S-Moar:SendData: 102 noop
[Parent 1550010: IMAP]: I/IMAP 7fcbe0612b00:imap.saint-ex.deuxfleurs.org:S-Moar:CreateNewLineFromSocket: * 4 EXISTS
[Parent 1550010: IMAP]: I/IMAP 7fcbe0612b00:imap.saint-ex.deuxfleurs.org:S-Moar:CreateNewLineFromSocket: 101 OK [APPENDUID 1 4] APPEND completed
[Parent 1550010: IMAP]: D/IMAP URL failed with code 0x80550021 (imap://quentin@imap.saint-ex.deuxfleurs.org:993/appendmsgfromfile%3E.Moar)

Maybe Thunderbird expects a RECENT message?
Or is it due to the + OK that does not appear in Dovecot?


From Thunderbird source code

var ImapUtils = {
  NS_MSG_ERROR_IMAP_COMMAND_FAILED: 0x80550021,
  /** @see nsImapCore.h */
  FLAG_NONE: 0x0000,
  //...
}
// The imap server returned NO or BAD for an IMAP command
#define NS_MSG_ERROR_IMAP_COMMAND_FAILED NS_MSG_GENERATE_FAILURE(33)
Tried a fix, still an error: ``` [Parent 1550010: IMAP]: I/IMAP 7fcbe0612b00:imap.saint-ex.deuxfleurs.org:S-Moar:CreateNewLineFromSocket: + OK [Parent 1550010: IMAP]: I/IMAP 7fcbe0612b00:imap.saint-ex.deuxfleurs.org:S-Moar:SendData: 102 noop [Parent 1550010: IMAP]: I/IMAP 7fcbe0612b00:imap.saint-ex.deuxfleurs.org:S-Moar:CreateNewLineFromSocket: * 4 EXISTS [Parent 1550010: IMAP]: I/IMAP 7fcbe0612b00:imap.saint-ex.deuxfleurs.org:S-Moar:CreateNewLineFromSocket: 101 OK [APPENDUID 1 4] APPEND completed [Parent 1550010: IMAP]: D/IMAP URL failed with code 0x80550021 (imap://quentin@imap.saint-ex.deuxfleurs.org:993/appendmsgfromfile%3E.Moar) ``` Maybe Thunderbird expects a RECENT message? Or is it due to the `+ OK` that does not appear in Dovecot? --- From Thunderbird source code ```js var ImapUtils = { NS_MSG_ERROR_IMAP_COMMAND_FAILED: 0x80550021, /** @see nsImapCore.h */ FLAG_NONE: 0x0000, //... } ``` ```cpp // The imap server returned NO or BAD for an IMAP command #define NS_MSG_ERROR_IMAP_COMMAND_FAILED NS_MSG_GENERATE_FAILURE(33) ```
Author
Owner

I think it's a literal issue with imap-flow on LITERAL+

On Dovecot:

C STATUS {5+}
INBOX (MESSAGES)
* STATUS INBOX (MESSAGES 2399)
C OK Status completed (0.001 + 3.937 + 3.936 secs).

On Aerogramme:

C STATUS {5+}
+ OK
INBOX (MESSAGES)
* STATUS INBOX (MESSAGES 17)
C OK STATUS completed

The + OK is wrong.

I think it's a literal issue with imap-flow on LITERAL+ On Dovecot: ``` C STATUS {5+} INBOX (MESSAGES) * STATUS INBOX (MESSAGES 2399) C OK Status completed (0.001 + 3.937 + 3.936 secs). ``` On Aerogramme: ``` C STATUS {5+} + OK INBOX (MESSAGES) * STATUS INBOX (MESSAGES 17) C OK STATUS completed ``` The `+ OK` is wrong.
quentin changed title from Missing unsollicited response on APPEND? to Sending +OK on LITERAL+ is wrong 2024-02-20 11:42:49 +00:00
quentin changed title from Sending +OK on LITERAL+ is wrong to Sending + OK on LITERAL+ is wrong and confuse Thunderbird 2024-02-20 11:43:11 +00:00
Author
Owner

Fixed by upgrading imap-flow

Fixed by upgrading imap-flow
quentin modified the milestone from 0.5.0 Stabilizing Pt.1 to 0.3.0 CalDAV 2024-02-23 17:44:29 +00:00
Sign in to join this conversation.
No description provided.