Bug in handle_remote_move
:
[2024-10-31 18:44:36.104] DEBUG[1072519]: imap_client.c:186 imap_poll: IMAP poll returned 1 for main IMAP client
[2024-10-31 18:44:36.116] DEBUG[1072519]: tcp.c:107 bbs_tcp_client_expect: <= idle OK IDLE completed.
[2024-10-31 18:44:36.116] DEBUG[1072519]: net_imap.c:4803 handle_client: 0x7f6f6cff65d0 => DONE
[2024-10-31 18:44:36.116] DEBUG[1072519]: net_imap.c:3948 idle_stop: 0x7f6f6cff65d0 <= 11 OK IDLE terminated
[2024-10-31 18:44:36.117] DEBUG[1072518]: mod_webmail.c:3610 on_text_message: Processing authenticated command 'MOVE'
[2024-10-31 18:44:36.117] DEBUG[1072519]: net_imap.c:4803 handle_client: 0x7f6f6cff65d0 => 12 UID MOVE 183078,182943,182940,182937,182934,182931 "Other Users.TARGET.REDACTED"
[2024-10-31 18:44:36.117] DEBUG[1072519]: net_imap.c:3109 handle_copy_move: Transparent copy/move between different servers (=> Other Users.TARGET.REDACTED)
[2024-10-31 18:44:36.117] DEBUG[1072519]: imap_client.c:661 imap_client_get: Reusing existing client connection for TARGET
[2024-10-31 18:44:36.261] DEBUG[1072519]: tcp.c:107 bbs_tcp_client_expect: <= idle OK IDLE Terminated
[2024-10-31 18:44:36.261] DEBUG[1072519]: imap_client.c:599 connection_stale: Successfully stopped background IDLE on client TARGET, reusing
[2024-10-31 18:44:36.261] DEBUG[1072519]: imap_server_maildir.c:255 set_maildir_readonly: Mailbox 'Other Users.TARGET.REDACTED' has a virtual mapping
[2024-10-31 18:44:36.261] DEBUG[1072519]: imap_client.c:506 __imap_client_send_log: 0x7f6f90116af0 => 12 UID FETCH 183078,182943,182940,182937,182934,182931 (UID INTERNALDATE FLAGS BODY.PEEK[])
[2024-10-31 18:44:36.291] DEBUG[1072519]: imap_client.c:506 __imap_client_send_log: 0x7f6f9c062660 => 12 APPEND "REDACTED" (\Seen) "24-Oct-2024 09:18:22 -0400" {12014+}
[2024-10-31 18:44:38.293] DEBUG[1072519]: readline.c:151 bbs_readline: bbs_poll_read returned 0
[2024-10-31 18:44:38.293] DEBUG[1072519]: net_imap.c:2973 handle_remote_move: Didn't receive expected '12 OK', got 'idle OK IDLE Terminated'
[2024-10-31 18:44:38.293] WARNING[1072519]: net_imap.c:3058 handle_remote_move: Transparent move/copy failed
[2024-10-31 18:44:38.293] DEBUG[1072519]: net_imap.c:4753 imap_process: MOVE command returned -1
You must be
11/3/2024 10:37 AM — InterLinked
Autoresolved by code commit on GitHub:
net_imap: Explicitly stop idling before remote MOVE/COPY operations.
https://github.com/InterLinked1/lbbs/commit/56007db5b8a85eea964069fc3127cabdd48ee36d