aboutsummaryrefslogtreecommitdiffstats
path: root/imap.c
diff options
context:
space:
mode:
authorEric S. Raymond <esr@thyrsus.com>2000-03-24 05:20:37 +0000
committerEric S. Raymond <esr@thyrsus.com>2000-03-24 05:20:37 +0000
commita0ebd4fe2d35074d934ac89e1599cee5f0ea6c81 (patch)
tree87116c87ce45e857fabf3870fd6ffe99800e8523 /imap.c
parentcb022a3a381d57f3d64c5d4436130da4527571d4 (diff)
downloadfetchmail-a0ebd4fe2d35074d934ac89e1599cee5f0ea6c81.tar.gz
fetchmail-a0ebd4fe2d35074d934ac89e1599cee5f0ea6c81.tar.bz2
fetchmail-a0ebd4fe2d35074d934ac89e1599cee5f0ea6c81.zip
Back out the InterChange workaround.
svn path=/trunk/; revision=2837
Diffstat (limited to 'imap.c')
-rw-r--r--imap.c10
1 files changed, 5 insertions, 5 deletions
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)