From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Eric Abrahamsen Newsgroups: gmane.emacs.help Subject: Re: Gnus and multiple Email servers Date: Sat, 27 Nov 2021 21:10:49 -0800 Message-ID: <87wnkskgpy.fsf@ericabrahamsen.net> References: <878rxjedvs.fsf@zoho.eu> <87ilwnxyqn.fsf@web.de> <87zgpzcvc4.fsf@zoho.eu> <87sfvngzfu.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="2327"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/29.0.50 (gnu/linux) To: help-gnu-emacs@gnu.org Cancel-Lock: sha1:vFbITBAEAsyNaOBXxrJcoda4MYA= Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane-mx.org@gnu.org Sun Nov 28 06:11:33 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 1mrCTN-0000Qv-7H for geh-help-gnu-emacs@m.gmane-mx.org; Sun, 28 Nov 2021 06:11:33 +0100 Original-Received: from localhost ([::1]:45656 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mrCTL-0001vb-Mx for geh-help-gnu-emacs@m.gmane-mx.org; Sun, 28 Nov 2021 00:11:31 -0500 Original-Received: from eggs.gnu.org ([209.51.188.92]:41952) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mrCSs-0001vQ-DM for help-gnu-emacs@gnu.org; Sun, 28 Nov 2021 00:11:02 -0500 Original-Received: from ciao.gmane.io ([116.202.254.214]:42164) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mrCSq-00055A-R0 for help-gnu-emacs@gnu.org; Sun, 28 Nov 2021 00:11:02 -0500 Original-Received: from list by ciao.gmane.io with local (Exim 4.92) (envelope-from ) id 1mrCSo-000AK8-TW for help-gnu-emacs@gnu.org; Sun, 28 Nov 2021 06:10:58 +0100 X-Injected-Via-Gmane: http://gmane.org/ Received-SPF: pass client-ip=116.202.254.214; envelope-from=geh-help-gnu-emacs@m.gmane-mx.org; helo=ciao.gmane.io X-Spam_score_int: -16 X-Spam_score: -1.7 X-Spam_bar: - X-Spam_report: (-1.7 / 5.0 requ) BAYES_00=-1.9, HEADER_FROM_DIFFERENT_DOMAINS=0.249, SPF_HELO_NONE=0.001, SPF_PASS=-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:134700 Archived-At: David Masterson writes: > Eric Abrahamsen writes: > >> David Masterson writes: >> >>>> Michael Heerdegen wrote: >>>> >>>>>> [...] see (info "(gnus) Mail Source Specifiers") >>>>> >>>>> Also (info "(gnus) Select Methods"), and in particular >>>>> `gnus-secondary-select-methods'. >>> >>> What is the relationship (or difference?) between a select-method and a >>> mail-source? Can you use a mail-source without setting up a >>> select-method? Are split-methods the equivalent "select method" to >>> mail-source? >>> >>> The manual is not clear (to me) on this. >> >> A mail source is an external "place" that mail comes from. Gnus doesn't >> own or manage that source, it simply fetches the mail from there, then >> stores it in a select method. As Gnus is storing the mail, it might also >> split it. > > I didn't know a select-method was storage! I thought it defined a place > to get mail from. Well they *can* update themselves with new messages, but I'd say the defining characteristic is that they're a message store. >> So no, you can't use a mail source without a select method, because once >> Gnus has got mail from the source, it has to put it somewhere. >> >> A mail source is most often a POP server, or a mail spool. >> >> It's confusing because some select methods essentially act as their own >> mail sources, most notably IMAP and NNTP servers. An nnmaildir select >> method can also be configured to find new mail "in place", if it's being >> delivered there by some other process. In these cases, you won't be >> using mail sources at all (I don't have any mail sources). > > I take it then that mail-source is not used with an IMAP select method, > right? So, let me repeat the original question -- how do you setup Gnus > to get mail from multiple IMAP servers (so I can read all of my families > email accounts, but leave their email in their IMAP server for them to > read also). Add multiple nnimap servers to `gnus-secondary-select-methods'. Mine looks something like: '((nnimap "CHB" (nnimap-address "mail.randomaddress.com") (nnimap-stream network) (nnimap-authenticator login) (nnimap-user "eric@randomaddress.com")) (nnimap "EA" (nnimap-address "localhost") (nnimap-stream network) (nnimap-authenticator login) (nnimap-user "eric@ericabrahamsen.net")) And many more. Each of those is a separate IMAP account.