From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED.blaine.gmane.org!not-for-mail From: Lars Ingebrigtsen Newsgroups: gmane.emacs.devel Subject: Re: master 6216c7a: Allow specifying that SMTP auth should always be used Date: Fri, 26 Jul 2019 14:07:18 +0200 Message-ID: References: <20190726101658.4938.74351@vcs0.savannah.gnu.org> <20190726101700.307C020C06@vcs0.savannah.gnu.org> Mime-Version: 1.0 Content-Type: text/plain Injection-Info: blaine.gmane.org; posting-host="blaine.gmane.org:195.159.176.226"; logging-data="251074"; mail-complaints-to="usenet@blaine.gmane.org" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.0.50 (gnu/linux) To: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Fri Jul 26 14:13:31 2019 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([209.51.188.17]) by blaine.gmane.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.89) (envelope-from ) id 1hqz6J-0013C6-Fc for ged-emacs-devel@m.gmane.org; Fri, 26 Jul 2019 14:13:31 +0200 Original-Received: from localhost ([::1]:39442 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.86_2) (envelope-from ) id 1hqz6I-0007vs-40 for ged-emacs-devel@m.gmane.org; Fri, 26 Jul 2019 08:13:30 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:33241) by lists.gnu.org with esmtp (Exim 4.86_2) (envelope-from ) id 1hqz0S-0003SY-QT for emacs-devel@gnu.org; Fri, 26 Jul 2019 08:07:30 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1hqz0Q-0004OL-He for emacs-devel@gnu.org; Fri, 26 Jul 2019 08:07:28 -0400 Original-Received: from quimby.gnus.org ([80.91.231.51]:55094) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1hqz0Q-00048g-9W for emacs-devel@gnu.org; Fri, 26 Jul 2019 08:07:26 -0400 Original-Received: from cm-84.212.202.86.getinternet.no ([84.212.202.86] helo=stories) by quimby.gnus.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.89) (envelope-from ) id 1hqz0J-00067b-4G for emacs-devel@gnu.org; Fri, 26 Jul 2019 14:07:21 +0200 Face: iVBORw0KGgoAAAANSUhEUgAAADAAAAAwBAMAAAClLOS0AAAAHlBMVEVDGyaAYHwTBgbAxJhV LjttRVJyk3cmCg+HgY+FcZBdBBhlAAACa0lEQVQ4jXWSQW/aQBCFp41d99iVcAW3FKXyGW2DODrN OunRlj2E3Fo5rNobRaA9o6jIOVoKEvtv+9Y2pEjpYBnv+3bezI5Nw/8EDYurImXy2E+4uFC8fs+f fs96X2kYe4G5oIUhouh8ZYZR9Ha4RIZPpFRgjrHK+mM5lnMqSDHfwjSC6szzspRSaoJ7A5xuYDH0 iJIGZHOeApgDQBgfwM81T+9OQbSWkjgfa512wHTABwhfAStUp40D30+sViUaBpBj/dCCdv/5tHRd 5Tnu8yXaPUzpsy6l1vQtl6W+Xf4zvrWWMCEFcBe1zTRncGAMKy+XD+aYEOHxRo/xI5qOOr0birnR 2tVQ00MBB5ZmuZg6HSA9DAixMA44XROnB31BLsy61C2YB52uvIRiCla6BVrPe0rdrhNib/YHL9M7 ApeaUqLChDnhwD8FEP+wEFwE747ARQ/vNwQIi84J4KP+ZfUzC5exCYt11YEfQoiB3QFsuL/hdFFt WyDCDEgkWTbiLOQ46G9/bre1IC4UCjsgGmBm26dBzQqfoQtIiIxVbD70Q2zuAAssCoZAq2fl/tyH m3A2qGv37BcxrXcMU2TAAF1ZG2OLG+JZLe5tLZhcS9BtTyUKJYPH2q3RVXMMxK6pQ748AtvGE0oi 41pCxFJQp9uK4wRdysmTtbCoG1Bbu6/cVOJrOZk0a/sCviScerIFgw44p2oUq+AMn3llG68XICc9 ugLYu9ItcHv2lZQj5scW1HbQgAoXQBgWeWtVt+3uqwrXo7wMi66GtVkHKgdG4Rt09Qq45LxtF3F/ AlwJWVU4+/4E7HqzBjQn+QsE/G/hesyz/wAAAABJRU5ErkJggg== In-Reply-To: (Robert Pluim's message of "Fri, 26 Jul 2019 13:56:48 +0200") X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 80.91.231.51 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.23 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" Xref: news.gmane.org gmane.emacs.devel:238925 Archived-At: Robert Pluim writes: > If the user can customize smtpmail-servers-requiring-authorization, > then they can also add an appropriate entry to .authinfo to make > smtpmail do authentication, so why is such a variable needed? smtpmail always tries first without auth, and then starts looking around for credentials if the SMTP servers says "give me credentials". We could make it start sending credentials immediately if there's an .authinfo entry, but that'd be a behaviour change, and the user may have specified just "machine my.mail.host" for (for instance) IMAP usage, and there's no auth on SMTP, in which case the SMTP server may deny the connection. And besides, the user may be typing in the credentials and not using .authinfo. -- (domestic pets only, the antidote for overdose, milk.) bloggy blog: http://lars.ingebrigtsen.no