From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Jeremie Juste Newsgroups: gmane.emacs.help Subject: Re: gnus with multiple mail accounts Date: Fri, 16 Oct 2020 09:24:44 +0200 Organization: Emacs is it Message-ID: <87blh2eipv.fsf@gmail.com> 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 Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="23631"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux) Cc: help-gnu-emacs@gnu.org To: Eric Abrahamsen Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane-mx.org@gnu.org Fri Oct 16 09:25:17 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 1kTK73-00062L-HT for geh-help-gnu-emacs@m.gmane-mx.org; Fri, 16 Oct 2020 09:25:17 +0200 Original-Received: from localhost ([::1]:37422 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1kTK72-00087j-FV for geh-help-gnu-emacs@m.gmane-mx.org; Fri, 16 Oct 2020 03:25:16 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:37116) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kTK6d-00087V-BI for help-gnu-emacs@gnu.org; Fri, 16 Oct 2020 03:24:51 -0400 Original-Received: from mail-wr1-x42d.google.com ([2a00:1450:4864:20::42d]:36080) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1kTK6b-0003gy-8R for help-gnu-emacs@gnu.org; Fri, 16 Oct 2020 03:24:50 -0400 Original-Received: by mail-wr1-x42d.google.com with SMTP id x7so1550239wrl.3 for ; Fri, 16 Oct 2020 00:24:48 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:organization:references:date:in-reply-to :message-id:user-agent:mime-version; bh=Bk5pHGUBKQ3CKUxFsqZev33RCD41UFyYdcsbys5o99Q=; b=fo0PXE9LmHdf4saddhjOuTmz9pfyrTbbNykSR6IGAZ+q/oC7QqLGo2nCC0l5uYYMKb FgyEF7xqK2/T0mc1taz3T2txJBMFbcLCOQx9WpObMY6NYHT4Bosdf9QF2DWdbrVQS/zG 28EYoAomWyQoo5/StP5iqTuFImZr/uorKfBFXz7kfM4idh+1gbqx9tLm4FHDgTnaQqIo ELrNSdJvvFnPfkUGMMUufV/t+rkX8tdq/mmJKWbvQDWLkBNcUf0ltRSDjLFvcouyBKlS MCPvt/FzqzmBMkQbgdgyaC+H6/3L4zw3nw4aX6i75io/W4zuHF1ky/HHJsmfzlAWRBzg cL2w== 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:organization:references:date :in-reply-to:message-id:user-agent:mime-version; bh=Bk5pHGUBKQ3CKUxFsqZev33RCD41UFyYdcsbys5o99Q=; b=dgenXKRSBuwojB5jC2a27MdyQey7CMzATe79wgH3GVk1V0STXyeHFCXmSaEK/ieM3o 7h8mICn6Zl8nolAKYgk3UNq3ZzNi5rLM0iOggXh+1EWRayZfvJbRCriS9jXsECs+dgq0 Ut8mAlpMdopJjuRnkkH6v66anQtSts/i4BJLHiX2/dWdwoFd8B+KvH5uxVekrF4wl0GZ ytXFKKXt25+ROh32z8slNmPhr2N0pd3Ph/P/C4i/ZM57Y8xER4gZJ9n+bW/5cHfyQaJX wX3BpauSW7QtcOS0hqSBnDuwQGCSpO3EuByLF77Mn6IEFTnt/y31LEPTDKm11HaHJTgL Ccfw== X-Gm-Message-State: AOAM532A/Cnm/GEAJWSZZD0c2wFWTE83eOZ9UZXIgzue4X19UU1W18NQ Dcg26CU+EAHunxIr5rAp9+9rlzzayKw= X-Google-Smtp-Source: ABdhPJz1/NscjcWCjTTJO1ge+APrNwsVT/8mPuYUD7WYhpu5BZUqP6bhi3YplXj306sKsKMsasbXlw== X-Received: by 2002:a5d:4282:: with SMTP id k2mr2168744wrq.270.1602833087183; Fri, 16 Oct 2020 00:24:47 -0700 (PDT) Original-Received: from freegnu (24.183.22.109.rev.sfr.net. [109.22.183.24]) by smtp.gmail.com with ESMTPSA id l5sm2243255wrq.14.2020.10.16.00.24.46 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 16 Oct 2020 00:24:46 -0700 (PDT) In-Reply-To: <87y2k755zr.fsf@ericabrahamsen.net> (Eric Abrahamsen's message of "Thu, 15 Oct 2020 18:12:08 -0700") Received-SPF: pass client-ip=2a00:1450:4864:20::42d; envelope-from=jeremiejuste@gmail.com; helo=mail-wr1-x42d.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:124496 Archived-At: Hello, Many thanks for the reply. Yes I tried something like the following. (setq gnus-posting-styles '( ("test" ("X-Message-SMTP-Method" "smtp smtp.office365.com 587") ))) The mail didn't go through. I had a cryptic error message: gnutls-e-invalid-session. Best regards, Jeremie > > Are you sure it doesn't work just to set host and port in the > pseudo-header? Looking at the code, it ought to be setting > `smtpmail-stream-type' correctly from the port. I assume you've tried > that and it didn't work? > -- Jeremie Juste