It was 24.2. I've now installed 24.4.1 and retried with the result
that emacs doesn't crash but it doesn't work either, this time with
the following messages in the Messages buffer:
Sending via mail...
gnutls.el: (err=[-64] Error while reading file.) boot: (:priority
NORMAL :hostname
smtp.gmail.com :loglevel 0 :min-prime-bits 256
:trustfiles (/usr/ssl/certs/ca-bundle.crt) :crlfiles nil :keylist nil
:verify-flags nil :verify-error nil :callbacks nil)
gnutls-negotiate: GnuTLS error: #<process smtpmail>, -64
Well, that 'Error while reading file' message looks suspicious, but
both gnutls.el and gnutls.elc seem to exist and be readable.
Trying with the original configuration (basically, without the
setq smtpmail-stream-type 'ssl
and using
setq smtpmail-smtp-service 587)
the following appears in the Messages buffer:
Sending via mail...
gnutls.el: (err=[-64] Error while reading file.) boot: (:priority
NORMAL :hostname
smtp.gmail.com :loglevel 0 :min-prime-bits 256
:trustfiles (/usr/ssl/certs/ca-bundle.crt) :crlfiles nil :keylist nil
:verify-flags nil :verify-error nil :callbacks nil)
530 5.7.0 Must issue a STARTTLS command first. 9sm4204471qgo.38 -
gsmtp
221 2.0.0 closing connection 9sm4204471qgo.38 - gsmtp
smtpmail-send-it: Sending failed: 530 5.7.0 Must issue a STARTTLS
command first. 9sm4204471qgo.38 - gsmtp
So it looks like there's a problem with gnutls.el, but I don't know
what.
--
Will