From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/61313 Path: news.gmane.org!not-for-mail From: Jouni K Seppanen Newsgroups: gmane.emacs.gnus.general Subject: Re: Slow expiry with nnimap+Courier [patch] Date: Mon, 07 Nov 2005 08:47:41 +0200 Message-ID: <29irv5gdiq.fsf@itl-pc9.hut.fi> References: <29ll0gpi1k.fsf@itl-pc9.hut.fi> <4nd5lkgj5v.fsf@lifelogs.com> <4nirv8xurr.fsf@lifelogs.com> NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit X-Trace: sea.gmane.org 1131346478 6705 80.91.229.2 (7 Nov 2005 06:54:38 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Mon, 7 Nov 2005 06:54:38 +0000 (UTC) Original-X-From: ding-owner+m9845@lists.math.uh.edu Mon Nov 07 07:54:30 2005 Return-path: Original-Received: from malifon.math.uh.edu ([129.7.128.13]) by ciao.gmane.org with esmtp (Exim 4.43) id 1EZ0th-0007W8-DM for ding-account@gmane.org; Mon, 07 Nov 2005 07:54:29 +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 1EZ0tW-0003pP-00; Mon, 07 Nov 2005 00:54:18 -0600 Original-Received: from nas02.math.uh.edu ([129.7.128.40]) by malifon.math.uh.edu with esmtp (Exim 3.20 #1) id 1EZ0oZ-0003pJ-00 for ding@lists.math.uh.edu; Mon, 07 Nov 2005 00:49:11 -0600 Original-Received: from quimby.gnus.org ([80.91.224.244]) by nas02.math.uh.edu with esmtp (Exim 4.52) id 1EZ0oU-00027F-52 for ding@lists.math.uh.edu; Mon, 07 Nov 2005 00:49:11 -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 1EZ0oS-0003rs-00 for ; Mon, 07 Nov 2005 07:49:04 +0100 Original-Received: from list by ciao.gmane.org with local (Exim 4.43) id 1EZ0nH-00068N-UC for ding@gnus.org; Mon, 07 Nov 2005 07:47:52 +0100 Original-Received: from itl-pc9.hut.fi ([130.233.173.109]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Mon, 07 Nov 2005 07:47:51 +0100 Original-Received: from jks by itl-pc9.hut.fi with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Mon, 07 Nov 2005 07:47:51 +0100 X-Injected-Via-Gmane: http://gmane.org/ Original-To: ding@gnus.org Original-Followup-To: gmane.emacs.gnus.general Original-Lines: 26 Original-X-Complaints-To: usenet@sea.gmane.org X-Gmane-NNTP-Posting-Host: itl-pc9.hut.fi User-Agent: Gnus/5.1006 (Gnus v5.10.6) XEmacs/21.5 (chestnut, linux) Cancel-Lock: sha1:UKCgYTjrJCaJqBdBmN5goAzAYXc= X-Spam-Score: -2.6 (--) Precedence: bulk Original-Sender: ding-owner@lists.math.uh.edu Xref: news.gmane.org gmane.emacs.gnus.general:61313 Archived-At: Simon Josefsson writes: > "Ted Zlatanov" writes: >> Can we set it on automatically if the server tells us it's a Courier >> server? Mine does in the first OK response, right after connecting. > > Yes, I don't see how that would hurt anyone, except potentially > Courier users. Some code to detect that it is the Courier server and > to set the variable would be needed, though. Do Courier support the > ID extension? There is support for ID in imap.el. At least the version I'm using doesn't support ID, so we'd have to look at the first OK response. In my case it looks like this: * OK [CAPABILITY IMAP4rev1 UIDPLUS CHILDREN NAMESPACE THREAD=ORDEREDSUBJECT THREAD=REFERENCES SORT QUOTA IDLE AUTH=PLAIN ACL ACL2=UNION] Courier-IMAP ready. Copyright 1998-2004 Double Precision, Inc. See COPYING for distribution information. By the way, RFC 2971, which defines the ID extension, specifically forbids using it to work around bugs or to optimize for a particular client or server, with the rationale that the extension must not "supplant IMAP's CAPABILITY mechanism with a ad-hoc approach". (So the standards-compliant way to do this would be to ask the Courier developers to advertise a "X-SLOW-UID-SEARCH" capability so we can detect it in Gnus?!) -- Jouni K Seppänen