Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

problem in connecting to Exchange 2007

58 views
Skip to first unread message

Yair Friedman

unread,
Jun 5, 2007, 5:23:50 AM6/5/07
to
Hello,

I currently have to start using a new exchange server (via IMAP). I was
successful connecting to the server, but I can't open groups and keep
getting the message "BAD The specified message set is invalid".

Previous exchange server 2003 does not have problems.

Happens on Emacs 21.3 and CVS gnus checkout from 2007-06-05 08:40 UTC.

Attached are imap-log and nnimap log eroring when entering the server
from the server list buffer.


imap-debug
nnimap-debug

Simon Josefsson

unread,
Jun 7, 2007, 5:05:03 AM6/7/07
to di...@gnus.org
Yair Friedman <y...@iskoot.com> 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.

/Simon


Yair Friedman

unread,
Jun 7, 2007, 8:02:56 AM6/7/07
to
On Thu, 7 Jun 2007 12:05:03 +0300,
Simon Josefsson <si...@josefsson.org> writes:

> Yair Friedman <y...@iskoot.com> 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?

Thanks


Simon Josefsson

unread,
Jun 7, 2007, 9:29:19 AM6/7/07
to Gnus Mailing List
Yair Friedman <y...@iskoot.com> writes:

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


Yair Friedman

unread,
Jun 7, 2007, 10:46:18 AM6/7/07
to Bjørn-Helge Mevik
On Thu, 7 Jun 2007 16:29:19 +0300,
Simon Josefsson <si...@josefsson.org> writes:

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:
<m0hcpu1...@bar.nemo-project.org>

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?

Thanks for any help you can offer.

Yair


Simon Josefsson

unread,
Jun 8, 2007, 7:34:41 AM6/8/07
to Gnus Mailing List, Bjørn-Helge Mevik
Yair Friedman <y...@iskoot.com> writes:

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


0 new messages