From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/60380 Path: news.gmane.org!not-for-mail From: Simon Josefsson Newsgroups: gmane.emacs.gnus.general Subject: Re: gnus and smtp auth Date: Tue, 31 May 2005 11:12:39 +0200 Message-ID: References: <87mzrokrnl.fsf@info.unicaen.fr> <7c7jhgxh63.fsf@nature.tsukuba.ac.jp> NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1117530782 22079 80.91.229.2 (31 May 2005 09:13:02 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Tue, 31 May 2005 09:13:02 +0000 (UTC) Cc: ding@gnus.org, Samir Saidani Original-X-From: ding-owner+M8907@lists.math.uh.edu Tue May 31 11:12:58 2005 Return-path: Original-Received: from malifon.math.uh.edu ([129.7.128.13]) by ciao.gmane.org with esmtp (Exim 4.43) id 1Dd2m7-0001y6-7r for ding-account@gmane.org; Tue, 31 May 2005 11:11:03 +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 1Dd2oG-0001bG-00; Tue, 31 May 2005 04:13:16 -0500 Original-Received: from util2.math.uh.edu ([129.7.128.23]) by malifon.math.uh.edu with esmtp (Exim 3.20 #1) id 1Dd2o4-0001bA-00 for ding@lists.math.uh.edu; Tue, 31 May 2005 04:13:04 -0500 Original-Received: from quimby.gnus.org ([80.91.224.244]) by util2.math.uh.edu with esmtp (Exim 4.30) id 1Dd2o1-00032C-9Z for ding@lists.math.uh.edu; Tue, 31 May 2005 04:13:01 -0500 Original-Received: from 178.230.13.217.in-addr.dgcsystems.net ([217.13.230.178] helo=yxa.extundo.com) by quimby.gnus.org with esmtp (Exim 3.35 #1 (Debian)) id 1Dd2nz-0003J5-00 for ; Tue, 31 May 2005 11:12:59 +0200 Original-Received: from latte.josefsson.org (c494102a.s-bi.bostream.se [217.215.27.65]) (authenticated bits=0) by yxa.extundo.com (8.13.4/8.13.4/Debian-1) with ESMTP id j4V9Cf8V009122 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK); Tue, 31 May 2005 11:12:42 +0200 Original-To: Hiroshi Fujishima OpenPGP: id=B565716F; url=http://josefsson.org/key.txt X-Hashcash: 1:21:050531:ding@gnus.org::LTpJV9Y0hAzS8MDY:2ElA X-Hashcash: 1:21:050531:hiroshi.fujishima@gmail.com::xmWQUyiHlyIkWhm5:3WS4 X-Hashcash: 1:21:050531:saidani@info.unicaen.fr::9JihwHJMi18ZdoYC:7b8f In-Reply-To: <7c7jhgxh63.fsf@nature.tsukuba.ac.jp> (Hiroshi Fujishima's message of "Tue, 31 May 2005 11:28:36 +0900") User-Agent: Gnus/5.110004 (No Gnus v0.4) Emacs/22.0.50 (gnu/linux) X-Spam-Status: No, score=0.1 required=5.0 tests=FORGED_RCVD_HELO autolearn=failed version=3.0.3 X-Spam-Checker-Version: SpamAssassin 3.0.3 (2005-04-27) on yxa-iv X-Virus-Scanned: ClamAV version 0.84, clamav-milter version 0.84e on yxa.extundo.com X-Virus-Status: Clean X-Spam-Score: -4.9 (----) Precedence: bulk Original-Sender: ding-owner@lists.math.uh.edu Xref: news.gmane.org gmane.emacs.gnus.general:60380 X-Report-Spam: http://spam.gmane.org/gmane.emacs.gnus.general:60380 Hiroshi Fujishima writes: > 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: Does sending mail work if you toggle s-p-c-t? It is not clear what the best default for that variable should be.