Gnus development mailing list
 help / color / mirror / Atom feed
From: Simon Josefsson <simon@josefsson.org>
To: nathanw@MIT.EDU (Nathan J. Williams)
Cc: ding@gnus.org
Subject: Re: problem in connecting to Exchange 2007 - possible solution?
Date: Mon, 03 Dec 2007 19:01:23 +0100	[thread overview]
Message-ID: <87bq97psi4.fsf@mocca.josefsson.org> (raw)
In-Reply-To: <mtur6i34sls.fsf@contents-vnder-pressvre.mit.edu> (Nathan J. Williams's message of "Mon, 03 Dec 2007 12:04:47 -0500")

nathanw@MIT.EDU (Nathan J. Williams) writes:

> nathanw@MIT.EDU (Nathan J. Williams) writes:
>
>> Hi. My company's mail server was just moved to MS Exchange 2007, and I
>> quickly ran into the IMAP problem described here:
>>
>> http://article.gmane.org/gmane.emacs.gnus.general/64775
>>
>> which is that "FETCH 1,* UID" isn't supported by this server, and it
>> returns with "BAD The specified message set is invalid"
>>
>> Some experimenting later, I found that "FETCH 1 UID" and "FETCH *:*
>> UID" work individually to get the lowest and highest number; "FETCH
>> 1,*:* UID" seems to do the same job as "FETCH 1,* UID". A quick patch
>> followed:
>
> I found two other places where a "FETCH *" needed to be replaced by
> "FETCH *:*" to get things working properly. Patch follows.

We shouldn't apply this so it is enabled by everyone, because it wastes
bandwidth (sometimes by a large factor, bandwidth goes from O(1) to O(n)
where n is the size of the mailbox...).  Maybe you could rewrite this so
that it is only used if some variable is enabled?

/Simon



  reply	other threads:[~2007-12-03 18:01 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-11-29 23:58 Nathan J. Williams
2007-12-03 17:04 ` Nathan J. Williams
2007-12-03 18:01   ` Simon Josefsson [this message]
2007-12-03 18:14     ` Nathan J. Williams
2007-12-04 13:46       ` Simon Josefsson
2007-12-04 15:20         ` Nathan J. Williams

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=87bq97psi4.fsf@mocca.josefsson.org \
    --to=simon@josefsson.org \
    --cc=ding@gnus.org \
    --cc=nathanw@MIT.EDU \
    /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).