Re: Issue with SMTP

Kazuhiro Ito <[email protected]> Sun, 02 Jun 2019 08:27:08 +0900
Newsgroups gmane.mail.wanderlust.general
Message-ID <86woi4q437.wl--xmue__18570.9487459221$1559431717$gmane$org@d1.dion.ne.jp>
Probably gnutls-cli's output has been changed.  Please add below code
into ~/.wl

(setq starttls-success "- Options: ")

FYI, starttls.el says as below
> (defcustom starttls-success "- Compression: "
>   "Regular expression indicating completed TLS handshakes.
> The default is what GnuTLS's \"gnutls-cli\" outputs."
>   ;; GnuTLS cli.c:do_handshake() calls, on success,
>   ;; common.c:print_info(), that unconditionally print this string
>   ;; last.  If that logic, or the string itself, is modified, this
>   ;; must be updated.

Or, enable built-in GnuTLS support of Emacs and use it.  You use
gnutls-cli program for STARTTLS connection, but this feature (tls.el
and starttls.el) has been obsolete in trunk.

Cf. http://git.savannah.gnu.org/cgit/emacs.git/commit/lisp/obsolete?id=97d5d1a1f4790f959d1bee64e552b492103eddbe

> I have an issue with sending mails. I noticed in March that wanderlust 
> with  EMACS 25 did not work after upgrading to gnutls 3.6.6 (gentoo 
> linux system, stable). I downgraded to gnutls 3.5.19 and was back in 
> business.
> 
> This weekend I upgraded to Emacs 26 and gnutls 3.6.6 and the same error 
> appeared. Here is the trace of the SMTP session:
> 
(snip)
> - Certificate[1] info:
>   - subject `CN=DigiCert Cloud Services CA-1,O=DigiCert Inc,C=US', 
> issuer `CN=DigiCert Global Root CA,OU=www.digicert.com,O=DigiCert 
> Inc,C=US', serial 0x019ec1c6bd3f597bb20c3338e551d877, RSA key 2048 bits, 
> signed using RSA-SHA256, activated `2015-08-04 12:00:00 UTC', expires 
> `2030-08-04 12:00:00 UTC', 
> pin-sha256="UgpUVparimk8QCjtWQaUQ7EGrtrykc/L8N66EhFY3VE="
> - Status: The certificate is trusted.
> - Successfully sent 0 certificate(s) to server.
> - Description: (TLS1.2)-(ECDHE-SECP256R1)-(RSA-SHA256)-(AES-256-GCM)
> - Session ID: 
> 6A:0B:00:00:0D:A7:D1:90:C5:83:46:25:F5:88:26:B2:E9:E5:3B:92:43:AA:65:49:4E:81:AC:B5:58:0F:08:82
> - Options: extended master secret, safe renegotiation, OCSP status request,
> QUIT

-- 
Kazuhiro Ito