From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Peter Rayner Newsgroups: gmane.emacs.help Subject: smtpmail with tls hangs Date: Fri, 29 Aug 2008 14:20:53 +0200 Message-ID: <18615.59813.974307.529418@gargle.gargle.HOWL> Reply-To: peter.rayner@lsce.ipsl.fr NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1220015398 16692 80.91.229.12 (29 Aug 2008 13:09:58 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Fri, 29 Aug 2008 13:09:58 +0000 (UTC) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Fri Aug 29 15:10:51 2008 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1KZ3kY-0001Ou-H6 for geh-help-gnu-emacs@m.gmane.org; Fri, 29 Aug 2008 15:10:50 +0200 Original-Received: from localhost ([127.0.0.1]:39159 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KZ3ja-0006Dw-2O for geh-help-gnu-emacs@m.gmane.org; Fri, 29 Aug 2008 09:09:50 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1KZ2z7-0008PP-75 for help-gnu-emacs@gnu.org; Fri, 29 Aug 2008 08:21:49 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1KZ2z5-0008OT-8J for help-gnu-emacs@gnu.org; Fri, 29 Aug 2008 08:21:48 -0400 Original-Received: from [199.232.76.173] (port=48165 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KZ2z5-0008OQ-0b for help-gnu-emacs@gnu.org; Fri, 29 Aug 2008 08:21:47 -0400 Original-Received: from sainfoin-out.extra.cea.fr ([132.166.172.107]:53990) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1KZ2z4-0003gr-Mh for help-gnu-emacs@gnu.org; Fri, 29 Aug 2008 08:21:47 -0400 Original-Received: from cyclose1.extra.cea.fr (cyclose1.extra.cea.fr [132.167.198.22]) by sainfoin.extra.cea.fr (8.14.2/8.14.2/CEAnet-Internet-out-1.0) with ESMTP id m7TCLjfw028430 for ; Fri, 29 Aug 2008 14:21:45 +0200 Original-Received: from orpin1.extra.cea.fr (orpin1.extra.cea.fr [132.167.198.4]) by cyclose1.extra.cea.fr (8.13.8/8.13.8) with ESMTP id m7TCLi0j007070 for ; Fri, 29 Aug 2008 14:21:44 +0200 (envelope-from peter.rayner@lsce.ipsl.fr) Original-Received: from lsce5099 (idefix1.extra.cea.fr [132.166.43.200]) by orpin1.extra.cea.fr (8.13.8/8.13.8/CEAnet-Extranet-out-1.0) with ESMTP id m7TCLi5j015254 for ; Fri, 29 Aug 2008 14:21:44 +0200 X-Mailer: VM 8.0.5-504 under Emacs 22.1.1 (i386-redhat-linux-gnu) X-detected-kernel: by monty-python.gnu.org: Linux 2.6, seldom 2.4 (older, 4) X-Mailman-Approved-At: Fri, 29 Aug 2008 09:05:43 -0400 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:57098 This is under emacs-22.1 as provided on FC-8. Here is the relevant part of .emacs (setq smtpmail-smtp-server "myhost.mydomain") (setq smtpmail-smtp-service 465) (setq smtpmail-starttls-credentials '(("myhost.mydomain" 465 nil nil))) I have both gnutls-cli and starttls installed but have set starttls-use-gnutls true so it should be using gnutls-cli When I send a test message it hangs after the c-c c-c ... When I kill it with c-g and look at the *Messages* buffer I see Sending... Opening STARTTLS connection to `myhost.mydomain'...done opened connection ; this last message was an extra diagnostic I added in smtpmail.el The smtp trace buffer only contains the "quit" from the c-g. If I run, from the shell gnutls-cli myhost.mydomain -p 465 I get 220 myhost.mydomain ESMTP Postfix and typing EHLO myhost.mydomain elicits the usual smtp replies. Anyone have any ideas either on the problem or suggestions to track it further? cheers Peter -- Peter Rayner: LSCE/IPSL, Laboratoire CEA-CNRS-UVSQ address: Bat. 701 LSCE - CEA de Saclay Orme des Merisiers, 91191 Gif/Yvette work: +33 (1) 69 08 88 11; mobile: +33 (6) 75 46 56 52; fax: +33 (1) 69 08 77 16 mail-to: peter.rayner@lsce.ipsl.fr web: http://www-lsce.cea.fr/Pisp/52/peter.rayner.html