Gnus development mailing list
 help / color / mirror / Atom feed
From: Simon Josefsson <simon@josefsson.org>
To: Yair Friedman <yif@iskoot.com>
Cc: "Gnus Mailing List" <ding@gnus.org>,
	usenet6@mevik.net (Bjørn-Helge Mevik)
Subject: Re: problem in connecting to Exchange 2007
Date: Fri, 08 Jun 2007 13:34:41 +0200	[thread overview]
Message-ID: <878xau3cj2.fsf@mocca.josefsson.org> (raw)
In-Reply-To: <87abvbesat.fsf@yair.iskoot.com> (Yair Friedman's message of "Thu, 07 Jun 2007 17:46:18 +0300")

Yair Friedman <yif@iskoot.com> writes:

> On Thu, 7 Jun 2007 16:29:19 +0300, 
> Simon Josefsson <simon@josefsson.org> writes:
>
>> Yair Friedman <yif@iskoot.com> writes:
>>
>>> On Thu, 7 Jun 2007 12:05:03 +0300,
>>> Simon Josefsson <simon@josefsson.org> writes:
>>>
>>>> Yair Friedman <yif@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?
>>
>> 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:
> <m0hcpu1n3s.fsf@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?

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



      reply	other threads:[~2007-06-08 11:34 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-06-05  9:23 Yair Friedman
2007-06-07  9:05 ` Simon Josefsson
2007-06-07 12:02   ` Yair Friedman
2007-06-07 13:29     ` Simon Josefsson
2007-06-07 14:46       ` Yair Friedman
2007-06-08 11:34         ` Simon Josefsson [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=878xau3cj2.fsf@mocca.josefsson.org \
    --to=simon@josefsson.org \
    --cc=ding@gnus.org \
    --cc=usenet6@mevik.net \
    --cc=yif@iskoot.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).