If no response is received within a couple seconds, the remote client connection is aborted, which causes a cascading failure:
[2025-02-24 09:04:13.013] DEBUG[9972]: net_imap.c:4018 idle_stop: 0x7f15b47f75f0 <= 117 OK IDLE terminated
[2025-02-24 09:04:13.013] DEBUG[9971]: mod_webmail.c:3982 on_text_message: Processing authenticated command 'SELECT'
[2025-02-24 09:04:13.013] DEBUG[9972]: net_imap.c:4991 handle_client: 0x7f15b47f75f0 => 118 STATUS "Other Users.gmail.INBOX" (UNSEEN)
[2025-02-24 09:04:13.013] DEBUG[9972]: imap_client.c:818 imap_client_get: Reusing existing client connection for Other Users.gmail
[2025-02-24 09:04:13.014] DEBUG[9972]: imap_client.c:231 imap_client_idle_stop: Stopping IDLE for client Other Users.gmail
[2025-02-24 09:04:16.017] DEBUG[9972]: readline.c:165 bbs_readline: bbs_poll_read returned 0
[2025-02-24 09:04:16.017] DEBUG[9972]: imap_client.c:241 imap_client_idle_stop: bbs_readline returned -1
[2025-02-24 09:04:16.017] WARNING[9972]: imap_client.c:242 imap_client_idle_stop: Failed to terminate IDLE for Other Users.gmail
[2025-02-24 09:04:16.017] DEBUG[9972]: imap_client.c:93 client_destroy: Destroying IMAP client Other Users.gmail
[2025-02-24 09:04:16.017] DEBUG[9972]: io.c:417 bbs_io_teardown_all_transformers: Removing I/O transformer at index 0
[2025-02-24 09:04:16.017] DEBUG[9972]: io_tls.c:1025 ssl_close: Exiting without receiving close notify from peer
[2025-02-24 09:04:16.018] DEBUG[9972]: imap_client.c:864 imap_client_get: Set up new client connection for Other Users.gmail
[2025-02-24 09:04:16.035] DEBUG[9972]: socket.c:549 __bbs_tcp_connect: Attempting connection to 142.251.163.109:993
[2025-02-24 09:04:16.062] DEBUG[9972]: socket.c:586 __bbs_tcp_connect: Connected to imap.gmail.com:993 using port 33176
[2025-02-24 09:04:16.097] DEBUG[9972]: io_tls.c:977 ssl_client_new: TLS SN: /CN=imap.gmail.com
[2025-02-24 09:04:16.097] DEBUG[9972]: io_tls.c:984 ssl_client_new: TLS Issuer: /C=US/O=Google Trust Services/CN=WR2
[2025-02-24 09:04:16.097] DEBUG[9972]: io_tls.c:992 ssl_client_new: TLS verification successful 0x7f15d411a890
[2025-02-24 09:04:16.097] DEBUG[9481]: io_tls.c:495 ssl_io_thread: TLS session list has become stale since loop iteration began, rebuilding again...
[2025-02-24 09:04:16.097] DEBUG[9481]: io_tls.c:387 ssl_io_thread: Temporarily deferring rebuild of TLS session list
[2025-02-24 09:04:16.097] DEBUG[9972]: io.c:262 io_transform_store: Set up node I/O transformer at index 0
[2025-02-24 09:04:16.097] DEBUG[9972]: tcp.c:59 bbs_tcp_client_connect: Implicit TLS completed
[2025-02-24 09:04:16.100] DEBUG[9481]: io_tls.c:397 ssl_io_thread: Rebuilding TLS session list
[2025-02-24 09:04:16.100] DEBUG[9481]: io_tls.c:464 ssl_io_thread: SSL I/O thread still polling 27 fds
[2025-02-24 09:04:16.100] DEBUG[9481]: io_tls.c:397 ssl_io_thread: Rebuilding TLS session list
[2025-02-24 09:04:16.100] DEBUG[9481]: io_tls.c:464 ssl_io_thread: SSL I/O thread still polling 27 fds
[2025-02-24 09:04:16.137] DEBUG[9972]: mod_mail.c:1945 imap_client_login: 0x7f15d41187b8 <= * CAPABILITY IMAP4rev1 UNSELECT IDLE NAMESPACE QUOTA ID XLIST CHILDREN X-GM-EXT-1 XYZZY SASL-IR AUTH=XOAUTH2 AUTH=PLAIN AUTH=PLAIN-CLIENTTOKEN AUTH=OAUTHBEARER
[2025-02-24 09:04:16.137] DEBUG[9972]: mod_mail.c:1825 imap_client_parse_capabilities: Capabilities: IMAP4rev1 UNSELECT IDLE NAMESPACE QUOTA ID XLIST CHILDREN X-GM-EXT-1 XYZZY SASL-IR AUTH=XOAUTH2 AUTH=PLAIN AUTH=PLAIN-CLIENTTOKEN AUTH=OAUTHBEARER
[2025-02-24 09:04:16.137] DEBUG[9972]: mod_mail.c:1951 imap_client_login: 0x7f15d41187b8 <= a0 OK Thats all she wrote! pa33mb109762597qkn
[2025-02-24 09:04:18.640] DEBUG[9972]: readline.c:165 bbs_readline: bbs_poll_read returned 0
[2025-02-24 09:04:18.640] WARNING[9972]: mod_mail.c:2002 imap_client_login: No response from IMAP server imap.gmail.com:993?
[2025-02-24 09:04:18.640] DEBUG[9972]: imap_client.c:93 client_destroy: Destroying IMAP client Other Users.gmail
[2025-02-24 09:04:18.640] DEBUG[9972]: io.c:417 bbs_io_teardown_all_transformers: Removing I/O transformer at index 0
[2025-02-24 09:04:18.640] DEBUG[9972]: io_tls.c:1025 ssl_close: Exiting without receiving close notify from peer
[2025-02-24 09:04:18.642] DEBUG[9972]: imap_server_maildir.c:268 set_maildir_readonly: 0x7f15b47f75f0 <= 118 NO Remote server unavailable
[2025-02-24 09:04:18.642] WARNING[9971]: mod_webmail.c:340 client_status_basic: STATUS failed [34: MAILIMAP_ERROR_STATUS]: 118, Remote server unavailable
You must be
2/24/2025 7:01 PM — InterLinked
Autoresolved by code commit on GitHub:
mod_mail: Tolerate slower responses to LOGIN/AUTHENTICATE.
https://github.com/InterLinked1/lbbs/commit/030576e8fb585868a16f45fd1464565eb786b794