From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Stefan Monnier Newsgroups: gmane.emacs.devel Subject: Re: Opportunistic STARTTLS in smtpmail.el Date: Wed, 01 Jun 2011 11:39:59 -0300 Message-ID: References: <87liyofwxp.fsf@lifelogs.com> <874o5cfui5.fsf@lifelogs.com> <87liyndz5l.fsf@lifelogs.com> <87y61nnpoq.fsf@lifelogs.com> <87fwnuacc5.fsf@lifelogs.com> <878vtmo081.fsf@lifelogs.com> <87tycamhmv.fsf@lifelogs.com> <87pqmxvfoh.fsf@lifelogs.com> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: dough.gmane.org 1306939242 25682 80.91.229.12 (1 Jun 2011 14:40:42 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Wed, 1 Jun 2011 14:40:42 +0000 (UTC) To: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Wed Jun 01 16:40:39 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 1QRmb5-0008JT-WB for ged-emacs-devel@m.gmane.org; Wed, 01 Jun 2011 16:40:36 +0200 Original-Received: from localhost ([::1]:41753 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QRmb4-0007hW-3Q for ged-emacs-devel@m.gmane.org; Wed, 01 Jun 2011 10:40:34 -0400 Original-Received: from eggs.gnu.org ([140.186.70.92]:51681) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QRmab-0007cY-Tl for emacs-devel@gnu.org; Wed, 01 Jun 2011 10:40:10 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1QRmaZ-0002Lg-7S for emacs-devel@gnu.org; Wed, 01 Jun 2011 10:40:05 -0400 Original-Received: from fencepost.gnu.org ([140.186.70.10]:45161) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QRmaY-0002Lb-Uy for emacs-devel@gnu.org; Wed, 01 Jun 2011 10:40:03 -0400 Original-Received: from 121-249-126-200.fibertel.com.ar ([200.126.249.121]:6352 helo=ceviche.home) by fencepost.gnu.org with esmtpsa (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1QRmaY-0004Qi-9u; Wed, 01 Jun 2011 10:40:02 -0400 Original-Received: by ceviche.home (Postfix, from userid 20848) id 12B9F660DD; Wed, 1 Jun 2011 11:39:59 -0300 (ART) In-Reply-To: <87pqmxvfoh.fsf@lifelogs.com> (Ted Zlatanov's message of "Wed, 01 Jun 2011 08:34:22 -0500") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.0.50 (gnu/linux) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 3) X-Received-From: 140.186.70.10 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:140028 Archived-At: SM> One more thing: a user which has a ~/.authinfo.gpg but no unencrypted SM> ~/.netrc nor ~/.authinfo should not be prompted for a password (since SM> that would be very annoying, if in the end she doesn't need SM> authentication). > If the SMTP server requires authentication, how do we know > ~/.authinfo.gpg does NOT have the password we need? Exactly: we can only know if a var like smtpmail-use-auth tells us. SM> I really think that trying to avoid smtpmail-use-auth is ill-advised. > I'm not trying to avoid anything. AFAICT, the main drive (in this discussion) to introduce field-encryption within the unencrypted .netrc file is to avoid introducing a smtpmail-use-auth customization. And my point is that this customization is a necessary thing anyway. Maybe there are still other cases where field-encryption in the unencrypted file is worthwhile (I don't know of any), but that's a separate discussion. So can we add this smtpmail-use-auth, make smtpmail.el use opportunistic STARTTLS and move on? Stefan