From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Glenn Morris Newsgroups: gmane.emacs.bugs Subject: bug#14367: 24.3; smtpmail-send-it starttls ignores the absence of starttls Date: Wed, 08 May 2013 03:13:17 -0400 Message-ID: References: <877gjaxer2.fsf@members.fsf.org> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: ger.gmane.org 1367997241 9998 80.91.229.3 (8 May 2013 07:14:01 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Wed, 8 May 2013 07:14:01 +0000 (UTC) Cc: 14367@debbugs.gnu.org To: sea Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Wed May 08 09:14:00 2013 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1UZyZc-0008BW-AN for geb-bug-gnu-emacs@m.gmane.org; Wed, 08 May 2013 09:14:00 +0200 Original-Received: from localhost ([::1]:55244 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UZyZb-00081u-PP for geb-bug-gnu-emacs@m.gmane.org; Wed, 08 May 2013 03:13:59 -0400 Original-Received: from eggs.gnu.org ([208.118.235.92]:47020) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UZyZY-00081o-E3 for bug-gnu-emacs@gnu.org; Wed, 08 May 2013 03:13:57 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1UZyZX-0007E4-Jg for bug-gnu-emacs@gnu.org; Wed, 08 May 2013 03:13:56 -0400 Original-Received: from debbugs.gnu.org ([140.186.70.43]:57648) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UZyZX-0007Dy-HS for bug-gnu-emacs@gnu.org; Wed, 08 May 2013 03:13:55 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.72) (envelope-from ) id 1UZyac-0000MJ-3h for bug-gnu-emacs@gnu.org; Wed, 08 May 2013 03:15:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Glenn Morris Original-Sender: debbugs-submit-bounces@debbugs.gnu.org Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Wed, 08 May 2013 07:15:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 14367 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 14367-submit@debbugs.gnu.org id=B14367.13679972691257 (code B ref 14367); Wed, 08 May 2013 07:15:02 +0000 Original-Received: (at 14367) by debbugs.gnu.org; 8 May 2013 07:14:29 +0000 Original-Received: from localhost ([127.0.0.1]:33524 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1UZya4-0000KD-Ah for submit@debbugs.gnu.org; Wed, 08 May 2013 03:14:29 -0400 Original-Received: from fencepost.gnu.org ([208.118.235.10]:46224) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1UZya1-0000Jz-BH for 14367@debbugs.gnu.org; Wed, 08 May 2013 03:14:26 -0400 Original-Received: from rgm by fencepost.gnu.org with local (Exim 4.71) (envelope-from ) id 1UZyYv-00054d-FI; Wed, 08 May 2013 03:13:17 -0400 X-Spook: rail gun Operation Iraqi Freedom electronic surveillance X-Ran: }JSO0h(\!u>;s1TXt4V2gl)z%{jN6I~=%=5AIkYYX~m$.mN#\.ln^gBtx?Bjn^do~5M$]D X-Hue: red X-Attribution: GM In-Reply-To: <877gjaxer2.fsf@members.fsf.org> (sea@members.fsf.org's message of "Wed, 08 May 2013 00:44:01 -0400") User-Agent: Gnus (www.gnus.org), GNU Emacs (www.gnu.org/software/emacs/) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.13 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x X-Received-From: 140.186.70.43 X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:74072 Archived-At: sea wrote: > I've just noticed that if smtpmail-send-it is configured to use > starttls, How did you do that, precisely? > and if gnutls-cli (or whatever tls client you use) is /not/ installed > on the system, then EMacs will go ahead and attempt to send the email > without TLS anyway, usually resulting in an authentication error. >From etc/NEWS: *** SMTPmail now uses encrypted connections (via STARTTLS) by default if the mail server supports them. This uses either built-in GnuTLS support, or the starttls.el library. Customize `smtpmail-stream-type' to change this. >From C-h v smtpmail-stream-type: smtpmail-stream-type is a variable defined in `smtpmail.el'. Its value is nil Documentation: Type of SMTP connections to use. This may be either nil (possibly upgraded to STARTTLS if possible), or `starttls' (refuse to send if STARTTLS isn't available), or `plain' (never use STARTTLS), or `ssl' (to use TLS/SSL). So maybe setting that to `starttls' will have the desired effect?