From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/64788 Path: news.gmane.org!not-for-mail From: Simon Josefsson Newsgroups: gmane.emacs.gnus.general Subject: Re: problem in connecting to Exchange 2007 Date: Fri, 08 Jun 2007 13:34:41 +0200 Message-ID: <878xau3cj2.fsf@mocca.josefsson.org> References: <87bqfuwy8p.fsf@yair.iskoot.com> <873b143zk0.fsf@mocca.josefsson.org> <87ejkodlan.fsf@yair.iskoot.com> <87odjrao5s.fsf@mocca.josefsson.org> <87abvbesat.fsf@yair.iskoot.com> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1181295324 30625 80.91.229.12 (8 Jun 2007 09:35:24 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Fri, 8 Jun 2007 09:35:24 +0000 (UTC) Cc: Gnus Mailing List , usenet6@mevik.net (=?iso-8859-1?Q?Bj=F8rn-Helge?= Mevik) To: Yair Friedman Original-X-From: ding-owner+M13299@lists.math.uh.edu Fri Jun 08 11:35:23 2007 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 1HwasM-0007gz-Qs for ding-account@gmane.org; Fri, 08 Jun 2007 11:35:23 +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 1Hwaru-00040b-Er; Fri, 08 Jun 2007 04:34:54 -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 1Hwars-00040G-Sh for ding@lists.math.uh.edu; Fri, 08 Jun 2007 04:34:52 -0500 Original-Received: from quimby.gnus.org ([80.91.231.51]) by mx2.math.uh.edu with esmtp (Exim 4.67) (envelope-from ) id 1Hwarr-00068K-3Q for ding@lists.math.uh.edu; Fri, 08 Jun 2007 04:34:52 -0500 Original-Received: from vinyl.extundo.com ([83.241.192.59]) by quimby.gnus.org with esmtp (Exim 3.35 #1 (Debian)) id 1Hwarp-0008My-00 for ; Fri, 08 Jun 2007 11:34:49 +0200 Original-Received: from mocca.josefsson.org (38.177.241.83.in-addr.dgcsystems.net [83.241.177.38]) (authenticated bits=0) by vinyl.extundo.com (8.13.4/8.13.4/Debian-3sarge3) with ESMTP id l589Yg8w020797 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NOT); Fri, 8 Jun 2007 11:34:44 +0200 In-Reply-To: <87abvbesat.fsf@yair.iskoot.com> (Yair Friedman's message of "Thu, 07 Jun 2007 17:46:18 +0300") User-Agent: Gnus/5.110007 (No Gnus v0.7) Emacs/22.0.95 (gnu/linux) OpenPGP: id=B565716F; url=http://josefsson.org/key.txt Mail-Copies-To: nobody X-Hashcash: 1:22:070608:usenet6@mevik.net::j1lr1UYNl48LLVJQ:6Ozi X-Hashcash: 1:22:070608:ding@gnus.org::5sUQ7/zLFb1IN2Xh:3h/O X-Hashcash: 1:22:070608:yif@iskoot.com::iV2cxtBZye3QEicf:+kW5 X-Spam-Score: -2.5 (--) List-ID: Precedence: bulk Xref: news.gmane.org gmane.emacs.gnus.general:64788 Archived-At: Yair Friedman writes: > On Thu, 7 Jun 2007 16:29:19 +0300, > Simon Josefsson writes: > >> Yair Friedman writes: >> >>> On Thu, 7 Jun 2007 12:05:03 +0300, >>> Simon Josefsson writes: >>> >>>> Yair Friedman writes: >>>> As far as I can tell, the server is simply buggy, there is nothing wrong >>>> with the simple command: >>>> >>>> 50 FETCH 1,* UID >>>> >>>> to which the server responds (in several mailboxes): >>>> >>>> 50 BAD The specified message set is invalid. >>>> >>>> I suggest debugging the server further, possibly report it as a bug, or >>>> change to some other software. >>> >>> This is Microsoft Exchange we're talking about... The server is out of >>> my control, The only software I can change is the client :( >>> Thunderbird seems to be working fine. >>> >>> Is there any way we can try and bypass this? >> >> Not trivially, you'll have to rewrite parts of (nn)imap.el after >> experimenting with what the server supports. It may be difficult, and I >> suspect that if one command doesn't work, others will work poorly as >> well... Sorry. >> >> It would be useful to know if anyone else has ever seen this. >> >> /Simon > > I suspect it would be a problem for those poor of us who are forced to > use Exchange as this version would become more popular in the corporate > world. > > The only other reference to such a problem I found is this Message-ID: > > > I am willing to help in any necessary testing, but my elisp writing > skills are not too good, and my IMAP protocol knowledge is non-existent. > > Would tracing what Thunderbird do can help? Or do you find the usage > patterns too far away? No, it won't help, at least not unless you are ready to re-write large portions of nnimap. The problem is that nnimap need to get the data that Gnus request, and that is historically somewhat nntp-centric. Other IMAP-clients doesn't need to get the same data from the IMAP server, and will thus never send similar queries. It might be possible to find some other way in IMAP to get the same data as 'UID FETCH 1,* UID' that the server handles. But you'll need to learn some IMAP and elisp to experiment with that. For example, you could use 'telnet' against the server and login and test various commands. For example, if 'UID FETCH 1 UID' and 'UID FETCH * UID' works as separate commands, that together would return the needed data. But to be able to come up with inventive ideas of commands to try, you'll need to know IMAP. I'm sorry that I don't have time to help you more that this. /Simon