Announcements and discussions for Gnus, the GNU Emacs Usenet newsreader
 help / color / mirror / Atom feed
From: "Loris Bennett" <loris.bennett@fu-berlin.de>
To: info-gnus-english@gnu.org
Subject: Re: IMAP - two accounts on one server
Date: Wed, 21 Sep 2016 14:10:50 +0200	[thread overview]
Message-ID: <87twd978s5.fsf@hornfels.zedat.fu-berlin.de> (raw)
In-Reply-To: <mailman.2735.1474445609.22741.info-gnus-english@gnu.org>

Eric Abrahamsen <eric@ericabrahamsen.net> writes:

> "Loris Bennett" <loris.bennett@fu-berlin.de> writes:
>
>> Hi,
>>
>> Many years ago I set Gnus up to read mail from a server via IMAP and
>> every thing has been working fine.  I now want to add a second account
>> on the same server[1].
>>
>> I have added a corresponding line to .authinfo, but there doesn't seem
>> to be a variable I could add to the select method to indicate which
>> account should be used.
>>
>> Currently I just don't see any extra folders from the second account and
>> they do not appear when I try to subscribe to additional folder.
>>
>> Any ideas?
>>
>> Cheers,
>>
>> Loris
>>
>> Footnotes: 
>> [1]  To be honest, the accounts are not on the same server.  However,
>> the server address is the same in both cases.  Behind the scenes some
>> jiggery-pokery goes on to forward mail to a second server in the case of
>> the second account.  
>
> You didn't mention adding the second server to
> `gnus-secondary-select-methods' -- that's the key step. Have you done
> that? Gnus won't know about the server until you put it there, and once
> it does know, it can handle the ~/.authinfo step by itself.

Sorry, I wasn't explicit enough.  I did realise that I needed another
entry in 'gnus-secondary-select-methods', but I just couldn't see how to
differentiate if from the existing one, given that I was using the
server address as the name of the entry, and this is the same for both
accounts.  Thus, Adam pointing out that the "Address" for the select
method can be any string, not just the server address, was very helpful.

Cheers,

Loris

-- 
This signature is currently under construction.

  parent reply	other threads:[~2016-09-21 12:10 UTC|newest]

Thread overview: 13+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-09-21  7:55 Loris Bennett
2016-09-21  8:12 ` Eric Abrahamsen
2016-09-21  8:17 ` Adam Sjøgren
     [not found] ` <mailman.2735.1474445609.22741.info-gnus-english@gnu.org>
2016-09-21 12:10   ` Loris Bennett [this message]
     [not found] ` <mailman.2738.1474445871.22741.info-gnus-english@gnu.org>
2016-09-21 14:13   ` Ted Zlatanov
2016-09-21 15:07     ` Adam Sjøgren
     [not found]     ` <mailman.2753.1474470506.22741.info-gnus-english@gnu.org>
2016-09-22  7:19       ` Loris Bennett
2016-09-22  8:26         ` Adam Sjøgren
     [not found]         ` <mailman.2806.1474532810.22741.info-gnus-english@gnu.org>
2016-09-22  9:39           ` Loris Bennett
2016-09-22 10:36             ` Adam Sjøgren
2016-09-22 12:06             ` Ted Zlatanov
2016-09-22 14:39               ` Loris Bennett
2016-09-22 12:07       ` Ted Zlatanov

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=87twd978s5.fsf@hornfels.zedat.fu-berlin.de \
    --to=loris.bennett@fu-berlin.de \
    --cc=info-gnus-english@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.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).