From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Will Parsons Newsgroups: gmane.emacs.help Subject: Re: sending mail using tls using Emacs under Windows Date: 27 Mar 2015 17:30:13 GMT Message-ID: References: Reply-To: gyliamos@gmail.com NNTP-Posting-Host: plane.gmane.org X-Trace: ger.gmane.org 1427477726 5190 80.91.229.3 (27 Mar 2015 17:35:26 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Fri, 27 Mar 2015 17:35:26 +0000 (UTC) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Fri Mar 27 18:35:26 2015 Return-path: Envelope-to: geh-help-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 1YbYAA-0007Eo-20 for geh-help-gnu-emacs@m.gmane.org; Fri, 27 Mar 2015 18:35:18 +0100 Original-Received: from localhost ([::1]:51180 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YbYA9-00063S-9U for geh-help-gnu-emacs@m.gmane.org; Fri, 27 Mar 2015 13:35:17 -0400 Original-Path: usenet.stanford.edu!fu-berlin.de!uni-berlin.de!individual.net!not-for-mail Original-Newsgroups: gnu.emacs.help Original-Lines: 29 Original-X-Trace: individual.net jz1Lq1+KxU9orpQ70ybTwwUN+2Puwoel9WRWrne9h66Jqkbty6 Cancel-Lock: sha1:GJedzQQmlmeG5coiOt3lKYQFT8k= User-Agent: slrn/1.0.2 (FreeBSD) Original-Xref: usenet.stanford.edu gnu.emacs.help:211117 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:103399 Archived-At: Sivaram Neelakantan wrote: > On Thu, Mar 26 2015,Will Parsons wrote: > >> Sending via mail... >> gnutls.el: (err=[-64] Error while reading file.) boot: (:priority >> NORMAL :hostname smtp.gmail.com :loglevel 0 :min-prime-bits 256 >> :trustfiles (/usr/ssl/certs/ca-bundle.crt) :crlfiles nil :keylist nil >> :verify-flags nil :verify-error nil :callbacks nil) >> 530 5.7.0 Must issue a STARTTLS command first. 9sm4204471qgo.38 - >> gsmtp >> 221 2.0.0 closing connection 9sm4204471qgo.38 - gsmtp >> smtpmail-send-it: Sending failed: 530 5.7.0 Must issue a STARTTLS >> command first. 9sm4204471qgo.38 - gsmtp >> >> >> So it looks like there's a problem with gnutls.el, but I don't know >> what. > > I have this too that I missed as part of my configuration lines that > I sent. > > (setq gnutls-trustfiles '("c:/cygwin/usr/ssl/certs/ca-bundle.trust.crt" "c:/cygwin/usr/ssl/certs/ca-bundle.crt")) > > Does setting this explicitly work? Yes it does! -- Will