From c59ed64b4fb85c56e7afb1a296d6ae792bfc1a6b Mon Sep 17 00:00:00 2001 From: "Eric S. Raymond" Date: Mon, 2 Mar 1998 15:09:35 +0000 Subject: Relax the LOGIN capability test. svn path=/trunk/; revision=1679 --- NEWS | 3 +++ imap.c | 3 ++- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/NEWS b/NEWS index 5fb98822..83bc3611 100644 --- a/NEWS +++ b/NEWS @@ -18,6 +18,9 @@ Release Notes: ------------------------------------------------------------------------------ +fetchmail-4.4.0 (): +* Relax the LOGIN capability check in IMAP. + fetchmail-4.3.8 (Tue Feb 24 15:47:13 EST 1998): * Documentation cleanup. * -S is back to setting smtphost all the time; net-security option is now -T. diff --git a/imap.c b/imap.c index af605789..66f42c8a 100644 --- a/imap.c +++ b/imap.c @@ -648,7 +648,8 @@ int imap_getauth(int sock, struct query *ctl, char *greeting) } #endif /* KERBEROS_V4 */ - if ((imap_version >= IMAP4rev1) && (!strstr(capabilities, "AUTH=LOGIN"))) { + /* this handles either AUTH=LOGIN or AUTH-LOGIN */ + if ((imap_version >= IMAP4rev1) && (!strstr(capabilities, "LOGIN"))) { error(0,-1, "Required LOGIN capability not supported by server"); return PS_AUTHFAIL; }; -- cgit v1.2.3