From a0ebd4fe2d35074d934ac89e1599cee5f0ea6c81 Mon Sep 17 00:00:00 2001 From: "Eric S. Raymond" Date: Fri, 24 Mar 2000 05:20:37 +0000 Subject: Back out the InterChange workaround. svn path=/trunk/; revision=2837 --- imap.c | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'imap.c') diff --git a/imap.c b/imap.c index 9926dad2..6f6645ce 100644 --- a/imap.c +++ b/imap.c @@ -1262,20 +1262,20 @@ static int imap_fetch_body(int sock, struct query *ctl, int number, int *lenp) * The server is InterChange, and the fool who implemented this * misfeature ought to be strung up by his thumbs. * - * To work around this, we disable use of the 4rev1 form. It's - * all too easy to imagine other clever idiots deciding that the - * message body doesn't include attachments. + * When I tried working around this by disable use of the 4rev1 form, + * I found that doing this breaks operation with M$ Exchange. + * Annoyingly enough, Exchange's refusal to cope is technically legal + * under RFC2062. Trust Microsoft, the Great Enemy of interoperability + * standards, to find a way to make standards compliance irritating.... */ switch (imap_version) { case IMAP4rev1: /* RFC 2060 */ -#ifdef __UNUSED__ if (!ctl->keep) gen_send(sock, "FETCH %d BODY.PEEK[TEXT]", number); else gen_send(sock, "FETCH %d BODY[TEXT]", number); break; -#endif /* UNUSED -- FALL THROGH */ case IMAP4: /* RFC 1730 */ if (!ctl->keep) -- cgit v1.2.3