Gnus development mailing list
 help / color / mirror / Atom feed
From: Vijay Lakshminarayanan <laksvij@gmail.com>
To: Richard Riley <rileyrg@googlemail.com>
Cc: nognus <ding@gnus.org>
Subject: Re: IMAP + Agent
Date: Wed, 24 Aug 2011 08:35:57 +0530	[thread overview]
Message-ID: <87ei0bwlt6.fsf@gmail.com> (raw)
In-Reply-To: <lp4o17skgj.fsf@news.eternal-september.org> (Richard Riley's message of "Wed, 24 Aug 2011 02:48:44 +0200")

Richard Riley <rileyrg@googlemail.com> writes:

> I've posted numerous time about using Gnus with imap and agent using
> multiple email accounts at the same provider. It doesnt work. Each time
> the replies were vague, requently at odds with each other of the form
> "should work" or "IMAP doesn work with the agent". What is the real
> state of play these days? e.g
>
> ,----
> |    (add-to-list 'gnus-secondary-select-methods
> |                 '(nnimap "riley"
> |                          (nnir-search-engine imap)
> |                          (nnimap-address "imap.gmail.com")
> |                          ))
> |    (add-to-list 'gnus-secondary-select-methods
> |                 '(nnimap "shamrockpub"
> |                          (nnir-search-engine imap)
> |                          (nnimap-address "imap.gmail.com")
> |                          ))
> |    
> |    (add-to-list 'gnus-secondary-select-methods
> |                 '(nnimap "friends"
> |                          (nnir-search-engine imap)
> |                          (nnimap-address "imap.gmail.com")
> |                          ))
> `----
>
> where my authinfo.gpg contains server specific authentication
> credentials based on the "logical" server name above (riley,shamrockpub
> and friends).
>
> When the agent is enabled for these servers then all 3 show the same
> message counts.
>
> So, I should give up or it will maybe one day work as it should work now?

I have multiple gmail accounts setup in pretty much the way you've
described above with the exception that mine actually works.  Below is
my setup, adjusted for actual account names, of course.

===== .gnus =====
(require 'nnir)

(setq gnus-select-method '(nnimap "laksvij"
                                  (nnimap-address "imap.gmail.com")
                                  (nnimap-server-port 993)
                                  (nnimap-stream ssl)
                                  (nnir-search-engine imap)))

;;; Configure secondary emails
(add-to-list 'gnus-secondary-select-methods
             '(nnimap "another"
                      (nnimap-address "imap.gmail.com")
                      (nnimap-server-port 993)
                      (nnimap-stream ssl)
                      (nnir-search-engine imap)))

(add-to-list 'gnus-secondary-select-methods
             '(nnimap "yetanother"
                      (nnimap-address "imap.gmail.com")
                      (nnimap-server-port 993)
                      (nnimap-stream ssl)
                      (nnir-search-engine imap)))

(add-to-list 'gnus-secondary-select-methods
             '(nnimap "stillanother"
                      (nnimap-address "imap.gmail.com")
                      (nnimap-server-port 993)
                      (nnimap-stream ssl)
                      (nnir-search-engine imap)))

===== .authinfo.gpg =====
machine laksvij login laksvij@gmail.com password haha port 993
machine another login another@gmail.com password yeahright port 993
machine yetanother login yetanother@gmail.com password dumbpassword port 993
machine stillanother login still.another@gmail.com password stealit port 993

I'm using (gnus-version) "Gnus v5.13"

Hope this helps.

-- 
Cheers
~vijay

Gnus should be more complicated.



  parent reply	other threads:[~2011-08-24  3:05 UTC|newest]

Thread overview: 23+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-08-24  0:48 Richard Riley
2011-08-24  1:08 ` John Wiegley
2011-08-24  1:50   ` Richard Riley
2011-08-24  8:20     ` Steinar Bang
2011-08-24  9:15       ` Frank Schmitt
2011-08-24 10:01         ` Tassilo Horn
2011-08-24 15:32           ` Steinar Bang
2011-08-24 16:29             ` Tassilo Horn
2011-08-24 11:00         ` Steinar Bang
2011-08-24 11:41           ` Richard Riley
2011-08-24 14:45             ` Eric S Fraga
2011-08-24 15:19               ` Richard Riley
2011-08-24 15:22                 ` Eric S Fraga
2011-08-24 15:36               ` Steinar Bang
2011-08-24 22:10                 ` Eric S Fraga
2011-09-27 21:36         ` Ted Zlatanov
2011-09-28  7:04           ` Reiner Steib
2011-09-29  0:26             ` Ted Zlatanov
2011-10-06 21:28           ` Lars Magne Ingebrigtsen
     [not found]   ` <87d3fjijlw.fsf@noorul.collab.net>
2011-09-05 18:12     ` John Wiegley
2011-08-24  3:05 ` Vijay Lakshminarayanan [this message]
2011-08-24  6:01   ` Richard Riley
2011-08-24 15:12     ` Vijay Lakshminarayanan

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=87ei0bwlt6.fsf@gmail.com \
    --to=laksvij@gmail.com \
    --cc=ding@gnus.org \
    --cc=rileyrg@googlemail.com \
    /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).