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: Thu, 22 Sep 2016 11:39:06 +0200	[thread overview]
Message-ID: <87zin09sud.fsf@hornfels.zedat.fu-berlin.de> (raw)
In-Reply-To: <mailman.2806.1474532810.22741.info-gnus-english@gnu.org>

asjo@koldfront.dk (Adam Sjøgren) writes:

> Loris writes:
>
>> I still have the problem that I can only access one of the accounts.
>> The same set of folders appear twice, once each for the secondary
>> select method entries "one" and "two".
>
> Show your configuration.
>
> Otherwise we can be guessing forever.
>

OK:

 '(gnus-secondary-select-methods
   (quote
    ((nnimap "mail.zedat.fu-berlin.de"
             (nnimap-stream tls)
             (nnir-search-engine imap)
             (remove-prefix "nnimap")
             (nnimap-address "mail.zedat.fu-berlin.de"))
     (nnimap "fu_exchange"
             (nnimap-stream tls)
             (nnir-search-engine imap)
             (remove-prefix "nnimap")
             (nnimap-address "mail.zedat.fu-berlin.de"))
     (nntp "news.fu-berlin.de"
           (remove-prefix nntp)))))

I have now discovered that this in fact works, but only if I don't save
the credentials in .authinfo.  If I enter both sets of credentials every
time, Gnus shows me folders from both accounts.

If I do allow Gnus to add an entry for "mail.zedat.fu-berlin.de", then I
don't get asked about the credentials for the entry "fu_exchange", Gnus
shows me the folders from the "mail.zedat.fu-berlin.de" account but not
those for "fu_exchange".  I also can't subscribe to any folders from
"fu_exchange".

So to me it looks like there is a problem when .authinfo is read, but
obviously some people have this kind of setup working with two Gmail
accounts.  So I'm stumped.

Cheers,

Loris


-- 
This signature is currently under construction.
_______________________________________________
info-gnus-english mailing list
info-gnus-english@gnu.org
https://lists.gnu.org/mailman/listinfo/info-gnus-english

  parent reply	other threads:[~2016-09-22  9:39 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
     [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 [this message]
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=87zin09sud.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).