foxcpp / maddy

✉️ Composable all-in-one mail server.
https://maddy.email
GNU General Public License v3.0
5.13k stars 249 forks source link

Messages that have already been read are still unread status #712

Open cod1ingcoding opened 4 months ago

cod1ingcoding commented 4 months ago

version

maddy0.7.1 + alps commit 827a3b87

log

maddy

2024-07-07T08:51:32+00:00 - Configured upstream IMAP server: imaps://<mx.domain.com>:993
2024-07-07T08:51:32+00:00 - Configured upstream SMTP server: smtps://<mx.domain.com>:465
2024-07-07T08:51:32+00:00 - Loaded plugin "base"
2024-07-07T08:51:32+00:00 - Loaded plugin "viewhtml"
2024-07-07T08:51:32+00:00 - Loaded plugin "viewtext"
2024-07-07T08:51:32+00:00 - Loading theme "alps"
2024-07-07T08:51:32+00:00 - Loading theme "sourcehut"
⇨ http server started on [::]:1323
2024-07-07T08:51:32+00:00 method=GET, uri=/login?next=%2Flogout, status=200
T1 LOGIN "myuser@domain.com" "*********"
* OK [CAPABILITY IMAP4rev1 LITERAL+ SASL-IR CHILDREN UNSELECT MOVE IDLE APPENDLIMIT AUTH=PLAIN AUTH=LOGIN COMPRESS] IMAP4rev1 Service Ready
T1 OK [CAPABILITY IMAP4rev1 LITERAL+ SASL-IR CHILDREN UNSELECT MOVE IDLE APPENDLIMIT I18NLEVEL=1 SORT THREAD=ORDEREDSUBJECT COMPRESS NAMESPACE] LOGIN completed
2024-07-07T08:51:41+00:00 - Upstream IMAP server doesn't support the METADATA extension, using transient store instead
2024-07-07T08:51:41+00:00 method=POST, uri=/login, status=302
T2 LIST "" "*"
* LIST (\HasNoChildren) "." INBOX
* LIST (\Sent \HasNoChildren) "." "Sent"
* LIST (\Trash \HasNoChildren) "." "Trash"
* LIST (\Junk \HasNoChildren) "." "Junk"
* LIST (\Drafts \HasNoChildren) "." "Drafts"
* LIST (\Archive \HasNoChildren) "." "Archive"
T2 OK LIST completed
T3 STATUS INBOX (MESSAGES UIDVALIDITY UNSEEN)
* STATUS INBOX (MESSAGES 1 UIDVALIDITY 662259567 UNSEEN 1)
T3 OK STATUS completed
T4 NOOP
T5 SELECT INBOX
T4 OK NOOP completed
* FLAGS (\Seen \Answered \Flagged \Deleted \Draft)
* OK [PERMANENTFLAGS (\Seen \Answered \Flagged \Deleted \Draft \*)] Flags permitted.
* OK [UNSEEN 1] Message 1 is first unseen
* OK [UIDVALIDITY 662259567] UIDs valid
* 1 EXISTS
* 0 RECENT
* OK [UIDNEXT 2] Predicted next UID
T5 OK [READ-WRITE] SELECT completed
T6 FETCH 1 (UID BODYSTRUCTURE ENVELOPE FLAGS)
* 1 FETCH (UID 1 BODYSTRUCTURE (("text" "plain" ("charset" "UTF-8") NIL NIL NIL 5 1 NIL NIL NIL NIL) ("text" "html" ("charset" "UTF-8") NIL NIL NIL 26 1 NIL NIL NIL NIL) "alternative" ("boundary" "000000000000f34445061cac66a3") NIL NIL NIL) ENVELOPE ("Mon, 08 Jul 2024 02:23:56 +0800" "3333" (("name" NIL "user" "gmail.com")) (("name" NIL "user" "gmail.com")) (("name" NIL "user" "gmail.com")) ((NIL NIL "myuser" "domain.com")) NIL NIL NIL "<CA+MqpaGF-466Uds4XbYhHOKqFE1R8jOszteUjdfctZTKVw8kew@mail.gmail.com>") FLAGS ())
T6 OK FETCH completed
2024-07-07T08:51:41+00:00 method=GET, uri=/mailbox/INBOX, status=200
T7 LIST "" "*"
* LIST (\HasNoChildren) "." INBOX
* LIST (\Sent \HasNoChildren) "." "Sent"
* LIST (\Trash \HasNoChildren) "." "Trash"
* LIST (\Junk \HasNoChildren) "." "Junk"
* LIST (\Drafts \HasNoChildren) "." "Drafts"
* LIST (\Archive \HasNoChildren) "." "Archive"
T7 OK LIST completed
T8 STATUS INBOX (MESSAGES UIDVALIDITY UNSEEN)
* STATUS INBOX (MESSAGES 1 UIDVALIDITY 662259567 UNSEEN 1)
T8 OK STATUS completed
T9 UID FETCH 1 (UID BODYSTRUCTURE ENVELOPE FLAGS RFC822.SIZE BODY.PEEK[1.MIME] BODY[1])
* 1 FETCH (UID 1 BODYSTRUCTURE (("text" "plain" ("charset" "UTF-8") NIL NIL NIL 5 1 NIL NIL NIL NIL) ("text" "html" ("charset" "UTF-8") NIL NIL NIL 26 1 NIL NIL NIL NIL) "alternative" ("boundary" "000000000000f34445061cac66a3") NIL NIL NIL) ENVELOPE ("Mon, 08 Jul 2024 02:23:56 +0800" "3333" (("user" NIL "name" "gmail.com")) (("name" NIL "user" "gmail.com")) (("name" NIL "user" "gmail.com")) ((NIL NIL "myuser" "domain.com")) NIL NIL NIL "<CA+MqpaGF-466Uds4XbYhHOKqFE1R8jOszteUjdfctZTKVw8kew@mail.gmail.com>") FLAGS (\Seen) RFC822.SIZE 3084 BODY[1.MIME] {45}
Content-Type: text/plain; charset="UTF-8"

 BODY[1] {5}
333
 FLAGS (\Seen))
T9 OK UID FETCH completed
2024-07-07T08:51:43+00:00 method=GET, uri=/message/INBOX/1?part=1, status=200
T10 LIST "" "*"
* LIST (\HasNoChildren) "." INBOX
* LIST (\Sent \HasNoChildren) "." "Sent"
* LIST (\Trash \HasNoChildren) "." "Trash"
* LIST (\Junk \HasNoChildren) "." "Junk"
* LIST (\Drafts \HasNoChildren) "." "Drafts"
* LIST (\Archive \HasNoChildren) "." "Archive"
T10 OK LIST completed
T11 STATUS INBOX (MESSAGES UIDVALIDITY UNSEEN)
* STATUS INBOX (MESSAGES 1 UIDVALIDITY 662259567 UNSEEN 1)
T11 OK STATUS completed
T12 NOOP
T12 OK NOOP completed
T13 FETCH 1 (UID BODYSTRUCTURE ENVELOPE FLAGS)
* 1 FETCH (UID 1 BODYSTRUCTURE (("text" "plain" ("charset" "UTF-8") NIL NIL NIL 5 1 NIL NIL NIL NIL) ("text" "html" ("charset" "UTF-8") NIL NIL NIL 26 1 NIL NIL NIL NIL) "alternative" ("boundary" "000000000000f34445061cac66a3") NIL NIL NIL) ENVELOPE ("Mon, 08 Jul 2024 02:23:56 +0800" "3333" (("user" NIL "name" "gmail.com")) (("user" NIL "name" "gmail.com")) (("user" NIL "name" "gmail.com")) ((NIL NIL "myuser" "domain.com")) NIL NIL NIL "<CA+MqpaGF-466Uds4XbYhHOKqFE1R8jOszteUjdfctZTKVw8kew@mail.gmail.com>") FLAGS ())
T13 OK FETCH completed
2024-07-07T08:51:47+00:00 method=GET, uri=/mailbox/INBOX, status=200

alps

2024-07-07T08:51:31.315Z [debug] table.file: reloading
2024-07-07T08:51:41.757Z [debug] imapsql: initialized uidMap for selected mailbox: 1 [1]
2024-07-07T08:51:41.804Z [debug] imapsql: resolved false 1 to 1
2024-07-07T08:51:41.805Z [debug] imapsql: scanMessages: scanned msgId=1 (seq 1) [UID BODYSTRUCTURE ENVELOPE FLAGS]
2024-07-07T08:51:43.691Z [debug] imapsql: resolved true 1 to 1
2024-07-07T08:51:43.693Z [debug] imapsql: scanMessages: scanned msgId=1 (seq 1) [UID BODYSTRUCTURE ENVELOPE FLAGS RFC822.SIZE BODY.PEEK[1.MIME] BODY[1] FLAGS]
2024-07-07T08:51:46.313Z [debug] tls.loader.file: reloading certs
2024-07-07T08:51:46.314Z [debug] table.file: reloading
2024-07-07T08:51:47.616Z [debug] imapsql: resolved false 1 to 1
2024-07-07T08:51:47.616Z [debug] imapsql: scanMessages: scanned msgId=1 (seq 1) [UID BODYSTRUCTURE ENVELOPE FLAGS]

PS

Rainloop + Maddy ✅ Alps + Poste.io ✅ Alps + Maddy ❌