You are not logged in.

#1 2022-11-29 15:48:35

zappathustra
Member
Registered: 2014-06-15
Posts: 28

[SOLVED] SSL error when sending email with Mutt.

Hello there,

Since yesterday, every time I've tried to send an email with Mutt, it has sent nothing and complained instead with:

SSL a échoué : error:0A0C0103:SSL routines::internal error

("SSL a échoué" means "SSL has failed".)

I've searched Duckduckgo, the Mutt fleapage and mailing lists, and I've come up with next to nothing. The Arch forums mention SSL and the error code occasionally, but in relation to other stuff and I can't see how it relates to my problem. (Disclaimer: I'm a newbie total incompetent in SSL.)

I've tried downgrading lib32-openssl (don't ask me why), it did nothing. So I downgraded Mutt but it complained about a missing library. I tried downgrading openssl but it breaks to many things, and I'm at the end of my skills so I put everything back up to date but I still can't send emails.

Any idea?

Thanks,
Paul

Last edited by zappathustra (2022-11-29 21:21:57)

Offline

#2 2022-11-29 16:38:39

seth
Member
Registered: 2012-09-03
Posts: 49,992

Re: [SOLVED] SSL error when sending email with Mutt.

"SSL a échoué" means "SSL has failed".

LC_ALL=C mutt

don't ask me why

Instead I'm just gonna tell you that that's pointless - mutt isn't a 32bit binary.

pacman -Qs 'mutt|openssl'

Offline

#3 2022-11-29 16:44:02

loqs
Member
Registered: 2014-03-06
Posts: 17,196

Re: [SOLVED] SSL error when sending email with Mutt.

Offline

#4 2022-11-29 20:19:13

zappathustra
Member
Registered: 2014-06-15
Posts: 28

Re: [SOLVED] SSL error when sending email with Mutt.

seth wrote:

"SSL a échoué" means "SSL has failed".

LC_ALL=C mutt

Thanks but it doesn't change anything, except now it says "SSL failed", and I've nothing against my computer speaking French!

seth wrote:

Instead I'm just gonna tell you that that's pointless - mutt isn't a 32bit binary.

It did seem stupid indeed.

Offline

#5 2022-11-29 20:24:28

seth
Member
Registered: 2012-09-03
Posts: 49,992

Re: [SOLVED] SSL error when sending email with Mutt.

except now it says "SSL failed"

I had hoped for some bit more elaborate error description that got lost in translation hmm

What is the output of "pacman -Qs 'mutt|openssl'" and did you see the openssl "issue" that loqs linked, notably https://github.com/openssl/openssl/issu … -865863885 ?

Offline

#6 2022-11-29 20:40:20

zappathustra
Member
Registered: 2014-06-15
Posts: 28

Re: [SOLVED] SSL error when sending email with Mutt.

seth wrote:

What is the output of "pacman -Qs 'mutt|openssl'"

local/lib32-openssl 1:3.0.7-1
    The Open Source toolkit for Secure Sockets Layer and Transport Layer Security (32-bit)
local/libevent 2.1.12-4
    Event notification library
local/mutt 2.2.9-1
    Small but very powerful text-based mail client
local/notmuch-mutt 0.37-2
    The mail indexer
local/notmuch-runtime 0.37-2
    Runtime for notmuch and notmuch-mutt
local/openssl 3.0.7-2
    The Open Source toolkit for Secure Sockets Layer and Transport Layer Security
local/xmlsec 1.2.36-2
    XML Security Library is a C library based on LibXML2
seth wrote:

and did you see the openssl "issue" that loqs linked, notably https://github.com/openssl/openssl/issu … -865863885 ?

Yes, and it does seem relevant, except it's Chinese to me (but thanks loqs), so I'm reading the OpenSSL page on the Arch wiki.

Offline

#7 2022-11-29 20:48:37

loqs
Member
Registered: 2014-03-06
Posts: 17,196

Re: [SOLVED] SSL error when sending email with Mutt.

As a test create /tmp/openssl.cnf with the contents

openssl_conf = default_conf

[default_conf]
ssl_conf = ssl_sect

[ssl_sect]
system_default = system_default_sect

[system_default_sect]
MinProtocol = TLSv1
CipherString = DEFAULT:@SECLEVEL=0

Then try

OPENSSL_CONF=/tmp/openssl.cnf mutt

Last edited by loqs (2022-11-29 20:49:10)

Offline

#8 2022-11-29 21:21:14

zappathustra
Member
Registered: 2014-06-15
Posts: 28

Re: [SOLVED] SSL error when sending email with Mutt.

loqs wrote:

As a test create /tmp/openssl.cnf with the contents
(...) Then try

OPENSSL_CONF=/tmp/openssl.cnf mutt

That works. I'll find where to put the conf file tomorrow for a durable result, but I got the idea.
Thanks!

EDIT: So I've just put loqs's code at the top of /etc/ssl/openssl.cnf and it works. Yet, that file already has the line:

openssl_conf = openssl_init

I hope this won't create any conflict? (Oh I'd love to read the OpenSSL config manual to answer that question but time is so sparse and everything works right now, so I just leave it as an open question.)

Last edited by zappathustra (2022-12-01 11:20:15)

Offline

Board footer

Powered by FluxBB