From 616e8c70a39521839847d4c3b61fcb878b689075 Mon Sep 17 00:00:00 2001 From: Matthias Andree Date: Fri, 27 Aug 2021 19:24:03 +0200 Subject: imap.c, pop3.c: fix protocol regression of 6.4.22.rc1 fetchmail 6.4.22.rc1 clobbered its IMAP state too late, and lost information on the protocol version in many circumstances. Consequently, it tried to talk IMAP4 to IMAP4rev1 servers, which failed. This fix the clear_sessiondata() out to the new constructor and destructor, such that imap_getauth() only needs to call it after STARTTLS, when it must re-probe CAPABILITY anyways. This was the same bug for POP3, which however does not collect state from the greeting, so that the bug was without effect for POP3. Reported by: Corey Halpin, FreeBSD port maintainer. --- NEWS | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'NEWS') diff --git a/NEWS b/NEWS index ab6a035d..44275b28 100644 --- a/NEWS +++ b/NEWS @@ -84,6 +84,10 @@ removed from a 6.5.0 or newer release.) * Kerberos 5 may be broken, particularly on Heimdal, and provide bogus error messages. This will not be fixed, because the maintainer has no Kerberos 5 server to test against. Use GSSAPI. +* For IMAP connections, fetchmail will print "will idle after poll" in + verbose mode even though --idle is not given, as an artifact of the 6.4.22 + security fixes. Fetchmail means "could idle after poll", but this would + have required another loop through the translators. -------------------------------------------------------------------------------- fetchmail-6.4.22 (not yet released): -- cgit v1.2.3