Earthlink IMAP does not sync to Mailspring

Hello,
I am trying to sync earthlink mail via IMAP through Mailspring on Debian 10. It gives me this error: Connection Error - Unable to connect to the server / port you provided. (IMAP). How do I fix this?

“Unable to connect to the server / port you provided” means the TCP connection to the IMAP host never opened — Mailspring hadn’t gotten as far as TLS or your password yet. It’s almost always the host/port or something between you and the server, not the credentials.

Two things to check: first, the settings Mailspring fills in for EarthLink are imap.earthlink.net, port 993, SSL/TLS (and smtpauth.earthlink.net, port 587, STARTTLS for outgoing) — confirm those match what EarthLink currently lists for your account. Second, from a terminal on the same machine run openssl s_client -connect imap.earthlink.net:993; if that also hangs or is refused, a firewall, VPN, or DNS issue on the Debian box is blocking the port and no client setting will fix it. If it does connect there but not in Mailspring, grab the log via Finding sync logs and error details — Mailspring Documentation and post the IMAP section here.