From: Joost Kremers <joostkremers@yahoo.com>
To: help-gnu-emacs@gnu.org
Subject: Re: smtpmail/starttls starts connection but never sends
Date: 14 Nov 2012 20:42:46 GMT [thread overview]
Message-ID: <slrnka80i6.enq.joostkremers@j.kremers4.news.arnhem.chello.nl> (raw)
In-Reply-To: 874nksanw7.fsf@gmail.com
Hi William,
William Gardella wrote:
> I wonder if you've tried playing around with the `tls-checktrust'
> variable. If you (setq tls-checktrust 'ask), you should be able to
> manually accept untrusted SSL/TLS keys by responding to a dialog in
> Emacs. Along with setting `tls-checktrust' to ask, you can set
> `tls-program' to have a command line that will allow you to call
> gnutls-cli with your own private list of certificates. For me here in
> Debian GNU/Linux, the following is a working TLS configuration that
> checks certs but also lets me use invalid/self-signed ones when I wish:
>
> (setq tls-checktrust 'ask
> tls-program
> '("gnutls-cli --x509cafile /etc/ssl/certs/ca-certificates.crt -p %p %h"
> "gnutls-cli --x509cafile /etc/ssl/certs/ca-certificates.crt -p %p %h --protocols ssl3"
> "openssl s_client -connect %h:%p -CAfile /etc/ssl/certs/ca-certificates.crt -no_ssl2 -ign_eof"))
I haven't been able to try this for the simple reason that I haven't
been able to find out where OS X stores its certificates...
> Maybe this will help you if gnutls --insecure is no longer working.
Well, right now, --insecure is the only thing that does work. What
puzzles me is that --tofu should also work, from what I read about it,
but it doesn't. The connection appears to be established, but the mail
is not sent and the connection remains open, it seems.
> If the above doesn't work, you can use strace or dtrace to see where in
> the TLS-calling process Emacs hangs. You can also try writing out an
> `open-network-stream' function call of your Emacs trying to talk to your
> mail server and stepping through it with (edebug-defun).
and how would I go about doing that? :-)
--
Joost Kremers joostkremers@yahoo.com
Selbst in die Unterwelt dringt durch Spalten Licht
EN:SiS(9)
next prev parent reply other threads:[~2012-11-14 20:42 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-11-13 20:30 smtpmail/starttls starts connection but never sends Joost Kremers
2012-11-14 3:01 ` William Gardella
2012-11-14 20:42 ` Joost Kremers [this message]
2012-11-14 23:26 ` Peter Dyballa
[not found] ` <mailman.12998.1352935577.855.help-gnu-emacs@gnu.org>
2012-11-16 8:14 ` Joost Kremers
2012-11-16 9:21 ` Peter Dyballa
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
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=slrnka80i6.enq.joostkremers@j.kremers4.news.arnhem.chello.nl \
--to=joostkremers@yahoo.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.
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.