The openssl code is unmaintained [1] and I get errors about certificate verification failure on one of my emails ("TLS certificate verification failed: the certificate owner does not match hostname"). With gnutls everything works. [1] https://marlam.de/msmtp/news/openssl-discouraged