From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/66633 Path: news.gmane.org!not-for-mail From: Jake Colman Newsgroups: gmane.emacs.gnus.general,gmane.emacs.devel Subject: Re: Exchange 2007 Issues When Copying Between Folders Date: Tue, 01 Apr 2008 10:13:48 -0400 Message-ID: <76d4p9k6hv.fsf@dev-d01.ppllc.com> References: <767ifjymej.fsf@dev-d01.ppllc.com> <868wzypw22.fsf@lifelogs.com> <878wzxr7ny.fsf@mocca.josefsson.org> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: ger.gmane.org 1207059368 28101 80.91.229.12 (1 Apr 2008 14:16:08 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Tue, 1 Apr 2008 14:16:08 +0000 (UTC) Cc: Ted Zlatanov , "ding\@gnus.org" , Emacs developers To: Simon Josefsson Original-X-From: ding-owner+M15118@lists.math.uh.edu Tue Apr 01 16:16:40 2008 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.50) id 1JghGY-0005wD-Pt for ding-account@gmane.org; Tue, 01 Apr 2008 16:15:11 +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 1JghFv-0002xq-P1; Tue, 01 Apr 2008 09:14:31 -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 1JghFu-0002xd-HE for ding@lists.math.uh.edu; Tue, 01 Apr 2008 09:14:30 -0500 Original-Received: from quimby.gnus.org ([80.91.231.51]) by mx1.math.uh.edu with esmtp (Exim 4.67) (envelope-from ) id 1JghFn-0003g7-On for ding@lists.math.uh.edu; Tue, 01 Apr 2008 09:14:30 -0500 Original-Received: from [69.7.239.34] (helo=dev-d01.ppllc.com) by quimby.gnus.org with esmtp (Exim 3.35 #1 (Debian)) id 1JghFw-0001aA-00 for ; Tue, 01 Apr 2008 16:14:32 +0200 Original-Received: from dev-d01.ppllc.com (localhost [127.0.0.1]) by dev-d01.ppllc.com (8.13.8+Sun/8.13.8) with ESMTP id m31EDoEL011672; Tue, 1 Apr 2008 10:13:50 -0400 (EDT) Original-Received: (from colman@localhost) by dev-d01.ppllc.com (8.13.8+Sun/8.13.8/Submit) id m31EDoKG011671; Tue, 1 Apr 2008 10:13:50 -0400 (EDT) X-Authentication-Warning: dev-d01.ppllc.com: colman set sender to colman@ppllc.com using -f X-Attribution: Jake X-URL: http://www.principiapartners.com In-Reply-To: <878wzxr7ny.fsf@mocca.josefsson.org> (Simon Josefsson's message of "Tue, 1 Apr 2008 10:06:41 -0400") User-Agent: Gnus/5.110007 (No Gnus v0.7) XEmacs/21.4.17 (usg-unix-v, no MULE) X-Spam-Score: -2.5 (--) List-ID: Precedence: bulk Xref: news.gmane.org gmane.emacs.gnus.general:66633 gmane.emacs.devel:94112 Archived-At: >>>>> "SJ" == Simon Josefsson writes: SJ> Ted Zlatanov writes: >> On Mon, 31 Mar 2008 10:54:12 -0400 Jake Colman wrote: >> JC> Ted suggested that I post here as I find more issues with using Gnus JC> with Exchange 2007. >> JC> If I move an email between IMAP folders ('B m'), I get the following SJ> messages: >> JC> Registry: Registering article 6 with group SJ> nnimap+exchange-d01:INBOX/Development/gnu JC> Registry: Registering article 7 with group SJ> nnimap+exchange-d01:INBOX/Development/gnu JC> Moving to nnimap+exchange-d01:INBOX/Development/CVS: (6)... JC> nnimap-request-move-article: this is an internal move JC> The specified message set is invalid. JC> Couldn't Move article 6: The specified message set is invalid. JC> nnimap: Updating info for nnimap+exchange-d01:INBOX/Development/gnu... JC> nnimap: Updating info for SJ> nnimap+exchange-d01:INBOX/Development/gnu...done >> JC> The message is, in fact, copied between the 'gnu' folder and the 'CVS' JC> folder but it is not deleted from the 'gnu' folder. >> JC> I am attaching the output of the imap-debug buffer showing everything SJ> starting JC> with pressing 'B m'. >> >> The command that caused the problem: >> >> 511 UID FETCH * UID >> >> (copying emacs-devel regarding the maintenance issue) >> >> Simon Josefsson hasn't replied to my pings, so I think he may not be >> available for imap.el support. Simon, please let us know if that's not >> the case. SJ> Hi! Sorry for not responding, I have been busy with other things, and I SJ> don't have much time to work on (nn)imap.el any more. I have time to SJ> review concrete patches, but little time to help debug problems with SJ> some servers. SJ> However, the recently installed patch for Gnus is definitely the wrong SJ> thing: SJ> - (imap-fetch "1,*" "UID" nil 'nouidfetch) SJ> + (imap-fetch "1:*" "UID" nil 'nouidfetch) SJ> This generates thousands and thousands of unnecessary lines of output, SJ> such as: SJ> 669 FETCH 1:* UID SJ> * 1 FETCH (UID 53159) SJ> * 2 FETCH (UID 53160) SJ> * 3 FETCH (UID 53161) SJ> ... SJ> * 103915 FETCH (UID 157074) SJ> * 103916 FETCH (UID 157075) SJ> * 103917 FETCH (UID 157076) SJ> 669 OK Completed SJ> That's about 2-3MB of output, and that was getting information for one SJ> of my folders (I subscribe to maybe 100-150 folders..). SJ> This slows down pressing 'g' on my server from sub-seconds to a very SJ> long time (I pressed C-g after half a minute). SJ> This is how the output should look like: SJ> 698 FETCH 1,* UID SJ> * 1 FETCH (UID 53159) SJ> * 103918 FETCH (UID 157077) SJ> 698 OK Completed SJ> That's 89 bytes and takes ms's to transfer. SJ> If you want this bug workaround in the code, please make it conditional SJ> on some variable that is disabled by default. I suggest documenting SJ> that this may slow down things considerably. Simon, Can you suggest something better to fix this problem? I'm sure that I'm not the only user who will want to use Gnus with Exchange 2007. This fix, incorrect though it may be, does work. Is there something other IMAP command that will get data in the way Gnus needs to see it? ...Jake -- Jake Colman Director of Software Development Principia Partners LLC 101 West Elm Street Suite 620 Conshohocken, PA 19428 +1 (610) 755-9786 www.principiapartners.com