all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Eric Abrahamsen <eric@ericabrahamsen.net>
To: help-gnu-emacs@gnu.org
Subject: Re: Gnus and multiple Email servers
Date: Sat, 27 Nov 2021 21:10:49 -0800	[thread overview]
Message-ID: <87wnkskgpy.fsf@ericabrahamsen.net> (raw)
In-Reply-To: SJ0PR03MB545538A2371387641CD5584F9B659@SJ0PR03MB5455.namprd03.prod.outlook.com

David Masterson <dsmasterson92630@outlook.com> writes:

> Eric Abrahamsen <eric@ericabrahamsen.net> writes:
>
>> David Masterson <dsmasterson92630@outlook.com> 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.




  reply	other threads:[~2021-11-28  5:10 UTC|newest]

Thread overview: 47+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-11-20  1:34 Gnus and multiple Email servers David Masterson
2021-11-20  2:53 ` Emanuel Berg via Users list for the GNU Emacs text editor
2021-11-20  4:00   ` Michael Heerdegen
2021-11-20  4:19     ` Emanuel Berg via Users list for the GNU Emacs text editor
2021-11-23  2:06       ` David Masterson
2021-11-23  6:26         ` Eric Abrahamsen
2021-11-23  8:21           ` Michael Heerdegen
2021-11-28  4:40             ` David Masterson
2021-11-28 10:04               ` Michael Heerdegen
2021-11-29  4:20                 ` Eric Abrahamsen
2021-11-29 10:11                   ` Michael Heerdegen
2021-11-29 16:23                     ` Eric Abrahamsen
2021-11-30 11:14                       ` Michael Heerdegen
2021-12-01  5:44                         ` Eric Abrahamsen
2021-12-01 18:16                           ` Emanuel Berg via Users list for the GNU Emacs text editor
2021-12-01 19:26                             ` Eric Abrahamsen
2021-12-01 20:27                               ` Emanuel Berg via Users list for the GNU Emacs text editor
2021-12-01 21:44                                 ` Eric Abrahamsen
2021-12-03 20:43                                   ` Emanuel Berg via Users list for the GNU Emacs text editor
2021-12-03 20:46                                     ` Emanuel Berg via Users list for the GNU Emacs text editor
2021-12-04  3:45                                       ` Emanuel Berg via Users list for the GNU Emacs text editor
2021-12-04  4:21                                         ` Emanuel Berg via Users list for the GNU Emacs text editor
2021-12-04 17:24                                           ` Eric Abrahamsen
2021-12-04 17:34                                             ` Emanuel Berg via Users list for the GNU Emacs text editor
2021-12-04 20:37                                               ` Eric Abrahamsen
2021-11-23  9:55           ` Byung-Hee HWANG
2021-11-28  4:38           ` David Masterson
2021-11-28  5:10             ` Eric Abrahamsen [this message]
2021-11-28  6:08             ` Emanuel Berg via Users list for the GNU Emacs text editor
2021-12-01  3:31               ` David Masterson
2021-12-01  4:34                 ` Emanuel Berg via Users list for the GNU Emacs text editor
2021-11-22  6:48   ` David Masterson
2021-11-23  9:35     ` Emanuel Berg via Users list for the GNU Emacs text editor
2021-11-28  4:42       ` David Masterson
2021-11-20  5:21 ` Óscar Fuentes
2021-11-22  6:38   ` David Masterson
2021-11-21 14:17 ` Byung-Hee HWANG
2021-11-21 19:54   ` Sergey Organov
2021-11-21 21:14     ` Daniel Fleischer
2021-11-22  2:43     ` Bob Newell
2021-11-22  9:44     ` Byung-Hee HWANG
2021-11-24 13:34       ` Byung-Hee HWANG 🐂🐧
2021-11-24 15:16         ` Michael Heerdegen
2021-11-24 21:32           ` Emanuel Berg via Users list for the GNU Emacs text editor
2021-11-25 14:42             ` Byung-Hee HWANG
2021-11-25 14:32           ` Byung-Hee HWANG
2021-11-22 10:35     ` Vegard Vesterheim

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87wnkskgpy.fsf@ericabrahamsen.net \
    --to=eric@ericabrahamsen.net \
    --cc=help-gnu-emacs@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.