unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: Phillip Lord <phillip.lord@newcastle.ac.uk>
Subject: Re: TLS smpt encryption
Date: Mon, 11 Sep 2006 15:42:39 +0100	[thread overview]
Message-ID: <u3bayo468.fsf@newcastle.ac.uk> (raw)
In-Reply-To: <87hczeijv5.fsf@latte.josefsson.org> (Simon Josefsson's message of "Mon, 11 Sep 2006 16:00:14 +0200")



>>>>> "SJ" == Simon Josefsson <jas@extundo.com> writes:


  SJ> I've seen it suggested that people have had success on Windows
  SJ> using the starttls binary instead of gnutls-cli.  But I don't
  SJ> really know what works under Windows, so I don't know how to
  SJ> improve things here.
  >> 
  >> The problem is with your process handling.
  >> 
  >> (signal-process (process-id process) 'SIGALRM)
  >> 
  >> wont work.

  SJ> Why not?  Wouldn't that a bug in NTEmacs?

  >> If you are using the cygwin gnutls, then this can be faked using
  >> "kill" directly, but NTEmacs cannot send this signal, at least to
  >> my knowledge.

  SJ> If "kill" can do it, then probably NTEmacs could too.  And
  SJ> NTEmacs probably should do that, especially if `signal-process'
  SJ> doesn't do anything useful at all under Windows.  However, some
  SJ> NTEmacs person should answer this.


No. "kill" in question is cygwin kill, which NTEmacs doesn't know
about. NTEmacs is a windows process, so only knows how to send windows
process signals. As far as I know, windows doesn't do SIGALRM -- I
could be wrong. I try not to get this close to the OS where ever
possible. 



  >> I might try starttls, but in general, its easier to have as few
  >> extraneous binaries as possible, hence the desire to use
  >> 
  >> If TLS is compatible with SSL, would it not possible to use the
  >> SSL binaries. As I say, the IMAP code works fine using SSL?

  SJ> IMAP uses the same library, starttls.el, as SMTP.  So they are
  SJ> already using the same tools.  Btw, IMAP uses TLS, strictly
  SJ> speaking.


No, I don't think you are right. From the Gnus/imap documentation. 

        * "tls:" Connect through TLS.  Requires GNUTLS (the program
          `gnutls-cli').

        * "ssl:" Connect through SSL.  Requires OpenSSL (the program
          `openssl') or SSLeay (`s_client').


So, I am using OpenSSL not tls, nor gnutls-cli to communicate with my
IMAP server. The communication layer works fine here. Certainly, my
imap connections worked fine without gnutls-cli being installed. 




  >> Yep. Once everwhere goes, I can no longer send email with
  >> emacs. I spent 6 months on outlook this year and the experience
  >> was, er, less than optimal, shall I say.

  SJ> Many people have migrated to SMTP over TLS with Emacs too, I
  SJ> remember writing the first support for this in Emacs around 2000
  SJ> to 2001 somewhere, and many used it successfully even back then.


Under windows?

Phil

      reply	other threads:[~2006-09-11 14:42 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-09-04 10:41 TLS smpt encryption Phillip Lord
2006-09-06  9:17 ` Simon Josefsson
2006-09-06 12:07   ` Phillip Lord
2006-09-11 14:00     ` Simon Josefsson
2006-09-11 14:42       ` Phillip Lord [this message]

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=u3bayo468.fsf@newcastle.ac.uk \
    --to=phillip.lord@newcastle.ac.uk \
    /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 public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

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).