On 2009-01-06 02:34 +0100, Eric Warmenhoven wrote:

> Package: emacs22
> Version: 22.2+2-5
> Followup-For: Bug #510926
>
> This problem also is in imap.el.gz, in imap-message-copyuid-1 and
> imap-message-appenduid-1. "*" is not a valid message set;

Only in Exchange 2007 it isn't.  I'm not an IMAP expert, but the Gnus
developers seem to be of the opinion that Exchange 2007 simply does not
implement the RFC 2060 specifications correctly.

> it should be "1:*". Changing those two things and gnus works for me
> again. (Our company recently upgraded to Microsoft Exchange Server
> 2007.)

Too bad for you.  The problem has been discussed a lot on the ding
mailing list, the current CVS version of Gnus has a variable
imap-enable-exchange-bug-workaround:

,----
| imap-enable-exchange-bug-workaround is a variable defined in `imap.el'.
| Its value is nil
| 
| Documentation:
| Send FETCH UID commands as *:* instead of *.
| 
| When non-nil, use an alternative UIDS form.  Enabling appears to
| be required for some servers (e.g., Microsoft Exchange 2007)
| which otherwise would trigger a response 'BAD The specified
| message set is invalid.'.  We don't unconditionally use this
| form, since this is said to be significantly inefficient.
| 
| This variable is set to t automatically per server if the
| canonical form fails.
`----

The code for the workaround seems to be in flux, I'll try to send a
patch for the emacs22 version of Gnus when it's more stable and tested
better.

Cheers,
       Sven



-- 
To UNSUBSCRIBE, email to [email protected]
with a subject of "unsubscribe". Trouble? Contact [email protected]

Reply via email to