From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED.blaine.gmane.org!not-for-mail From: huajian Luo Newsgroups: gmane.emacs.help Subject: Emacs can't send mail to office365 with "An unexpected TLS packet was received." Date: Fri, 28 Jun 2019 03:04:53 +0000 Message-ID: Mime-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Injection-Info: blaine.gmane.org; posting-host="blaine.gmane.org:195.159.176.226"; logging-data="202742"; mail-complaints-to="usenet@blaine.gmane.org" To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Fri Jun 28 06:58:02 2019 Return-path: Envelope-to: geh-help-gnu-emacs@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 1hgixV-000qaz-DV for geh-help-gnu-emacs@m.gmane.org; Fri, 28 Jun 2019 06:58:01 +0200 Original-Received: from localhost ([::1]:56354 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.86_2) (envelope-from ) id 1hgixT-0005Os-WA for geh-help-gnu-emacs@m.gmane.org; Fri, 28 Jun 2019 00:58:00 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:60853) by lists.gnu.org with esmtp (Exim 4.86_2) (envelope-from ) id 1hghCI-0006Wk-3a for help-gnu-emacs@gnu.org; Thu, 27 Jun 2019 23:05:11 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1hghCF-0006w6-Qq for help-gnu-emacs@gnu.org; Thu, 27 Jun 2019 23:05:10 -0400 Original-Received: from mail-qt1-x82f.google.com ([2607:f8b0:4864:20::82f]:38428) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1hghCE-0006qa-Ns for help-gnu-emacs@gnu.org; Thu, 27 Jun 2019 23:05:07 -0400 Original-Received: by mail-qt1-x82f.google.com with SMTP id n11so4780672qtl.5 for ; Thu, 27 Jun 2019 20:05:04 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:from:date:message-id:subject:to; bh=SnnYZ/Tq/sKrKfRxx0Po6xK700VUR51IBZeySgLrSHA=; b=bjnbzsbMI03hEroyED2c3zqhMiBiSCw3zv37TxcW6ljy4yYZiZ17J7EoV29Flp8Sc8 qbV/xUFwpI5ph0J+mlrOa0pJuC9fROymJgnLUJhGIrllbregJzmRlYOD3rKLdjf+h5Jb o8jaF29Kmw9y9R5sAzsrMAxFBgAFM5nRFCORwO2OVsuA1ceUWmbHZMqTiwA9kW3WUwO0 X27Gur48CTlYjCT0EnW6azDemlWtJuVbl/HrmTKSq+eMlWJB8RCmT3sCpm8/XWuMQ4MN 9fhuew0s1rcMLY/bGbxqwP+VDbsMRUAGPbhdc5/dRr8+aFju44NyBEFiPSg58DUpAqQA jmjw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:from:date:message-id:subject:to; bh=SnnYZ/Tq/sKrKfRxx0Po6xK700VUR51IBZeySgLrSHA=; b=FgfMiuHS2UDJ3AUhXBhMJV4GKXhUOZoekuhBSZfRBq1zt8NDXDmjzA613dL0qVIG7E PpkaiW80vefPm/PPVB4ObzlWs56x/T11Lc8JYToM103WoVtaXmOMRwKHsJyqMPzFx5fT WPYFzcJ0g5+W+0bbxg46WwKjPqeF9Wpz9SRkQyeEe+TecYXw39ZISxeqwxf1k+rMCpsT e134wDzCzT6c+0vusSVnsKtbH6s2Txyg+Gsd4NaZxeGijOVgzxy5lXb44ws4WNnKxrqg lGvuBI8jYtuzE4ggno0OGRGQKPhS9vX3K8gpMd/VVHoWdQl5yagFni8po4dw8qCtrQBt OVhA== X-Gm-Message-State: APjAAAUz0iJnaT3cafRJz+xQpfJwc8shfsDij4bnigPzsQupetnSLaJ9 O4jxqUDi8+2whIEyF2kbQCHrcyUnJyr/ynoJXM40PLsm X-Google-Smtp-Source: APXvYqyDw1Zu8VZNb/UmVt8cksOCteInLAQe3AjaR1frzk7qh56dVVi/zcCiMTRVVFLX/MvYNVDg4LlR0BUiTeXEhcE= X-Received: by 2002:a0c:b90a:: with SMTP id u10mr6142757qvf.201.1561691104089; Thu, 27 Jun 2019 20:05:04 -0700 (PDT) X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 2607:f8b0:4864:20::82f X-Mailman-Approved-At: Fri, 28 Jun 2019 00:57:50 -0400 X-Content-Filtered-By: Mailman/MimeDel 2.1.23 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.23 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" Xref: news.gmane.org gmane.emacs.help:121065 Archived-At: Hi there, I'm now need use office365 for my working mail, I've set up the configure file as following, but when I sent mail it complains with this message. I'm using OpenSuse with emacs version GNU Emacs 25.3.1 (x86_64-suse-linux-gnu) of 2018-10-16. and Gnus v5.13 (setq message-send-mail-function 'smtpmail-send-it send-mail-function 'smtpmail-send-it smtpmail-auth-credentials (expand-file-name "~/.authinfo") smtpmail-default-smtp-server "smtp.office365.com" smtpmail-smtp-server "smtp.office365.com" smtpmail-smtp-service 587 smtpmail-stream-type 'ssl ) =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D gnutls.el: (err=3D[-15] An unexpected TLS packet was received.) boot: (:priority NORMAL :hostname smtp.office365.com :loglevel 0 :min-pri\ me-bits 256 :trustfiles (/etc/ssl/ca-bundle.pem) :crlfiles nil :keylist nil :verify-flags nil :verify-error nil :callbacks nil) gnutls-negotiate: GnuTLS error: #, -15 ---------------------------------trace SMTP-----------------------------------------------------------------------= ----- G2PR0401CA0013.outlook.office365.com Microsoft ESMTP MAIL Service ready at Fri, 28 Jun 2019 02:46:44 +0000^M 451 4.7.0 Timeout waiting for client input [ SG2PR0401CA0013.apcprd04.prod.outlook.com]^M Process smtpmail connection broken by remote peer =E4=B8=8A=E4=B8=80=E5=B0=81 =E4=B8=8B=E4=B8=80=E5=B0=81 =C2=AB =E8=BF=94=E5=9B=9E