From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/59827 Path: main.gmane.org!not-for-mail From: Mark Plaksin Newsgroups: gmane.emacs.gnus.general Subject: Re: Three problems with multiple IMAP accounts Date: Wed, 16 Feb 2005 23:12:55 -0500 Message-ID: References: <87wtt76edw.fsf@blackdown.de> NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1108613515 2750 80.91.229.2 (17 Feb 2005 04:11:55 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Thu, 17 Feb 2005 04:11:55 +0000 (UTC) Original-X-From: ding-owner+M8368@lists.math.uh.edu Thu Feb 17 05:11:55 2005 Original-Received: from malifon.math.uh.edu ([129.7.128.13] ident=mail) by ciao.gmane.org with esmtp (Exim 4.43) id 1D1d13-0000QZ-2g for ding-account@gmane.org; Thu, 17 Feb 2005 05:11:49 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.math.uh.edu ident=lists) by malifon.math.uh.edu with smtp (Exim 3.20 #1) id 1D1d2s-0003A9-00; Wed, 16 Feb 2005 22:13:42 -0600 Original-Received: from util2.math.uh.edu ([129.7.128.23]) by malifon.math.uh.edu with esmtp (Exim 3.20 #1) id 1D1d2k-0003A3-00 for ding@lists.math.uh.edu; Wed, 16 Feb 2005 22:13:34 -0600 Original-Received: from quimby.gnus.org ([80.91.224.244]) by util2.math.uh.edu with esmtp (Exim 4.30) id 1D1d2h-0005O4-KS for ding@lists.math.uh.edu; Wed, 16 Feb 2005 22:13:31 -0600 Original-Received: from main.gmane.org ([80.91.229.2] helo=ciao.gmane.org) by quimby.gnus.org with esmtp (Exim 3.35 #1 (Debian)) id 1D1d2g-00050D-00 for ; Thu, 17 Feb 2005 05:13:30 +0100 Original-Received: from list by ciao.gmane.org with local (Exim 4.43) id 1D1czp-0000GN-6S for ding@gnus.org; Thu, 17 Feb 2005 05:10:33 +0100 Original-Received: from water.tss.usg.edu ([168.24.82.53]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Thu, 17 Feb 2005 05:10:33 +0100 Original-Received: from happy by water.tss.usg.edu with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Thu, 17 Feb 2005 05:10:33 +0100 X-Injected-Via-Gmane: http://gmane.org/ Original-To: ding@gnus.org Original-Lines: 53 Original-X-Complaints-To: usenet@sea.gmane.org X-Gmane-NNTP-Posting-Host: water.tss.usg.edu User-Agent: Gnus/5.110003 (No Gnus v0.3) Emacs/21.3.50 (gnu/linux) Cancel-Lock: sha1:anmLLFvPz39ZF0JjWSj3r4vAufQ= X-Spam-Score: -4.9 (----) Precedence: bulk Original-Sender: ding-owner@lists.math.uh.edu X-MailScanner-From: ding-owner+m8368@lists.math.uh.edu X-MailScanner-To: ding-account@gmane.org Xref: main.gmane.org gmane.emacs.gnus.general:59827 X-Report-Spam: http://spam.gmane.org/gmane.emacs.gnus.general:59827 Juergen Kreileder writes: > Hi, > > I have a few problems with multiple IMAP accounts: > > Problem 1: Excessive reconnecting > ========== > > If I do 'g' with just one IMAP account I see: > > ,---- > | Reading active file from Local via nnimap... > | nnimap: Checking mailboxes...done > `---- > > With two IMAP accounts this changes to: > > ,---- > | Reading active file from Remote via nnimap... > | Opening nnimap server on Remote... > | Opening nnimap server on Remote...done > | nnimap: Checking mailboxes...done > | Reading active file from Local via nnimap... > | Opening nnimap server on Local... > | Opening nnimap server on Local...done > | nnimap: Checking mailboxes...done > `---- I had the very same problem until I added all of my IMAP servers as secondary-select-methods. I also had to G E each nnimap group in the Group buffer and make sure the short name of the server was specified. For example, I added this to gnus-secondary-select-methods: (nnimap "SERVER" (nnimap-address "SERVER.com") (nnimap-server-port 993) (nnimap-stream ssl) (nnimap-list-pattern ("INBOX" "Mail/*"))) And then did G E on all my nnimap groups so they looked like this: ("nnimap+SERVER:Mail/happy" 1 ((1 . 119)) "SERVER" ;; changed this from "nnimap+SERVER:Mail/happy" to "SERVER" ((timestamp 16916 1783) (uidvalidity . "1107056107"))) After making this change Gnus was *much* faster. Initially I used the Server buffer to add all of my IMAP groups; it never occurred to me to make them secondary-select-methods. Seems like adding via the Server buffer should do some magic for you :)