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 14:00:32 -0500 Organization: =?utf-8?B?0KLQtdC+0LTQvtGAINCX0LvQsNGC0LDQvdC+0LI=?= @ Cienfuegos Message-ID: <87wri9szan.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> <87d3k1uey7.fsf@lifelogs.com> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: dough.gmane.org 1304363116 20829 80.91.229.12 (2 May 2011 19:05:16 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Mon, 2 May 2011 19:05:16 +0000 (UTC) To: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Mon May 02 21:05:12 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 1QGyQi-0000UX-JP for ged-emacs-devel@m.gmane.org; Mon, 02 May 2011 21:05:12 +0200 Original-Received: from localhost ([::1]:53105 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QGyQi-0004uR-2k for ged-emacs-devel@m.gmane.org; Mon, 02 May 2011 15:05:12 -0400 Original-Received: from eggs.gnu.org ([140.186.70.92]:33152) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QGyQf-0004uA-Ip for emacs-devel@gnu.org; Mon, 02 May 2011 15:05:10 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1QGyQe-0001ZX-Bi for emacs-devel@gnu.org; Mon, 02 May 2011 15:05:09 -0400 Original-Received: from lo.gmane.org ([80.91.229.12]:37574) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QGyQe-0001Z1-04 for emacs-devel@gnu.org; Mon, 02 May 2011 15:05:08 -0400 Original-Received: from list by lo.gmane.org with local (Exim 4.69) (envelope-from ) id 1QGyQc-0000Tn-Tt for emacs-devel@gnu.org; Mon, 02 May 2011 21:05:06 +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 21:05:06 +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 21:05:06 +0200 X-Injected-Via-Gmane: http://gmane.org/ Original-Lines: 44 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:IJ6rBLL76yllxZhJn1EGVRn0pSg= 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:138981 Archived-At: On Mon, 02 May 2011 13:37:04 -0500 Ted Zlatanov wrote: TZ> 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? TZ> It should Just Work; you're never hitting the GnuTLS code and TZ> `smtpmail-send-it' is trying to use just the "gnutls-cli" command-line TZ> utility. `smtpmail-send-it' needs to be configured or fixed in code TZ> (probably the former). TZ> For me, I just TZ> (setq smtpmail-starttls-credentials '(("mysmtpserver.com" 587 nil nil))) TZ> and then put this line: TZ> machine mysmtpserver.com login tzz password mypassword TZ> in my ~/.authinfo.gpg. But my configuration has many layers so the TZ> above may need to be modified a bit and you need to dig into it or TZ> submit a bug if it still fails. Hmm, I just saw that STARTTLS is not implemented yet in Lars' message earlier last week. So you need to either use port 587 (where SSL is required), or ask Lars in that other thread to implement STARTTLS for smtpmail.el :) Sorry for confusing you, I got confused myself. Ted