From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Robert Pluim Newsgroups: gmane.emacs.help Subject: Re: gnus with multiple mail accounts Date: Fri, 16 Oct 2020 12:15:05 +0200 Message-ID: References: <87tuuvdvky.fsf@freegnu.i-did-not-set--mail-host-address--so-tickle-me> <87y2k755zr.fsf@ericabrahamsen.net> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="20805"; mail-complaints-to="usenet@ciao.gmane.io" Cc: Eric Abrahamsen , help-gnu-emacs@gnu.org To: Jeremie Juste Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane-mx.org@gnu.org Fri Oct 16 12:16:21 2020 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1kTMmb-0005J9-Bp for geh-help-gnu-emacs@m.gmane-mx.org; Fri, 16 Oct 2020 12:16:21 +0200 Original-Received: from localhost ([::1]:57476 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1kTMma-000555-Am for geh-help-gnu-emacs@m.gmane-mx.org; Fri, 16 Oct 2020 06:16:20 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:52818) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kTMlU-00052j-Rk for help-gnu-emacs@gnu.org; Fri, 16 Oct 2020 06:15:14 -0400 Original-Received: from mail-wr1-x436.google.com ([2a00:1450:4864:20::436]:34917) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1kTMlR-0003GM-7Q for help-gnu-emacs@gnu.org; Fri, 16 Oct 2020 06:15:11 -0400 Original-Received: by mail-wr1-x436.google.com with SMTP id n15so2126412wrq.2 for ; Fri, 16 Oct 2020 03:15:08 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:references:gmane-reply-to-list:date:in-reply-to :message-id:mime-version:content-transfer-encoding; bh=3z3vj/JAiY71IFSDzKasIsaJOIcrqefjH42FeB9bUDM=; b=nMEPQNCuH5fAot5paUZ/z2U+AJ7RvU7KMlzlxwJCvdHTNyPPb3JEVOuodHWVJ4JMSM sE9jCin+3+m0bwFHxpL8Em6C6s0kjXhVgniHcIDKXK4eBBzG75zxSyWqd6q9BcLhnZZt XzDRUmLh+2mOC7fK+ywxqhdWqDZ8Uvi/mDXiT+ejZ9AfcDAAd2xL1PCMyyP3OSIQoy+I cu34brOmHnGrEwA3Y11DHea3Ikb3pnm4LUaMC8h70s6nrPK4pgu4REjOEy8Zs6NSDidl t2Aq/O1iCBu8lzbgQq129pBEHy0mHCEz9d6UzMJCh5WHXbyPyrGSBQxalkaVZ4Wtf7xM sj8g== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:references :gmane-reply-to-list:date:in-reply-to:message-id:mime-version :content-transfer-encoding; bh=3z3vj/JAiY71IFSDzKasIsaJOIcrqefjH42FeB9bUDM=; b=uY+Otadr3tBjSlJEgHi8br71yFrs08Jebz+iyAtt7AF2svX+kRyKPj84zhf3jonOZS 1X0n7SShge/ucltpxZ7Rv3CnqU3CDKiEOYSDUKRXLmfC5nuzWQvsehLAKy03FJWhN4dl ySzJfjodnRmjUsBVQATzKZUQV/Q9E/KI43lkjE50gmkpMN6Tamk3RKa1Zai6vdosKca0 XROaNvYAT7eXB4rU03En6Ams5qRf0MnCOP/efv2BbGyEpw7yDSDrDTx6Oo2GAPJx0imP 7SMUv2XsE175XG/amd45bI2oGghxyEAApjhYYYijpuQ1BanpuIIjPWCDjaOcR3VddOZN nYAw== X-Gm-Message-State: AOAM5335jL8s3lhYdimUz8/YzrV0l3xaTor42y0WBCEhj7k5O9Wig7Nz mVTrIahLcj9fXAXAPiZTab8= X-Google-Smtp-Source: ABdhPJxEGMz0zt5tF2ZThz8ihWDcdo6MrMXbLTE4S5lmEkd5cz7nRFikJ1TnJfjAZmryz8PgCCUtbw== X-Received: by 2002:a5d:6a4f:: with SMTP id t15mr3048847wrw.126.1602843307299; Fri, 16 Oct 2020 03:15:07 -0700 (PDT) Original-Received: from rpluim-mac ([2a01:e34:ecfc:a860:9474:cfb2:b9a9:23d4]) by smtp.gmail.com with ESMTPSA id f14sm2323014wme.22.2020.10.16.03.15.06 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 16 Oct 2020 03:15:06 -0700 (PDT) Gmane-Reply-To-List: yes In-Reply-To: (Robert Pluim's message of "Fri, 16 Oct 2020 10:50:16 +0200") Received-SPF: pass client-ip=2a00:1450:4864:20::436; envelope-from=rpluim@gmail.com; helo=mail-wr1-x436.google.com X-detected-operating-system: by eggs.gnu.org: No matching host in p0f cache. That's all we know. X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action 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-mx.org@gnu.org Original-Sender: "help-gnu-emacs" Xref: news.gmane.io gmane.emacs.help:124499 Archived-At: >>>>> On Fri, 16 Oct 2020 10:50:16 +0200, Robert Pluim s= aid: Eric> Are you sure it doesn't work just to set host and port in the Eric> pseudo-header? Looking at the code, it ought to be setting Eric> `smtpmail-stream-type' correctly from the port. I assume you've t= ried Eric> that and it didn't work? Robert> That=CA=BCs a very recent change in emacs-master, and it only w= ork if you're Robert> using the SMTP TLS transport port, which is 465. 587 is the SMTP Robert> STARTTLS submission port, and is not covered (I recommend peopl= e use Robert> 465 whenever possible). Does office365 not support port 465? Having looked at the code some more, Eric is right, it should all just work, if smtpmail-stream-type is set to nil or 'starttls. The code forces TLS for port 465, and falls back to the value of smtpmail-stream-type otherwise, so it=CA=BCs possible you had this set to 'tls, which would explain the error message you saw. Robert --=20