From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Ted Zlatanov Newsgroups: gmane.emacs.devel Subject: Re: open-network-stream problems on W32 Date: Mon, 02 May 2011 13:37:04 -0500 Organization: =?utf-8?B?0KLQtdC+0LTQvtGAINCX0LvQsNGC0LDQvdC+0LI=?= @ Cienfuegos Message-ID: <87d3k1uey7.fsf@lifelogs.com> References: <87ipvwl1nx.wl%claudio.bley@gmail.com> <87lj05svwh.fsf@lifelogs.com> <87bp11imgb.wl%claudio.bley@gmail.com> <8739mc5nes.fsf@lifelogs.com> <87ipuubao6.fsf@lifelogs.com> <87fwpjfkkz.fsf@lifelogs.com> <87bp072fb1.fsf@lifelogs.com> <874o5vimm5.fsf@lifelogs.com> <87zknjmcyk.fsf@lifelogs.com> <87sjta2zvp.fsf@lifelogs.com> <87liyzglkh.fsf@lifelogs.com> <4DB77682.1070605@gmail.com> <8762q04ba1.fsf@lifelogs.com> <4DB79419.3030001@gmail.com> <87pqo82uxo.fsf_-_@lifelogs.com> <4DB79CEB.3020002@gmail.com> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: dough.gmane.org 1304361447 10585 80.91.229.12 (2 May 2011 18:37:27 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Mon, 2 May 2011 18:37:27 +0000 (UTC) To: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Mon May 02 20:37:23 2011 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([140.186.70.17]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1QGxzm-000167-SK for ged-emacs-devel@m.gmane.org; Mon, 02 May 2011 20:37:23 +0200 Original-Received: from localhost ([::1]:43960 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QGxzm-0006Az-D9 for ged-emacs-devel@m.gmane.org; Mon, 02 May 2011 14:37:22 -0400 Original-Received: from eggs.gnu.org ([140.186.70.92]:56569) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QGxzh-000659-Tb for emacs-devel@gnu.org; Mon, 02 May 2011 14:37:18 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1QGxzg-0005bh-Uc for emacs-devel@gnu.org; Mon, 02 May 2011 14:37:17 -0400 Original-Received: from lo.gmane.org ([80.91.229.12]:50747) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QGxzg-0005ba-Iu for emacs-devel@gnu.org; Mon, 02 May 2011 14:37:16 -0400 Original-Received: from list by lo.gmane.org with local (Exim 4.69) (envelope-from ) id 1QGxzf-00012n-8Z for emacs-devel@gnu.org; Mon, 02 May 2011 20:37:15 +0200 Original-Received: from 38.98.147.130 ([38.98.147.130]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Mon, 02 May 2011 20:37:15 +0200 Original-Received: from tzz by 38.98.147.130 with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Mon, 02 May 2011 20:37:15 +0200 X-Injected-Via-Gmane: http://gmane.org/ Original-Lines: 38 Original-X-Complaints-To: usenet@dough.gmane.org X-Gmane-NNTP-Posting-Host: 38.98.147.130 X-Face: bd.DQ~'29fIs`T_%O%C\g%6jW)yi[zuz6; d4V0`@y-~$#3P_Ng{@m+e4o<4P'#(_GJQ%TT= D}[Ep*b!\e,fBZ'j_+#"Ps?s2!4H2-Y"sx" User-Agent: Gnus/5.110018 (No Gnus v0.18) Emacs/24.0.50 (gnu/linux) Cancel-Lock: sha1:LpvZwibrr3wwuLwL4ACxpBSV4LU= X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 3) X-Received-From: 80.91.229.12 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:138976 Archived-At: On Tue, 26 Apr 2011 22:34:51 -0600 Christoph Scholtes wrote: CS> Receiving mail with Gnus works. However, sending mail does still not work. CS> I get an SMTP protocol error (from *Messages* w/gnutls-log-level=1): CS> Sending via mail... CS> No STARTTLS program was available (tried 'gnutls-cli') CS> 220 mx.google.com ESMTP h74sm253108yhm.11 CS> 250-mx.google.com at your service, [...] CS> 250-SIZE 35882577 CS> 250-8BITMIME CS> 250-STARTTLS CS> 250 ENHANCEDSTATUSCODES CS> 530 5.7.0 Must issue a STARTTLS command first. h74sm253108yhm.11 CS> 221 2.0.0 closing connection h74sm253108yhm.11 CS> smtpmail-send-it: Sending failed; SMTP protocol error CS> Do you think this is related to GnuTLS? It should Just Work; you're never hitting the GnuTLS code and `smtpmail-send-it' is trying to use just the "gnutls-cli" command-line utility. `smtpmail-send-it' needs to be configured or fixed in code (probably the former). For me, I just (setq smtpmail-starttls-credentials '(("mysmtpserver.com" 587 nil nil))) and then put this line: machine mysmtpserver.com login tzz password mypassword in my ~/.authinfo.gpg. But my configuration has many layers so the above may need to be modified a bit and you need to dig into it or submit a bug if it still fails. Ted