From b67412964c82904079c556b3d519a8539f731a17 Mon Sep 17 00:00:00 2001 From: "Eric S. Raymond" Date: Mon, 2 Jun 1997 16:46:30 +0000 Subject: Caseblind interpretation of capability response. svn path=/trunk/; revision=1058 --- imap.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/imap.c b/imap.c index fb057bda..404f8937 100644 --- a/imap.c +++ b/imap.c @@ -325,7 +325,8 @@ int imap_getauth(int sock, struct query *ctl, char *buf) if (outlevel == O_VERBOSE) error(0, 0, "Protocol identified as IMAP2 or IMAP2BIS"); } - else if (strstr(rbuf, "IMAP4rev1")) + /* UW-IMAP server 10.173 notifies in all caps */ + else if (strstr(rbuf, "IMAP4rev1") || strstr(rbuf, "IMAP4REV1")) { imap_version = IMAP4rev1; if (outlevel == O_VERBOSE) -- cgit v1.2.3