From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/67424 Path: news.gmane.org!not-for-mail From: Vitaly Mayatskikh Newsgroups: gmane.emacs.gnus.general Subject: Re: gnus IMAP vs. Exchange Server 2007 Date: Wed, 24 Sep 2008 08:21:52 +0200 Message-ID: References: NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: ger.gmane.org 1222237381 8205 80.91.229.12 (24 Sep 2008 06:23:01 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Wed, 24 Sep 2008 06:23:01 +0000 (UTC) Cc: ding@gnus.org To: Mat Marcus Original-X-From: ding-owner+M15875@lists.math.uh.edu Wed Sep 24 08:23: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 1KiNn2-0007Sg-0N for ding-account@gmane.org; Wed, 24 Sep 2008 08:23:56 +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 1KiNlE-0006kT-A7; Wed, 24 Sep 2008 01:22:04 -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 1KiNlB-0006kH-7r for ding@lists.math.uh.edu; Wed, 24 Sep 2008 01:22:01 -0500 Original-Received: from quimby.gnus.org ([80.91.231.51]) by mx2.math.uh.edu with esmtp (Exim 4.69) (envelope-from ) id 1KiNl8-0003SA-D2 for ding@lists.math.uh.edu; Wed, 24 Sep 2008 01:22:01 -0500 Original-Received: from ik-out-1112.google.com ([66.249.90.182]) by quimby.gnus.org with esmtp (Exim 3.36 #1 (Debian)) id 1KiNlD-0000fw-00 for ; Wed, 24 Sep 2008 08:22:03 +0200 Original-Received: by ik-out-1112.google.com with SMTP id c21so1526986ika.1 for ; Tue, 23 Sep 2008 23:21:56 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:from:to:cc:subject :in-reply-to:references:user-agent:date:message-id:mime-version :content-type; bh=FqdBcL8VsLXOnLW4GcKy4FsdZi87/ZW99WlBrD4LsNs=; b=yFQrB3oinh8ycOUvRknvbyYlJ+ezO5ISaYxw556Xvhj7LXa3TdpHobkvglQks0SoEN cGHvzGjF+n/MzlZqU9egfg8jPj9j7hShZJobvO93EA2rvZdJ8yghaQGu6VUhI6JOW6uR SJRrFF63tCzw5HQKfIz9olIWnfRYAe+YI393A= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=from:to:cc:subject:in-reply-to:references:user-agent:date :message-id:mime-version:content-type; b=PYNNXfOC9UH8d8abAAQeFmVPB8w5wJbaZlWFTG2hqLI7iJ2Gqno9GuHEL2i/2rR+fQ Gr+quwrX5F9ybVS90HfgxkYPGZf1K5a5FbDW3O7nb9wQvMtbvjwvjkkk2AD95Elg63GY et4gl8tBfU0sgcB3LM+7hfLKzXaAlxSRJaLdM= Original-Received: by 10.210.46.14 with SMTP id t14mr7936534ebt.0.1222237315786; Tue, 23 Sep 2008 23:21:55 -0700 (PDT) Original-Received: from gravicappa.englab.brq.redhat.com (r10ki95.net.upc.cz [78.45.38.95]) by mx.google.com with ESMTPS id f13sm5296813gvd.10.2008.09.23.23.21.53 (version=TLSv1/SSLv3 cipher=RC4-MD5); Tue, 23 Sep 2008 23:21:54 -0700 (PDT) In-Reply-To: (Mat Marcus's message of "Tue, 23 Sep 2008 20:52:00 +0000 (UTC)") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.0.60 (gnu/linux) X-Spam-Score: -2.6 (--) List-ID: Precedence: bulk Xref: news.gmane.org gmane.emacs.gnus.general:67424 Archived-At: 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.'." -- wbr, Vitaly