How to use port 465 ?

Mike Wright <[email protected]> Thu, 29 May 2025 15:37:19 -0700
Newsgroups gmane.mail.imap.courier.general
Message-ID <CABe7qOY0LuC-jf77MVdFD1_VxbW8pqKQ5Vk5vXu7N3HacVk66A@mail.gmail.com>
Greetings,

My new ISP blocks port 25 (hard block at network level; no overrides)
so I have to use 465 instead.  (I've never used port 465 before and
don't know anything about using it.)  Port 465 in the firewall has
been opened.  Mail client is Thunderbird.  SMTP settings are  465,
STARTTLS, no authentication.  Attempt to send mail eventually times
out with error :

(server nicname is OLI)  ...connection to Outgoing server (SMTP) OLI timed out

Two terminals opened 1) is running tcpdump -i eth0 port 465 ; 2) has
executed this script :
addcr | TLS_VERIFYPEER=NONE couriertls -host=<OLI> -port=465
-protocol=smtp -printx509=2  (found in email from Krystal back in Sep
2023).  /etc/courier/smtp/esmtpd-ssl has line #79 ESMTPD_LOG_DIALOG=1
but there is nothing showing in the journal or syslog.

1) shows connection established with SYN,SYN-ACK,ACK then nothing
until client gives up and server sends an F-ACK, P-ACK, F-ACK and
client responds with R, R.

2) produces no output for minutes then produces this cryptic output :
"select: No such file or directory"

But the server does respond ; telnet OLI 465 produces :
Connected to oli.
Escape character is '^]'.

No idea where to go from here.

Any pointers appreciated,
Mike Wright


_______________________________________________
courier-users mailing list
[email protected]
Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users