From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Lars Magne Ingebrigtsen Newsgroups: gmane.emacs.devel Subject: Re: Problems with new smtpmail Date: Wed, 06 Jul 2011 18:25:42 +0200 Organization: Programmerer Ingebrigtsen Message-ID: References: <87wrfwrxiu.fsf@wanadoo.es> <87k4bvo183.fsf@wanadoo.es> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit X-Trace: dough.gmane.org 1309970593 15343 80.91.229.12 (6 Jul 2011 16:43:13 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Wed, 6 Jul 2011 16:43:13 +0000 (UTC) To: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Wed Jul 06 18:43:09 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 1QeVBp-00083k-0X for ged-emacs-devel@m.gmane.org; Wed, 06 Jul 2011 18:43:05 +0200 Original-Received: from localhost ([::1]:33532 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QeVBo-0006di-3i for ged-emacs-devel@m.gmane.org; Wed, 06 Jul 2011 12:43:04 -0400 Original-Received: from eggs.gnu.org ([140.186.70.92]:49522) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QeUvF-0002Rl-GN for emacs-devel@gnu.org; Wed, 06 Jul 2011 12:26:03 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1QeUvD-0006Xa-Ci for emacs-devel@gnu.org; Wed, 06 Jul 2011 12:25:57 -0400 Original-Received: from lo.gmane.org ([80.91.229.12]:40934) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QeUvD-0006XV-56 for emacs-devel@gnu.org; Wed, 06 Jul 2011 12:25:55 -0400 Original-Received: from list by lo.gmane.org with local (Exim 4.69) (envelope-from ) id 1QeUvB-0007wT-SN for emacs-devel@gnu.org; Wed, 06 Jul 2011 18:25:53 +0200 Original-Received: from cm-84.215.51.58.getinternet.no ([84.215.51.58]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Wed, 06 Jul 2011 18:25:53 +0200 Original-Received: from larsi by cm-84.215.51.58.getinternet.no with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Wed, 06 Jul 2011 18:25:53 +0200 X-Injected-Via-Gmane: http://gmane.org/ Mail-Followup-To: emacs-devel@gnu.org Original-Lines: 24 Original-X-Complaints-To: usenet@dough.gmane.org X-Gmane-NNTP-Posting-Host: cm-84.215.51.58.getinternet.no Mail-Copies-To: never X-Now-Playing: Demdike Stare's _Tryptych (3): Voices Of Dust_: "Hashshashin Chant" User-Agent: Gnus/5.110018 (No Gnus v0.18) Emacs/24.0.50 (gnu/linux) Cancel-Lock: sha1:HHI6AzKYNdF5r4VYYLD9tLeb1gs= 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:141663 Archived-At: Óscar Fuentes writes: > It's smtp.telefonica.net, in case you are curious. Ah, right. I see it announces both AUTH and STARTTLS, which is somewhat unusual, I think. Anyway, the fail-if-STARTTLS-isn't-possible-but-announced was only a "fail early" kind of thing, where we wouldn't try to do a MAIL FROM, and get an error message from that, if the server had announced STARTTLS. Hm... But! If the server announces STARTTLS (but not AUTH), and we don't have STARTTLS, and we do a MAIL FROM, and it says "nope", then we could error out with "You need STARTTLS to talk to this server" instead "The server doesn't let you talk". It's only a case of giving the user a better error message -- it'll fail anyway. -- (domestic pets only, the antidote for overdose, milk.) bloggy blog http://lars.ingebrigtsen.no/