From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/60377 Path: news.gmane.org!not-for-mail From: Hiroshi Fujishima Newsgroups: gmane.emacs.gnus.general Subject: Re: gnus and smtp auth Date: Tue, 31 May 2005 11:28:36 +0900 Message-ID: <7c7jhgxh63.fsf@nature.tsukuba.ac.jp> References: <87mzrokrnl.fsf@info.unicaen.fr> NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1117506574 32605 80.91.229.2 (31 May 2005 02:29:34 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Tue, 31 May 2005 02:29:34 +0000 (UTC) Cc: ding@gnus.org Original-X-From: ding-owner+M8904@lists.math.uh.edu Tue May 31 04:29:32 2005 Return-path: Original-Received: from malifon.math.uh.edu ([129.7.128.13]) by ciao.gmane.org with esmtp (Exim 4.43) id 1DcwUv-00028Q-Tg for ding-account@gmane.org; Tue, 31 May 2005 04:28:54 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.math.uh.edu ident=lists) by malifon.math.uh.edu with smtp (Exim 3.20 #1) id 1DcwUz-0000uQ-00; Mon, 30 May 2005 21:28:57 -0500 Original-Received: from util2.math.uh.edu ([129.7.128.23]) by malifon.math.uh.edu with esmtp (Exim 3.20 #1) id 1DcwUq-0000uI-00 for ding@lists.math.uh.edu; Mon, 30 May 2005 21:28:48 -0500 Original-Received: from quimby.gnus.org ([80.91.224.244]) by util2.math.uh.edu with esmtp (Exim 4.30) id 1DcwUp-00085w-6X for ding@lists.math.uh.edu; Mon, 30 May 2005 21:28:47 -0500 Original-Received: from wproxy.gmail.com ([64.233.184.203]) by quimby.gnus.org with esmtp (Exim 3.35 #1 (Debian)) id 1DcwUm-0007FD-00 for ; Tue, 31 May 2005 04:28:45 +0200 Original-Received: by wproxy.gmail.com with SMTP id 58so2407824wri for ; Mon, 30 May 2005 19:28:43 -0700 (PDT) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:from:to:cc:subject:in-reply-to:references:user-agent:date:message-id:mime-version:content-type; b=RQ5yHC/eRqKhMrqt0KLruqnGJjw93f5JsrX82TTwedOMbujlXROF+jTlJvwThmt8J+eW1VXDK3Tt8tCngj2hBoM6OX1q8NFdV/vckJdlCNWT5V7SnhRWWIZO/9vcV5w0DjrTlhAGDwElYvL1U/dc0c0P8RCT9Isn60y2rxCcxZk= Original-Received: by 10.54.57.9 with SMTP id f9mr6089295wra; Mon, 30 May 2005 19:28:43 -0700 (PDT) Original-Received: from alex ([130.158.38.234]) by mx.gmail.com with ESMTP id 6sm850668wrl.2005.05.30.19.28.42; Mon, 30 May 2005 19:28:43 -0700 (PDT) Original-To: Samir Saidani In-Reply-To: <87mzrokrnl.fsf@info.unicaen.fr> (Samir Saidani's message of "Sun, 24 Apr 2005 19:31:42 +0200") User-Agent: Gnus/5.110004 (No Gnus v0.4) Emacs/22.0.50 (usg-unix-v) X-Spam-Score: -4.9 (----) Precedence: bulk Original-Sender: ding-owner@lists.math.uh.edu Xref: news.gmane.org gmane.emacs.gnus.general:60377 X-Report-Spam: http://spam.gmane.org/gmane.emacs.gnus.general:60377 Samir Saidani writes: > I managed to send mail through smtpmail and without authentification > with no problems, and I can send mails through smtpmail with > authentification using gmail (I tried the .gnus here : > http://web.phys.ntnu.no/~terjeros/gnus-gmail/) > > When I replace the .gnus configuration (from terjeros) with the right > settings, it hangs and there is nothing in smtp debug. I encountered the same trouble, too. In the cause, the behavior of gnutls-cli is of change according to the value of process-connection-type: (let ((process-connection-type t)) (start-process "test" (current-buffer) "gnutls-cli" "-s" "-p" "587" "smtp.gmail.com")) Resolving 'smtp.gmail.com'... Connecting to '64.233.185.109:587'... - Simple Client Mode: 220 mx.gmail.com ESMTP d61sm300512wra (let ((process-connection-type nil)) (start-process "test" (current-buffer) "gnutls-cli" "-s" "-p" "587" "smtp.gmail.com")) 220 mx.gmail.com ESMTP 33sm823777wra Since default value of starttls-process-connection-type is nil, starttls-connect regexp in starttls-open-stream-gnutls() does not match. So emacs hangs. Gnutls version which I use is: % gnutls-cli --version GNU TLS test client, version 1.2.4. Libgnutls 1.2.4. -- Hiroshi Fujishima