From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/79721 Path: news.gmane.org!not-for-mail From: Vijay Lakshminarayanan Newsgroups: gmane.emacs.gnus.general Subject: Re: IMAP + Agent Date: Wed, 24 Aug 2011 08:35:57 +0530 Message-ID: <87ei0bwlt6.fsf@gmail.com> References: NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: dough.gmane.org 1314155243 30310 80.91.229.12 (24 Aug 2011 03:07:23 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Wed, 24 Aug 2011 03:07:23 +0000 (UTC) Cc: nognus To: Richard Riley Original-X-From: ding-owner+M28015@lists.math.uh.edu Wed Aug 24 05:07:19 2011 Return-path: Envelope-to: ding-account@gmane.org Original-Received: from util0.math.uh.edu ([129.7.128.18]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1Qw3oF-0000c1-8n for ding-account@gmane.org; Wed, 24 Aug 2011 05:07:19 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.math.uh.edu) by util0.math.uh.edu with smtp (Exim 4.63) (envelope-from ) id 1Qw3nJ-0002Qa-GI; Tue, 23 Aug 2011 22:06:21 -0500 Original-Received: from mx2.math.uh.edu ([129.7.128.33]) by util0.math.uh.edu with esmtps (TLSv1:AES256-SHA:256) (Exim 4.63) (envelope-from ) id 1Qw3nH-0002QJ-HF for ding@lists.math.uh.edu; Tue, 23 Aug 2011 22:06:19 -0500 Original-Received: from quimby.gnus.org ([80.91.231.51]) by mx2.math.uh.edu with esmtps (TLSv1:AES256-SHA:256) (Exim 4.76) (envelope-from ) id 1Qw3nG-0001yc-2J for ding@lists.math.uh.edu; Tue, 23 Aug 2011 22:06:19 -0500 Original-Received: from mail-pz0-f46.google.com ([209.85.210.46]) by quimby.gnus.org with esmtp (Exim 4.72) (envelope-from ) id 1Qw3nE-0001hG-F5 for ding@gnus.org; Wed, 24 Aug 2011 05:06:16 +0200 Original-Received: by pzk32 with SMTP id 32so98572pzk.33 for ; Tue, 23 Aug 2011 20:06:10 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=from:to:cc:subject:references:date:in-reply-to:message-id :user-agent:mime-version:content-type; bh=zK+Wb/WTTMcpTiqxr2xlG9XZ9adPt9o6Kfd6baulYbM=; b=SmNzrs9wwVzRIQbhXW9FVLhkOeOXR+PJo8w1cbUorpTlFb9SuuinU/LBGmg7r9VEVx rA2t4xTeF5NFBRnSsG20jRlsnIr7zmA14N9GBCFKU/HkChVn+GKAtXCm0AcygXpfgyPj Z7ZuEAQhdpxt2PDM1+oOyed7vKrmlykKt+aSs= Original-Received: by 10.142.203.17 with SMTP id a17mr2553158wfg.376.1314155170176; Tue, 23 Aug 2011 20:06:10 -0700 (PDT) Original-Received: from BALROG ([59.92.16.52]) by mx.google.com with ESMTPS id e3sm257860pbi.7.2011.08.23.20.06.06 (version=TLSv1/SSLv3 cipher=OTHER); Tue, 23 Aug 2011 20:06:08 -0700 (PDT) In-Reply-To: (Richard Riley's message of "Wed, 24 Aug 2011 02:48:44 +0200") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.0.50 (windows-nt) X-Spam-Score: -3.0 (---) List-ID: Precedence: bulk Xref: news.gmane.org gmane.emacs.gnus.general:79721 Archived-At: Richard Riley 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.