From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/66642 Path: news.gmane.org!not-for-mail From: Jake Colman Newsgroups: gmane.emacs.devel,gmane.emacs.gnus.general Subject: Re: Exchange 2007 Issues When Copying Between Folders Date: Tue, 01 Apr 2008 10:14:58 -0400 Message-ID: <76bq4tk6fx.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 1207074960 28343 80.91.229.12 (1 Apr 2008 18:36:00 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Tue, 1 Apr 2008 18:36:00 +0000 (UTC) Cc: Ted Zlatanov , "ding@gnus.org" , Emacs developers To: Simon Josefsson Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Tue Apr 01 20:36:31 2008 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1JglLH-0004oj-3x for ged-emacs-devel@m.gmane.org; Tue, 01 Apr 2008 20:36:19 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1JglKf-0000b9-1Q for ged-emacs-devel@m.gmane.org; Tue, 01 Apr 2008 14:35:41 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1JghiB-0004uC-HF for emacs-devel@gnu.org; Tue, 01 Apr 2008 10:43:43 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1Jghi7-0004sS-Pq for emacs-devel@gnu.org; Tue, 01 Apr 2008 10:43:43 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Jghi7-0004sI-M0 for emacs-devel@gnu.org; Tue, 01 Apr 2008 10:43:39 -0400 Original-Received: from mx20.gnu.org ([199.232.41.8]) by monty-python.gnu.org with esmtps (TLS-1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1Jghi7-0007tY-2Q for emacs-devel@gnu.org; Tue, 01 Apr 2008 10:43:39 -0400 Original-Received: from hamilton.ppllc.com ([69.7.239.36]) by mx20.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1Jghi5-000159-Am for emacs-devel@gnu.org; Tue, 01 Apr 2008 10:43:37 -0400 Original-Received: from dev-d01.ppllc.com ([10.10.9.130]) by hamilton.ppllc.com with SMTP (Microsoft Exchange Internet Mail Service Version 5.5.2657.72) id FKMJFSTA; Tue, 1 Apr 2008 10:45:01 -0400 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 m31EF0SI011746; Tue, 1 Apr 2008 10:15:00 -0400 (EDT) Original-Received: (from colman@localhost) by dev-d01.ppllc.com (8.13.8+Sun/8.13.8/Submit) id m31EF00n011745; Tue, 1 Apr 2008 10:15:00 -0400 (EDT) X-Authentication-Warning: dev-d01.ppllc.com: colman set sender to colman@ppllc.com using -f 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-Attribution: Jake X-URL: http://www.principiapartners.com X-detected-kernel: by mx20.gnu.org: Windows NT 4.0 (older) X-detected-kernel: by monty-python.gnu.org: Linux 2.6, seldom 2.4 (older, 4) X-Mailman-Approved-At: Tue, 01 Apr 2008 14:35:00 -0400 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:94138 gmane.emacs.gnus.general:66642 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