From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Sivaram Neelakantan Newsgroups: gmane.emacs.help Subject: Re: sending mail using tls using Emacs under Windows Date: Fri, 27 Mar 2015 12:25:05 +0530 Message-ID: <878uej7wvq.fsf@gmail.com> References: NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: ger.gmane.org 1427439360 22999 80.91.229.3 (27 Mar 2015 06:56:00 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Fri, 27 Mar 2015 06:56:00 +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 07:55:52 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 1YbOBC-0005Je-VA for geh-help-gnu-emacs@m.gmane.org; Fri, 27 Mar 2015 07:55:43 +0100 Original-Received: from localhost ([::1]:47915 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YbOBC-0008HG-Da for geh-help-gnu-emacs@m.gmane.org; Fri, 27 Mar 2015 02:55:42 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:40781) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YbOAq-0008Gy-8Y for help-gnu-emacs@gnu.org; Fri, 27 Mar 2015 02:55:22 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1YbOAn-0004sR-9z for help-gnu-emacs@gnu.org; Fri, 27 Mar 2015 02:55:20 -0400 Original-Received: from plane.gmane.org ([80.91.229.3]:37062) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YbOAn-0004rQ-24 for help-gnu-emacs@gnu.org; Fri, 27 Mar 2015 02:55:17 -0400 Original-Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1YbOAk-0004zh-SA for help-gnu-emacs@gnu.org; Fri, 27 Mar 2015 07:55:14 +0100 Original-Received: from 122.248.161.141 ([122.248.161.141]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Fri, 27 Mar 2015 07:55:14 +0100 Original-Received: from nsivaram.net by 122.248.161.141 with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Fri, 27 Mar 2015 07:55:14 +0100 X-Injected-Via-Gmane: http://gmane.org/ Original-Lines: 40 Original-X-Complaints-To: usenet@ger.gmane.org X-Gmane-NNTP-Posting-Host: 122.248.161.141 User-Mail-Address: nsivaram.net@gmail.com User-Agent: Gnus/5.130011 (Ma Gnus v0.11) Emacs/24.4 (windows-nt) Cancel-Lock: sha1:4P+mna+BGE+n2nNjQTX7Bg2kfNU= X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 80.91.229.3 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:103377 Archived-At: On Thu, Mar 26 2015,Will Parsons wrote: [snipped 29 lines] > 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) > gnutls-negotiate: GnuTLS error: #, -64 > > [snipped 10 lines] > 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? sivaram --