From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/70527 Path: news.gmane.org!not-for-mail From: David Engster Newsgroups: gmane.emacs.gnus.general Subject: Re: That newfangled IMAP thing... Date: Sun, 05 Sep 2010 18:01:51 +0200 Message-ID: <877hj0tc0g.fsf@randomsample.de> References: NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: dough.gmane.org 1283702806 5937 80.91.229.12 (5 Sep 2010 16:06:46 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Sun, 5 Sep 2010 16:06:46 +0000 (UTC) To: ding@gnus.org Original-X-From: ding-owner+M18901@lists.math.uh.edu Sun Sep 05 18:06:44 2010 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 1OsHjt-0006Q2-DL for ding-account@gmane.org; Sun, 05 Sep 2010 18:06:41 +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 1OsHfa-00040S-Oj; Sun, 05 Sep 2010 11:02:14 -0500 Original-Received: from mx1.math.uh.edu ([129.7.128.32]) by util0.math.uh.edu with esmtps (TLSv1:AES256-SHA:256) (Exim 4.63) (envelope-from ) id 1OsHfX-00040A-Uy for ding@lists.math.uh.edu; Sun, 05 Sep 2010 11:02:11 -0500 Original-Received: from quimby.gnus.org ([80.91.231.51]) by mx1.math.uh.edu with esmtp (Exim 4.72) (envelope-from ) id 1OsHfV-0001Oh-Ve for ding@lists.math.uh.edu; Sun, 05 Sep 2010 11:02:11 -0500 Original-Received: from m61s02.vlinux.de ([83.151.21.164]) by quimby.gnus.org with esmtp (Exim 3.36 #1 (Debian)) id 1OsHfU-0001qZ-00 for ; Sun, 05 Sep 2010 18:02:08 +0200 Original-Received: from dslc-082-083-045-175.pools.arcor-ip.net ([82.83.45.175] helo=spaten) by m61s02.vlinux.de with esmtpsa (TLS1.0:DHE_RSA_AES_128_CBC_SHA1:16) (Exim 4.69) (envelope-from ) id 1OsHfT-00029n-Oj for ding@gnus.org; Sun, 05 Sep 2010 18:02:07 +0200 In-Reply-To: (Lars Magne Ingebrigtsen's message of "Sun, 05 Sep 2010 16:12:23 +0200") User-Agent: Gnus/5.110011 (No Gnus v0.11) Emacs/23.2 (gnu/linux) Mail-Copies-To: never Mail-Followup-To: ding@gnus.org X-Spam-Score: -1.9 (-) List-ID: Precedence: bulk Xref: news.gmane.org gmane.emacs.gnus.general:70527 Archived-At: Lars Magne Ingebrigtsen writes: > Ok. I can see why nnimap is slow on `g'. > > I've included below the *imap-log* on my fresh, almost-empty Gmail > account from this command: > > (nnimap-request-list "imap.gmail.com") > > As we can see, it first issues a LIST command, and then issues an > EXAMINE for each folder, totally synchronous. It takes 1.5s for me, and > there's no there there. > > I'm guessint that EXAMINE is the equivalent of NNTP GROUP -- it selects > the group, and then it does a "FETCH 1,* UID" for the groups that says > that is has "EXISTS"... > > Perhaps I should just read the IMAP RFC instead of guessing. :-) > > Anyway, this has to be painfully slow if you have lots of folders and > high latency. When I press 'g', nnimap does a 'STATUS' on all mailboxes immediately and then asynchronously collects the responses (see also `nnimap-retrieve-groups-asynchronous'). People repeatedly have reported that it does an EXAMINE instead. I forgot why that happened; maybe it's because you have the server as a foreign one? -David