From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Bob Newell Newsgroups: gmane.emacs.help Subject: Re: Gnus and multiple Email servers Date: Sun, 21 Nov 2021 16:43:43 -1000 Organization: Avi Gobbler Publishing Message-ID: References: <87ilwlvbis.fsf@penguin> Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="20162"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.2 (gnu/linux) Cc: help-gnu-emacs@gnu.org To: Sergey Organov Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane-mx.org@gnu.org Mon Nov 22 03:50:11 2021 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 1mozPH-00052l-Kf for geh-help-gnu-emacs@m.gmane-mx.org; Mon, 22 Nov 2021 03:50:11 +0100 Original-Received: from localhost ([::1]:36976 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mozPG-0003Ch-9a for geh-help-gnu-emacs@m.gmane-mx.org; Sun, 21 Nov 2021 21:50:10 -0500 Original-Received: from eggs.gnu.org ([209.51.188.92]:46224) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mozOp-0003Ah-Gb for help-gnu-emacs@gnu.org; Sun, 21 Nov 2021 21:49:43 -0500 Original-Received: from [2607:f8b0:4864:20::22b] (port=37841 helo=mail-oi1-x22b.google.com) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1mozOn-0005yj-RE for help-gnu-emacs@gnu.org; Sun, 21 Nov 2021 21:49:43 -0500 Original-Received: by mail-oi1-x22b.google.com with SMTP id bj13so35065362oib.4 for ; Sun, 21 Nov 2021 18:49:40 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=bobnewell-net.20210112.gappssmtp.com; s=20210112; h=from:to:cc:subject:organization:references:date:in-reply-to :message-id:user-agent:mime-version; bh=HhSsX5vyAphUhTcQ0BvvBdzA/5HU53hXwqXU1en3Tvc=; b=y3OenI18UpB34PxOZ/kuio/RGa5p8K1B7GQuCdPUxl4H7yYo9EvG/Mv25/XZ5PIuqP 6/irUDCKtx15pIVIn5oFy2tc1YbWTtPH+Iox0sigSRo5bBz2AorcJG1yqeFDDV+f7E29 BHMZjNzj54NJtMahazt9MNmWdVIU2IQa7DeNiz71K27eCI8walU/5iUNJSlZwqadfhl7 nDvmufq3TkwygiMynYKi+QBorqHV6ZmfdP0LALG31/4XNujIiXdBCsx+qfjCIF5X/jQU 1EVEvgscBEVeu956yVGkAknQxICJMhJRmwaniIG6YHs2lPoJKgrtLD7f5Wb01DA1UZdr k+ug== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:cc:subject:organization:references:date :in-reply-to:message-id:user-agent:mime-version; bh=HhSsX5vyAphUhTcQ0BvvBdzA/5HU53hXwqXU1en3Tvc=; b=z+mbxsGwsVSS+kCVT3jWn6i1Ks6OxE++rTqFQs51aGoAJ4FWHfd2e82OOI4bIYnw+J cO6jnhQ8aEAdHcVwpIkz0sO0MMqzxAIyZcWNuJX86I2aNCLITfvA/GiMNV0zm7PQkjP8 FCvYbaTNoZi6qyQQFdIama5N67KQBFE3ywq8IbtBe4F59bnH0XlNYNkMHazy1BQj7gvp nvPGXmSM61lv2nulUfMcafEI8I03MVWadnWtw9EOugNczFH/mIMlr+50SVF08ThcURTo G7xRqZKYVBiZg8nxBcqHqAdkdCWsOsprFBbalRnTOn0O+FELAjVqof7vBeR6a6Wk4sbf kx4A== X-Gm-Message-State: AOAM53126w/NSqkCBTDezhKbvLWJkl+d6wSlovqHTrw+QzYvuP4TLsCi SfHoADNSJTjWDAXJwPkk2Nw/SvaUSCDKoA== X-Google-Smtp-Source: ABdhPJx9zy++Qqck9vFhl9ZCCreUJX4JZgIpasSM5iUMh9gvj/fjo47mQj+cut2VOo2Qp3cz2QcGhg== X-Received: by 2002:a17:90b:218:: with SMTP id fy24mr26823619pjb.187.1637549026218; Sun, 21 Nov 2021 18:43:46 -0800 (PST) Original-Received: from localhost (247.sub-72-105-92.myvzw.com. [72.105.92.247]) by smtp.gmail.com with ESMTPSA id s16sm7075113pfu.109.2021.11.21.18.43.45 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 21 Nov 2021 18:43:45 -0800 (PST) In-Reply-To: (Sergey Organov's message of "Sun, 21 Nov 2021 22:54:39 +0300") X-Host-Lookup-Failed: Reverse DNS lookup failed for 2607:f8b0:4864:20::22b (failed) Received-SPF: none client-ip=2607:f8b0:4864:20::22b; envelope-from=bobnewell@bobnewell.net; helo=mail-oi1-x22b.google.com X-Spam_score_int: -10 X-Spam_score: -1.1 X-Spam_bar: - X-Spam_report: (-1.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, PDS_HP_HELO_NORDNS=0.001, RCVD_IN_DNSWL_NONE=-0.0001, RDNS_NONE=0.793, SPF_HELO_NONE=0.001, SPF_NONE=0.001 autolearn=no autolearn_force=no X-Spam_action: no action X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.29 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:134667 Archived-At: >> X-Message-SMTP-Method is useful for sending. > > Is there handy way of setting it automagically depending on the From: > field of the outgoing mail? There are other ways, too. A very easy way is to use msmtp as your mailer. You can find things online to show you how to use it with gnus. msmtp reads the From: line and picks an SMTP server based on that. Finally, there is custom code. I use this to set the SMTP server based on the To: field. (I insist that some people only get mail from my AOL address.) It's complex to describe here but I can correspond with anyone interested. -- Bob Newell Honolulu, Hawai`i - Via GNU/Linux/Emacs/Gnus/BBDB