George A. Theall via plug on 29 Aug 2024 12:20:23 -0700


[Date Prev] [Date Next] [Thread Prev] [Thread Next] [Date Index] [Thread Index]

Re: [PLUG] Email Encryption Problem


On Thu, Aug 29, 2024 at 11:25:29AM -0400, Casey Bralla via plug wrote:

So I've been building a Postfix/Dovecot system (no spam control or
anything fancy)

But I'm stuck on the encryption for STARTTLS

I've gotten certificates from Let's Encrypt, and also tried creating my
own self-signed certificates.  Everything looks ok, but when I try to
test STARTTLS encryption from a remote system, it shows me a valid
certificate, but then chokes with a "premature EOF" error.

# openssl s_client -starttls smtp -connect postfix.nerdworld.org:587

I believe this has something to do with version 3.x of OpenSSL, but
don't know what to do to make it work.  When I try to connect from
Thunderbird, I can get to the eMail account on the new server, but not
retrieve or send eMails.

Anybody got any ideas?

Does your mail log show anything odd during your testing?

Try the openssl s_client command again but with the '-debug' option. What does that report?

George
--
theall@tifaware.com
___________________________________________________________________________
Philadelphia Linux Users Group         --        http://www.phillylinux.org
Announcements - http://lists.phillylinux.org/mailman/listinfo/plug-announce
General Discussion  --   http://lists.phillylinux.org/mailman/listinfo/plug