From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: bxf4@u.washington.edu Newsgroups: gmane.emacs.help Subject: tls question Date: Fri, 05 Aug 2005 16:22:40 -0700 Organization: University of Washington Message-ID: NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1123284493 27821 80.91.229.2 (5 Aug 2005 23:28:13 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Fri, 5 Aug 2005 23:28:13 +0000 (UTC) Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Sat Aug 06 01:28:04 2005 Return-path: Original-Received: from lists.gnu.org ([199.232.76.165]) by ciao.gmane.org with esmtp (Exim 4.43) id 1E1Bax-00024x-0g for geh-help-gnu-emacs@m.gmane.org; Sat, 06 Aug 2005 01:27:19 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1E1Bdp-0004sN-6k for geh-help-gnu-emacs@m.gmane.org; Fri, 05 Aug 2005 19:30:17 -0400 Original-Path: shelby.stanford.edu!newsfeed.stanford.edu!logbridge.uoregon.edu!arclight.uoregon.edu!news.u.washington.edu!not-for-mail Original-Newsgroups: gnu.emacs.help Original-Lines: 73 Original-NNTP-Posting-Host: d-128-95-226-37.dhcp4.washington.edu Original-X-Trace: gnus01.u.washington.edu 1123284204 30548 128.95.226.37 (5 Aug 2005 23:23:24 GMT) Original-X-Complaints-To: help@cac.washington.edu Original-NNTP-Posting-Date: Fri, 5 Aug 2005 23:23:24 +0000 (UTC) User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.50 (darwin) Cancel-Lock: sha1:wA0Au+jAnPJZWPO/5QcRCjO2lY0= Original-Xref: shelby.stanford.edu gnu.emacs.help:132941 Original-To: help-gnu-emacs@gnu.org X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:28461 X-Report-Spam: http://spam.gmane.org/gmane.emacs.help:28461 Hello, After many days of trying, I have authenticated smtp working with my ISP's smtp servers, gnus, and smtpmail by using TLS via starttls.el. My question is how can I tell if TLS is actually working? My computer issues the STARTTLS command, but I don't see any of the handshake, etc. information that the starttls.el file shows. Here's the relevant part of my .emacs: (setq starttls-gnutls-program "/usr/local/bin/gnutls-cli" starttls-program nil starttls-use-gnutls t ;; doesn't seem to help here, maybe need to somehow route output to another buffer? ;; starttls-extra-arguments '("--debug" "1") smtpmail-starttls-credentials '(("smtp.isp.com" 587 nil nil))) As you can see, I tried to add the debug argument, but the smtp trace did not look any different. Please also note the final two nil arguments to smtpmail-starttls-credentials. I've seen this one the web, but I don't understand how TLS will work with the key and certificate. Is that part of the problem? Part of the trace follows. Thank you for any input you may have. 220 smtp.isp.com ESMTP Sendmail 8.13.4+UW05.04/8.13.4+UW05.07; Fri, 5 Aug 2005 14:23:34 -0700 Process SMTP killed EHLO dhcp.isp.com 250-smtp.isp.com Hello dhcp.isp.com [IP deleted], pleased to meet you 250-ENHANCEDSTATUSCODES 250-PIPELINING 250-EXPN 250-VERB 250-8BITMIME 250-SIZE 60000000 250-AUTH GSSAPI 250-STARTTLS 250-DELIVERBY 250 HELP STARTTLS 220 2.0.0 Ready to start TLS EHLO dhcp.isp.com 250-smtp.isp.com Hello dhcp.isp.com [IP deleted], pleased to meet you 250-ENHANCEDSTATUSCODES 250-PIPELINING [...] 050 >>> EHLO smtp.isp.com 050 250-mxout.isp.com Hello smtp.isp.com [IP deleted], pleased to meet you 050 250-ENHANCEDSTATUSCODES 050 250-PIPELINING 050 250-EXPN 050 250-VERB 050 250-8BITMIME 050 250-SIZE 60000000 050 250-ETRN 050 250-STARTTLS 050 250-DELIVERBY 050 250 HELP 050 >>> STARTTLS 050 220 2.0.0 Ready to start TLS 050 >>> EHLO smtp.isp.com [...] 250 2.0.0 j75LNYdv029427 Message accepted for delivery QUIT 221 2.0.0 smtp.isp.com closing connection - Peer has closed the GNUTLS connection