InterLinked1 / lbbs

Lightweight BBS For Linux - Bulletin Board System server software
GNU General Public License v2.0
35 stars 4 forks source link

net_imap, net_smtp: Problems with Eudora 7.1.0.9 #7

Closed InterLinked1 closed 1 year ago

InterLinked1 commented 1 year ago

Some incompatibilities noted while testing the BBS email servers (IMAP and SMTP, but not POP), with Eudora 7.1.0.9 on Windows 7. SSL connections did not work at all out of the box for me so these are only with plain text connections.

I know Eudora hasn't been updated since 2006, but these are generally issues on the server side, not with the client.

Trying to get the mailbox structure (IMAP) - stuck in infinite loop until cancelled:

[2023-03-15 20:04:03.186]   DEBUG[1924800]: socket.c:669 bbs_std_poll: poll returned 1
[2023-03-15 20:04:03.186]   DEBUG[1924800]: utils.c:145 bbs_fd_readline: Read 24 bytes (24 just now), processing 22 and leaving 0 leftover
[2023-03-15 20:04:03.187]   DEBUG[1924800]: net_imap.c:2405 handle_client: 0x7fad9affc4b0 => 00146 LIST "" Drafts.%
[2023-03-15 20:04:03.187]   DEBUG[1924800]: net_imap.c:940 handle_list: LIST traversal for '' 'Drafts.%' => Drafts.%
[2023-03-15 20:04:03.187]   DEBUG[1924800]: net_imap.c:985 handle_list: 0x7fad9affc4b0 <= * LIST (\HasChildren) "." "Drafts"
[2023-03-15 20:04:03.187]   DEBUG[1924800]: net_imap.c:991 handle_list: 0x7fad9affc4b0 <= 00146 OK LIST completed.
[2023-03-15 20:04:03.416]   DEBUG[1924800]: socket.c:669 bbs_std_poll: poll returned 1
[2023-03-15 20:04:03.416]   DEBUG[1924800]: utils.c:145 bbs_fd_readline: Read 24 bytes (24 just now), processing 22 and leaving 0 leftover
[2023-03-15 20:04:03.416]   DEBUG[1924800]: net_imap.c:2405 handle_client: 0x7fad9affc4b0 => 00147 LIST "" Drafts.%
[2023-03-15 20:04:03.416]   DEBUG[1924800]: net_imap.c:940 handle_list: LIST traversal for '' 'Drafts.%' => Drafts.%
[2023-03-15 20:04:03.417]   DEBUG[1924800]: net_imap.c:985 handle_list: 0x7fad9affc4b0 <= * LIST (\HasChildren) "." "Drafts"
[2023-03-15 20:04:03.417]   DEBUG[1924800]: net_imap.c:991 handle_list: 0x7fad9affc4b0 <= 00147 OK LIST completed.
[2023-03-15 20:04:03.646]   DEBUG[1924800]: socket.c:669 bbs_std_poll: poll returned 1
[2023-03-15 20:04:03.646]   DEBUG[1924800]: utils.c:145 bbs_fd_readline: Read 24 bytes (24 just now), processing 22 and leaving 0 leftover
[2023-03-15 20:04:03.646]   DEBUG[1924800]: net_imap.c:2405 handle_client: 0x7fad9affc4b0 => 00148 LIST "" Drafts.%
[2023-03-15 20:04:03.646]   DEBUG[1924800]: net_imap.c:940 handle_list: LIST traversal for '' 'Drafts.%' => Drafts.%
[2023-03-15 20:04:03.646]   DEBUG[1924800]: net_imap.c:985 handle_list: 0x7fad9affc4b0 <= * LIST (\HasChildren) "." "Drafts"
[2023-03-15 20:04:03.646]   DEBUG[1924800]: net_imap.c:991 handle_list: 0x7fad9affc4b0 <= 00148 OK LIST completed.
[2023-03-15 20:04:03.875]   DEBUG[1924800]: socket.c:669 bbs_std_poll: poll returned 1
[2023-03-15 20:04:03.875]   DEBUG[1924800]: utils.c:145 bbs_fd_readline: Read 24 bytes (24 just now), processing 22 and leaving 0 leftover
[2023-03-15 20:04:03.875]   DEBUG[1924800]: net_imap.c:2405 handle_client: 0x7fad9affc4b0 => 00149 LIST "" Drafts.%
[2023-03-15 20:04:03.875]   DEBUG[1924800]: net_imap.c:940 handle_list: LIST traversal for '' 'Drafts.%' => Drafts.%
[2023-03-15 20:04:03.875]   DEBUG[1924800]: net_imap.c:985 handle_list: 0x7fad9affc4b0 <= * LIST (\HasChildren) "." "Drafts"
[2023-03-15 20:04:03.875]   DEBUG[1924800]: net_imap.c:991 handle_list: 0x7fad9affc4b0 <= 00149 OK LIST completed.
[2023-03-15 20:04:04.100]   DEBUG[1924800]: socket.c:669 bbs_std_poll: poll returned 1

Trying to send an email:

[2023-03-15 20:04:47.315]   DEBUG[1924787]: socket.c:457 __bbs_tcp_listener: Accepting new SMTP (MSA) connection from 10.55.3.84
[2023-03-15 20:04:47.315]   DEBUG[1924787]: socket.c:470 __bbs_tcp_listener: accepted fd = 33
[2023-03-15 20:04:47.315]   DEBUG[1924787]: node.c:271 __bbs_node_request: Allocated new node with ID 3
[2023-03-15 20:04:47.316]   DEBUG[1924816]: thread.c:84 thread_register: Thread 1924816 spawned from handler               started by thread 1924787 at socket.c:479 __bbs_tcp_listener()
[2023-03-15 20:04:47.317]   DEBUG[1924816]: node.c:1236 bbs_node_begin: Running BBS for node 3
[2023-03-15 20:04:47.317]    AUTH[1924816]: node.c:1237 bbs_node_begin: New SMTP (MSA) connection to node 3 from 10.55.3.84
[2023-03-15 20:04:47.318]   DEBUG[1924816]: net_smtp.c:1880 handle_client: 0x7fad9a7fbab0 <= 220 10.55.1.38 ESMTP Service Ready
[2023-03-15 20:04:47.332]   DEBUG[1924816]: socket.c:669 bbs_std_poll: poll returned 1
[2023-03-15 20:04:47.333]   DEBUG[1924816]: utils.c:145 bbs_fd_readline: Read 33 bytes (33 just now), processing 31 and leaving 0 leftover
[2023-03-15 20:04:47.333]   DEBUG[1924816]: net_smtp.c:1895 handle_client: 0x7fad9a7fbab0 => EHLO INTERLINKED-PC2.10.55.1.38
[2023-03-15 20:04:47.333]   DEBUG[1924816]: net_smtp.c:235 handle_helo: 0x7fad9a7fbab0 <= 250-10.55.1.38 at your service [10.55.3.84]
[2023-03-15 20:04:47.333]   DEBUG[1924816]: net_smtp.c:240 handle_helo: 0x7fad9a7fbab0 <= 250-SIZE 300000
[2023-03-15 20:04:47.333]   DEBUG[1924816]: net_smtp.c:244 handle_helo: 0x7fad9a7fbab0 <= 250 ENHANCEDSTATUSCODES
[2023-03-15 20:04:47.548]   DEBUG[1924816]: socket.c:669 bbs_std_poll: poll returned 1
[2023-03-15 20:04:47.548]   DEBUG[1924816]: utils.c:145 bbs_fd_readline: Read 6 bytes (6 just now), processing 4 and leaving 0 leftover
[2023-03-15 20:04:47.548]   DEBUG[1924816]: net_smtp.c:1895 handle_client: 0x7fad9a7fbab0 => RSET
[2023-03-15 20:04:47.549]   DEBUG[1924816]: net_smtp.c:1703 smtp_process: 0x7fad9a7fbab0 <= 250 2.1.5 Flushed
[2023-03-15 20:04:47.559]   DEBUG[1924816]: socket.c:669 bbs_std_poll: poll returned 1
[2023-03-15 20:04:47.560]   DEBUG[1924816]: utils.c:145 bbs_fd_readline: Read 36 bytes (36 just now), processing 34 and leaving 0 leftover
[2023-03-15 20:04:47.560]   DEBUG[1924816]: net_smtp.c:1895 handle_client: 0x7fad9a7fbab0 => MAIL FROM:<interlinked@10.55.1.38>
[2023-03-15 20:04:47.560]   DEBUG[1924816]: net_smtp.c:1753 smtp_process: 0x7fad9a7fbab0 <= 503 5.5.1 EHLO/HELO first.
[2023-03-15 20:04:47.572]   DEBUG[1924816]: socket.c:669 bbs_std_poll: poll returned 1
[2023-03-15 20:04:47.572]   DEBUG[1924816]: utils.c:145 bbs_fd_readline: Read 6 bytes (6 just now), processing 4 and leaving 0 leftover
[2023-03-15 20:04:47.572]   DEBUG[1924816]: net_smtp.c:1895 handle_client: 0x7fad9a7fbab0 => QUIT
[2023-03-15 20:04:47.572]   DEBUG[1924816]: net_smtp.c:1707 smtp_process: 0x7fad9a7fbab0 <= 221 2.0.0 Closing connection
[2023-03-15 20:04:47.572]   DEBUG[1924816]: net_smtp.c:1979 __msa_handler: Node 3 has ended its SMTP (MSA) session
[2023-03-15 20:04:47.572]   DEBUG[1924816]: node.c:445 node_shutdown: Terminating node 3
[2023-03-15 20:04:47.572]   DEBUG[1924816]: mod_events.c:52 event_cb: 86552 ms elapsed since last short session
[2023-03-15 20:04:47.572]   DEBUG[1924816]: event.c:130 bbs_event_broadcast: Event NODE_SHORT_SESSION dispatched and consumed
[2023-03-15 20:04:47.572]   DEBUG[1924816]: node.c:511 node_shutdown: Shutdown pending finalization for node 3
[2023-03-15 20:04:47.573]   DEBUG[1924816]: node.c:529 node_free: Node 3 now freed

Trying to download an email, with default configuration of downloading headers only when fetching messages:

[2023-03-15 20:06:24.334]   DEBUG[1924815]: socket.c:669 bbs_std_poll: poll returned 1
[2023-03-15 20:06:24.334]   DEBUG[1924815]: utils.c:145 bbs_fd_readline: Read 40 bytes (40 just now), processing 38 and leaving 0 leftover
[2023-03-15 20:06:24.334]   DEBUG[1924815]: net_imap.c:2405 handle_client: 0x7fad9affc4b0 => 00034 UID FETCH 23 (UID BODYSTRUCTURE)
[2023-03-15 20:06:24.335]   DEBUG[1924815]: net_imap.c:1678 process_fetch: 0x7fad9affc4b0 <= * 14 FETCH (UID 23)
[2023-03-15 20:06:24.335]   DEBUG[1924815]: net_imap.c:1687 process_fetch: 0x7fad9affc4b0 <= 00034 OK UID FETCH Completed