From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/67431 Path: news.gmane.org!not-for-mail From: "Mat Marcus" Newsgroups: gmane.emacs.gnus.general Subject: Re: gnus IMAP vs. Exchange Server 2007 Date: Wed, 24 Sep 2008 10:07:09 -0700 Message-ID: <9206c7e10809241007t13f92263lb4946826a852560f@mail.gmail.com> References: NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1222276082 14250 80.91.229.12 (24 Sep 2008 17:08:02 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Wed, 24 Sep 2008 17:08:02 +0000 (UTC) Cc: ding@gnus.org To: "Vitaly Mayatskikh" Original-X-From: ding-owner+M15882@lists.math.uh.edu Wed Sep 24 19:08:59 2008 connect(): Connection refused 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 1KiXr1-00022d-Mb for ding-account@gmane.org; Wed, 24 Sep 2008 19:08:44 +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 1KiXpq-0002r9-ID; Wed, 24 Sep 2008 12:07:30 -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 1KiXpp-0002qn-2h for ding@lists.math.uh.edu; Wed, 24 Sep 2008 12:07:29 -0500 Original-Received: from quimby.gnus.org ([80.91.231.51]) by mx1.math.uh.edu with esmtp (Exim 4.69) (envelope-from ) id 1KiXpe-0003nn-42 for ding@lists.math.uh.edu; Wed, 24 Sep 2008 12:07:29 -0500 Original-Received: from nf-out-0910.google.com ([64.233.182.190]) by quimby.gnus.org with esmtp (Exim 3.36 #1 (Debian)) id 1KiXpi-0004O4-00 for ; Wed, 24 Sep 2008 19:07:22 +0200 Original-Received: by nf-out-0910.google.com with SMTP id d21so787nfb.37 for ; Wed, 24 Sep 2008 10:07:16 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:sender :to:subject:cc:in-reply-to:mime-version:content-type :content-transfer-encoding:content-disposition:references :x-google-sender-auth; bh=pAoTik6ZgDDHvmLtIEqMbeT+5kzY17AI9xRQR8AvfqA=; b=uzuyAOPqjZjeE+KvpaEVoVYbUD8cbv0JhsVBi5cSs0aOWl1dm6VYAQ9wla0l/BVlmF 1fePL+nrynMN3NIjWVb0BiHVcFDpLke0gXqZnUMS6/0sh1zgYT3pYQfE0oaSEhKPfiR8 y1MKKb/Q7IKFerxZYYHzPn5l31QKKyS04m/2M= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:sender:to:subject:cc:in-reply-to:mime-version :content-type:content-transfer-encoding:content-disposition :references:x-google-sender-auth; b=vqi0BBHvG2B5i74wzzfqSX6ukFwR0J9zELW/pMbysHRBzTJV5vFLyOO/HRwRWeTnJF Sx3ccsTAIByp7b5+LXuNTGOnXS5sHhUIy++Xe8fhbZGgJlyRycgojBAFi5/ienpxxkv/ 6eIQSgN7wStCXBVnsijgL9decpyIqzcK030VM= Original-Received: by 10.210.113.16 with SMTP id l16mr544526ebc.85.1222276029328; Wed, 24 Sep 2008 10:07:09 -0700 (PDT) Original-Received: by 10.210.134.13 with HTTP; Wed, 24 Sep 2008 10:07:09 -0700 (PDT) In-Reply-To: Content-Disposition: inline X-Google-Sender-Auth: 7bb922f95f919b99 X-Spam-Score: -2.6 (--) List-ID: Precedence: bulk Xref: news.gmane.org gmane.emacs.gnus.general:67431 Archived-At: On Tue, Sep 23, 2008 at 11:21 PM, Vitaly Mayatskikh wrote: > Mat Marcus writes: > >> At work, we recently "upgraded" from MS Exchange Server 2003 to 2007. Suddenly >> gnus stopped working as an IMAP client. As Thunderbird also had problems I >> decided to do a little debugging. After viewing the *imap-log* I noticed that in >> the course of the seesion, gnus sends the command >> >> 124 FETCH 1,* UID >> >> to which MS Exchange Server 2007 >> >> 124 BAD The specified message set is invalid. >> >> Things go downhill from there. I also manually telneted in and issued the same >> command, and received the same result. My questions are: >> >> 1) is 124 FETCH 1,* UID a valid IMAP command for non-empty mailboxes? >> 2) if so, is this an MS Exchange Server 2007 bug? >> 3) in either case is there a patch workaround for gnus? I am currently running >> gnus "5.11" that comes with emacs 22.1.1. >> >> Sorry if this has already been covered--I am not an expert in IMAP protocols, >> Exchange Server, or gnus. > > (setq imap-enable-exchange-bug-workaround t) > > "Documentation: > Send FETCH UID commands as *:* instead of *. > Enabling this appears to be required for some servers (e.g., > Microsoft Exchange) which otherwise would trigger a response 'BAD > The specified message set is invalid.'." Thanks for the reply. This variable is just what I need. C-h v indicates that it is not present in the version of gnus that I have (see 3, above). Do I just grab an arbitrary nightly snapshot and replace my lisp/gnus folder? Or will this introduce more "instabilities" than it is worth? Or am I better off downloading and compiling a newer emacs? If so, which version will suffice? Is there an FAQ about this? Thanks again for your patient replies, Mat