From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.user/18098 Path: news.gmane.org!not-for-mail From: Zaam Wu Newsgroups: gmane.emacs.gnus.user Subject: Re: smtp outlook.com Date: Mon, 15 Feb 2016 17:00:29 +0800 Organization: GNU/Linux Message-ID: <87ziv2xs9e.fsf@zhtux.jiantu.boxes> References: <871t8efrqc.fsf@zhtux.jiantu.boxes> <8760xqjswt.fsf@gnus.org> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1455531952 26932 80.91.229.3 (15 Feb 2016 10:25:52 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Mon, 15 Feb 2016 10:25:52 +0000 (UTC) To: info-gnus-english@gnu.org Original-X-From: info-gnus-english-bounces+gegu-info-gnus-english=m.gmane.org@gnu.org Mon Feb 15 11:25:41 2016 Return-path: Envelope-to: gegu-info-gnus-english@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 1aVGLW-0008JB-UX for gegu-info-gnus-english@m.gmane.org; Mon, 15 Feb 2016 11:25:35 +0100 Original-Received: from localhost ([::1]:58733 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aVGLW-0007ga-BG for gegu-info-gnus-english@m.gmane.org; Mon, 15 Feb 2016 05:25:34 -0500 Original-Path: usenet.stanford.edu!news.tele.dk!news.tele.dk!small.news.tele.dk!uio.no!quimby.gnus.org!.POSTED!not-for-mail Original-Newsgroups: gnu.emacs.gnus Original-Lines: 40 Original-NNTP-Posting-Host: 122.205.7.69 Original-X-Trace: quimby.gnus.org 1455526892 27517 122.205.7.69 (15 Feb 2016 09:01:32 GMT) Original-X-Complaints-To: usenet@quimby.gnus.org Original-NNTP-Posting-Date: Mon, 15 Feb 2016 09:01:32 +0000 (UTC) User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.5 (gnu/linux) Cancel-Lock: sha1:xq3eUAd3TeUU3cZtR91hWSIfrMY= Original-Xref: usenet.stanford.edu gnu.emacs.gnus:89226 X-Mailman-Approved-At: Mon, 15 Feb 2016 05:25:32 -0500 X-BeenThere: info-gnus-english@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: "Announcements and discussions for GNUS, the GNU Emacs Usenet newsreader \(in English\)" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: info-gnus-english-bounces+gegu-info-gnus-english=m.gmane.org@gnu.org Original-Sender: info-gnus-english-bounces+gegu-info-gnus-english=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.gnus.user:18098 Archived-At: Lars Ingebrigtsen writes: > Zaam Wu writes: > >> smtpmail-stream-type 'starttls ;; or `ssl' > > It's not a STARTTLS server, so it should be 'tls. >From the help doc, it should be 'ssh. ```Help doc: 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). ``` > >> If smtpmail-stream-type to `ssl', it looks: >> >> ------ smtpmail-stream-type ssl ---------------- >> Sending via mail... >> gnutls.c: [0] (Emacs) fatal error: An unexpected TLS >> packet was received. gnutls.el: (err=[-15] An unexpected TLS >> packet was received.) boot: (:priority NORMAL :hostname >> smtp-mail.outlook.com :loglevel 0 :min-prime-bits 256 :trustfiles >> (/etc/ssl/certs/ca-certificates.crt) :crlfiles nil :keylist nil >> :verify-flags nil :verify-error nil :callbacks nil) >> gnutls-negotiate: GnuTLS error: #, -15 Quit > > I think this just means that the server closed the connection. > Probably. Connecting to the server works fine for me: > > LU436-SMTP207.smtp.hotmail.com Microsoft ESMTP MAIL Service, Version: 8.0.9200.16384 ready at Mon, 15 Feb 2016 00:09:39 -0800 Mine is: LU437-SMTP105.smtp.hotmail.com Microsoft ESMTP MAIL Service, Version: 8.0.9200.16384 ready at Mon, 15 Feb 2016 00:54:39 -0800 Process smtpmail connection broken by remote peer -- Hello, world!