aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorEric S. Raymond <esr@thyrsus.com>1997-06-02 16:46:30 +0000
committerEric S. Raymond <esr@thyrsus.com>1997-06-02 16:46:30 +0000
commitb67412964c82904079c556b3d519a8539f731a17 (patch)
treec0594d0fe1abdc8c9f9fe99f62d035ba8534e685
parent1b1e63b4809236afa6741773cf27604f380257e1 (diff)
downloadfetchmail-b67412964c82904079c556b3d519a8539f731a17.tar.gz
fetchmail-b67412964c82904079c556b3d519a8539f731a17.tar.bz2
fetchmail-b67412964c82904079c556b3d519a8539f731a17.zip
Caseblind interpretation of capability response.
svn path=/trunk/; revision=1058
-rw-r--r--imap.c3
1 files changed, 2 insertions, 1 deletions
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)