Something I've been noticing a lot in the past weeks - every now and then when performing some operation (typically switching to another folder on a remote proxied server), a bunch of "queued" IDLE updates will suddenly get processed all at once.
In theory, this is legal, but this should not be happening, since those updates should all be getting processed in real time during IDLE.
[2024-12-06 18:08:46.557] DEBUG[1591729]: net_imap.c:4946 handle_client: 0x7f3c54ff65d0 => DONE
[2024-12-06 18:08:46.558] DEBUG[1591729]: net_imap.c:4007 idle_stop: 0x7f3c54ff65d0 <= 103 OK IDLE terminated
[2024-12-06 18:08:46.558] DEBUG[1591728]: mod_webmail.c:3655 on_text_message: Processing authenticated command 'SELECT'
[2024-12-06 18:08:46.558] DEBUG[1591729]: net_imap.c:4946 handle_client: 0x7f3c54ff65d0 => 104 STATUS "Other Users.4.INBOX" (UNSEEN)
[2024-12-06 18:08:46.558] DEBUG[1591729]: imap_client.c:694 imap_client_get: Reusing existing client connection for Other Users.4
[2024-12-06 18:08:46.697] DEBUG[1591729]: tcp.c:111 bbs_tcp_client_expect: <= idle OK IDLE Terminated
[2024-12-06 18:08:46.697] DEBUG[1591729]: imap_client.c:632 connection_stale: Successfully stopped background IDLE on client Other Users.4, reusing
[2024-12-06 18:08:46.697] DEBUG[1591729]: imap_server_maildir.c:255 set_maildir_readonly: Mailbox 'Other Users.4.INBOX' has a virtual mapping
[2024-12-06 18:08:47.021] WARNING[1591729]: imap_client_status.c:607 remote_status: Unexpected response: * 5484 EXPUNGE
[2024-12-06 18:08:47.021] WARNING[1591729]: imap_client_status.c:607 remote_status: Unexpected response: * 5484 EXPUNGE
[2024-12-06 18:08:47.021] WARNING[1591729]: imap_client_status.c:607 remote_status: Unexpected response: * 5484 EXPUNGE
[2024-12-06 18:08:47.021] WARNING[1591729]: imap_client_status.c:607 remote_status: Unexpected response: * 5484 EXPUNGE
[2024-12-06 18:08:47.021] WARNING[1591729]: imap_client_status.c:607 remote_status: Unexpected response: * 5497 EXISTS
[2024-12-06 18:08:47.022] WARNING[1591729]: imap_client_status.c:607 remote_status: Unexpected response: * 5493 FETCH (UID 5806 FLAGS (\Seen \Answered encrypted))
[2024-12-06 18:08:47.022] DEBUG[1591729]: imap_client_status.c:651 imap_client_send_converted_status_response: 0x7f3c54ff65d0 <= * STATUS "Other Users.4.INBOX" (MESSAGES 5497 UNSEEN 0 UIDNEXT 5811 UIDVALIDITY 1555847726)
[2024-12-06 18:08:47.022] DEBUG[1591729]: net_imap.c:1272 handle_remote_status: 0x7f3c54ff65d0 <= 104 OK STATUS
[2024-12-06 18:08:47.063] DEBUG[1591729]: net_imap.c:4946 handle_client: 0x7f3c54ff65d0 => 105 SELECT "Other Users.4.INBOX"
[2024-12-16 22:20:13.370] DEBUG[45433]: mod_webmail.c:3657 on_text_message: Processing authenticated command 'SELECT'
[2024-12-16 22:20:13.370] DEBUG[45434]: net_imap.c:4946 handle_client: 0x7fa4d8ff65f0 => 55 STATUS "Other Users.8.INBOX" (UNSEEN)
[2024-12-16 22:20:13.371] DEBUG[45434]: imap_client.c:694 imap_client_get: Reusing existing client connection for Other Users.8
[2024-12-16 22:20:13.517] DEBUG[45434]: tcp.c:111 bbs_tcp_client_expect: <= idle OK IDLE Terminated
[2024-12-16 22:20:13.518] DEBUG[45434]: imap_client.c:632 connection_stale: Successfully stopped background IDLE on client Other Users.8, reusing
[2024-12-16 22:20:13.518] DEBUG[45434]: imap_server_maildir.c:265 set_maildir_readonly: Mailbox 'Other Users.8.INBOX' has a virtual mapping
[2024-12-16 22:20:13.858] WARNING[45434]: imap_client_status.c:607 remote_status: Unexpected response: * 3843 FETCH (UID 8543 FLAGS (encrypted))
[2024-12-16 22:20:13.858] WARNING[45434]: imap_client_status.c:607 remote_status: Unexpected response: * 3844 FETCH (UID 8544 FLAGS (encrypted))
[2024-12-16 22:20:13.858] WARNING[45434]: imap_client_status.c:607 remote_status: Unexpected response: * 3845 FETCH (UID 8545 FLAGS (encrypted))
[2024-12-16 22:20:13.858] WARNING[45434]: imap_client_status.c:607 remote_status: Unexpected response: * 3846 FETCH (UID 8546 FLAGS (encrypted))
[2024-12-16 22:20:13.859] WARNING[45434]: imap_client_status.c:607 remote_status: Unexpected response: * 3847 FETCH (UID 8547 FLAGS (encrypted))
[2024-12-16 22:20:13.859] WARNING[45434]: imap_client_status.c:607 remote_status: Unexpected response: * 3848 FETCH (UID 8548 FLAGS (encrypted))
[2024-12-16 22:20:13.859] WARNING[45434]: imap_client_status.c:607 remote_status: Unexpected response: * 3849 FETCH (UID 8549 FLAGS (encrypted))
[2024-12-16 22:20:13.859] DEBUG[45434]: imap_client_status.c:651 imap_client_send_converted_status_response: 0x7fa4d8ff65f0 <= * STATUS "Other Users.8.INBOX" (MESSAGES 3849 UNSEEN 14 UIDNEXT 8550 UIDVALIDITY 1555847564)
[2024-12-16 22:20:13.860] DEBUG[45434]: net_imap.c:1272 handle_remote_status: 0x7fa4d8ff65f0 <= 55 OK STATUS
[2024-12-16 22:20:13.904] DEBUG[45434]: net_imap.c:4946 handle_client: 0x7fa4d8ff65f0 => 56 SELECT "Other Users.8.INBOX"
[2024-12-23 19:17:34.759] DEBUG[52851]: readline.c:165 bbs_readline: bbs_poll_read returned 0
[2024-12-23 19:17:35.073] DEBUG[52851]: net_imap.c:4138 notify_status_cb: Raw STATUS response: * STATUS INBOX (MESSAGES 3865 UNSEEN 1 UIDNEXT 8595 UIDVALIDITY 1555847564)
[2024-12-23 19:17:35.074] DEBUG[52850]: mod_webmail.c:3366 process_idle: IDLE data: * STATUS "Other Users.8.INBOX" (MESSAGES 3865 UNSEEN 1 UIDNEXT 8595 UIDVALIDITY 1555847564)
[2024-12-23 19:17:48.936] DEBUG[52850]: net_ws.c:995 ws_handler: WebSocket 'TEXT' frame received
[2024-12-23 19:17:49.494] WARNING[52851]: imap_client_status.c:607 remote_status: Unexpected response: * 3865 EXPUNGE
[2024-12-23 19:28:24.028] DEBUG[52850]: utils.c:1117 bbs_parse_rfc822_date: Non-RFC2822 compliant date: Thu, 19 Dec 2024 06:38:54 GMT ()
[2024-12-23 19:28:24.029] DEBUG[52850]: utils.c:1117 bbs_parse_rfc822_date: Non-RFC2822 compliant date: Thu, 19 Dec 2024 18:55:43 GMT ()
[2024-12-23 19:28:24.030] DEBUG[52850]: utils.c:1117 bbs_parse_rfc822_date: Non-RFC2822 compliant date: Tue, 24 Dec 2024 00:22:01 GMT ()
[2024-12-23 19:28:25.338] DEBUG[52850]: net_ws.c:995 ws_handler: WebSocket 'TEXT' frame received
[2024-12-23 19:28:26.144] DEBUG[52850]: mod_webmail.c:1936 fetchlist: Fetching message listing 436:460 (page 1 of 19), sort: , filter:
[2024-12-23 19:28:27.415] DEBUG[52850]: net_ws.c:995 ws_handler: WebSocket 'TEXT' frame received
[2024-12-23 19:28:27.902] WARNING[52851]: imap_client_status.c:607 remote_status: Unexpected response: * 94412 EXPUNGE
[2024-12-23 19:28:27.903] WARNING[52851]: imap_client_status.c:607 remote_status: Unexpected response: * 94413 EXISTS
[2024-12-23 19:28:27.903] WARNING[52851]: imap_client_status.c:607 remote_status: Unexpected response: * 94339 FETCH (UID 106919 FLAGS (\Seen \Answered encrypted))
You must be