From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/70763 Path: news.gmane.org!not-for-mail From: Daniel Pittman Newsgroups: gmane.emacs.gnus.general Subject: Re: That newfangled IMAP thing... Date: Mon, 13 Sep 2010 14:26:18 +1000 Message-ID: <874odu8e1h.fsf@rimspace.net> References: <87hbi3jasy.fsf@lifelogs.com> <87pqwmsusz.fsf@news.realpath.org> <8762yd6j4j.fsf@rimspace.net> <87eid0fsil.fsf@lifelogs.com> <87bp84y00w.fsf@keller.adm.naquadah.org> <874odv4ar3.fsf@rimspace.net> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Trace: dough.gmane.org 1284352563 32342 80.91.229.12 (13 Sep 2010 04:36:03 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Mon, 13 Sep 2010 04:36:03 +0000 (UTC) To: ding@gnus.org Original-X-From: ding-owner+M19136@lists.math.uh.edu Mon Sep 13 06:36:02 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 1Ov0ls-0002Dt-3N for ding-account@gmane.org; Mon, 13 Sep 2010 06:36:00 +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 1Ov0l4-0001ax-TM; Sun, 12 Sep 2010 23:35:10 -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 1Ov0l2-0001ah-1q for ding@lists.math.uh.edu; Sun, 12 Sep 2010 23:35:08 -0500 Original-Received: from quimby.gnus.org ([80.91.231.51]) by mx2.math.uh.edu with esmtp (Exim 4.72) (envelope-from ) id 1Ov0kw-0003Mx-En for ding@lists.math.uh.edu; Sun, 12 Sep 2010 23:35:07 -0500 Original-Received: from lo.gmane.org ([80.91.229.12]) by quimby.gnus.org with esmtp (Exim 3.36 #1 (Debian)) id 1Ov0kv-0002UK-00 for ; Mon, 13 Sep 2010 06:35:01 +0200 Original-Received: from list by lo.gmane.org with local (Exim 4.69) (envelope-from ) id 1Ov0ku-00022F-18 for ding@gnus.org; Mon, 13 Sep 2010 06:35:00 +0200 Original-Received: from sdcarl02.strategicdata.com.au ([203.214.67.82]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Mon, 13 Sep 2010 06:35:00 +0200 Original-Received: from daniel by sdcarl02.strategicdata.com.au with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Mon, 13 Sep 2010 06:35:00 +0200 X-Injected-Via-Gmane: http://gmane.org/ Original-Lines: 36 Original-X-Complaints-To: usenet@dough.gmane.org X-Gmane-NNTP-Posting-Host: sdcarl02.strategicdata.com.au User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.2 (gnu/linux) Cancel-Lock: sha1:9bLV2UsgrB5vs0eTHl64rNyGZVI= X-Spam-Score: -1.9 (-) List-ID: Precedence: bulk Xref: news.gmane.org gmane.emacs.gnus.general:70763 Archived-At: Lars Magne Ingebrigtsen writes: > Daniel Pittman writes: > >> For example, the EXPUNGE after sync discussed elsewhere probably means you >> want to demand (unconditionally, because nothing doesn't implement) UIDPLUS >> from the server. > > There are no servers that don't implement UIDPLUS? My understanding is that there are no significant IMAP servers without UIDPLUS today, yes. >> Anyway, to sync flags you want this: >> >> https://tools.ietf.org/html/rfc5162#section-5 >> >> That would be the official upstream documentation about the QRESYNC variant of >> the "flag sync" process, and includes how to handle less capable servers. >> Given that "less capable" means "most" — since only Zimbra has QRESYNC that >> I deal with regularly... >> >> Anyway, CONDSTORE capability is pretty routine, and most things will have >> that; I would suggest you stash away a pointer to the right routine somewhere >> in the server thing every login, after doing a capabilities query. > > CONDSTORE seems to work just like I had imagined that something like that > had to work. Nice. :-) QRESYNC finishes the job, but CONDSTORE is pretty much the trick to making the process efficient. IIRC you still need the inefficient version, though, against certain classes of CONDSTORE response. Daniel -- ✣ Daniel Pittman ✉ daniel@rimspace.net ☎ +61 401 155 707 ♽ made with 100 percent post-consumer electrons