I'm running Sonoma 14.2 on a brand new MacBook Pro and seeing the same error on one of my mail accounts from my ISP, who in turn uses Google email service. MacOS Mail connects to my Outlook and gmail accounts with no problem, but no go with connection to my ISP's mail (as I mentioned, also Google).
Odd thing is - neither Windows 11/Outlook for Windows on a VMware VM And Outlook Mac (Office 365) on my Mac have any trouble setting up this account.
Connection doctor shows for SMTP:
INITIATING CONNECTION Dec 19 15:24:40.074 host:smtp.telus.net -- port:0 -- socket:0x0 -- thread:0x6000007e6f80
and for IMAP (repeated 6 times over about 20 minutes):
INITIATING CONNECTION Dec 19 15:35:34.757 host:imap.telus.net -- port:0 -- socket:0x0 -- thread:0x600000770b80
Both attempted connections are to port 0, not the actual specified ports 465 and 993, and the setup of accounts does not offer much opportunity to tweak these settings.
Any thoughts ?