From: Will Parsons <varro@nodomain.invalid>
To: help-gnu-emacs@gnu.org
Subject: Re: sending mail using tls using Emacs under Windows
Date: 26 Mar 2015 20:57:48 GMT [thread overview]
Message-ID: <slrnmh8smc.2c6.varro@anukis.local> (raw)
In-Reply-To: mailman.2789.1427341026.31049.help-gnu-emacs@gnu.org
Eli Zaretskii wrote:
>> From: Will Parsons <varro@nodomain.invalid>
>> Date: 25 Mar 2015 21:12:40 GMT
>>
>> Sivaram Neelakantan wrote:
>> > On Tue, Mar 24 2015,Will Parsons wrote:
>> >
>> >
>> > (setq smtpmail-stream-type 'ssl)
>> > (setq smtpmail-smtp-server "smtp.gmail.com")
>> > (setq smtpmail-smtp-service 465)
>> > (setq smtpmail-debug-info t) ; only to debug problems set to t if needed
>> > (setq smtpmail-debug-verb t)
>> >
>> > with the usual entries in .authinfo works for me with Eli's gnutls
>> > binaries for GNU Emacs 24.4.1 (i686-pc-mingw32) of 2014-10-24 on LEG570
>>
>> Thanks for the suggestion, but including those settings result in
>> Emacs crashing, with a Windows pop-up message: "GNU Emacs: The
>> extensible self-documenting text editor has stopped working".
>
> In what version of Emacs? If that's 24.4, please report the crash as
> a bug with all the relevant details. If that's an older version, I
> suggest to install 24.4 (or 24.5, to be released in a few days).
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
next prev parent reply other threads:[~2015-03-26 20:57 UTC|newest]
Thread overview: 18+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-03-23 21:55 sending mail using tls using Emacs under Windows Will Parsons
2015-03-24 3:38 ` Eli Zaretskii
[not found] ` <mailman.2653.1427168330.31049.help-gnu-emacs@gnu.org>
2015-03-24 18:42 ` Will Parsons
2015-03-24 19:11 ` Eli Zaretskii
[not found] ` <mailman.2698.1427224337.31049.help-gnu-emacs@gnu.org>
2015-03-24 19:45 ` Will Parsons
2015-03-24 20:19 ` Eli Zaretskii
2015-03-25 17:43 ` Sivaram Neelakantan
[not found] ` <mailman.2755.1427305460.31049.help-gnu-emacs@gnu.org>
2015-03-25 21:12 ` Will Parsons
2015-03-26 3:36 ` Eli Zaretskii
[not found] ` <mailman.2789.1427341026.31049.help-gnu-emacs@gnu.org>
2015-03-26 20:57 ` Will Parsons [this message]
2015-03-27 6:55 ` Sivaram Neelakantan
2015-03-27 7:20 ` Eli Zaretskii
[not found] ` <mailman.2851.1427439324.31049.help-gnu-emacs@gnu.org>
2015-03-27 17:30 ` Will Parsons
[not found] ` <mailman.2852.1427440848.31049.help-gnu-emacs@gnu.org>
2015-03-27 17:40 ` Will Parsons
2015-03-27 19:02 ` Eli Zaretskii
[not found] ` <mailman.2897.1427482933.31049.help-gnu-emacs@gnu.org>
2015-03-27 19:37 ` Will Parsons
2015-03-27 19:52 ` Eli Zaretskii
2015-03-26 7:46 ` Q1999
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://www.gnu.org/software/emacs/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=slrnmh8smc.2c6.varro@anukis.local \
--to=varro@nodomain.invalid \
--cc=gyliamos@gmail.com \
--cc=help-gnu-emacs@gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).