1Fetchmail Release Notes 2======================= 3 4This file is in Unicode charset with UTF-8 encoding. 5All dates are in Universal Time unless otherwise noted. 6 7(The `lines' figures total .c, .h, .l, and .y files under version control. 8Abbreviations in parentheses are the maintainers who committed the respective 9change. MA = Matthias Andree, ESR = Eric S. Raymond, RF = Rob Funk.) 10 11# ADVANCE WARNING OF FEATURES TO BE REMOVED OR CHANGED IN FUTURE VERSIONS 12(There are no plans to remove features from a 6.4.X release, but they may be 13removed from a 6.5.0 or newer release.) 14* Future fetchmail releases may require compilers and operating systems 15 that adhere to standards issued 2011 or later. 16 (Currently, C89 and Single Unix Specification V2 should suffice.) 17* Future fetchmail releases may tighten up security and lean towards 18 it a bit more by, for instance, implementing recommendations from 19 RFC-7817 or RFC-8314. This may, for instance, require that TLS v1.1 20 or newer be used. 21* The MX and host alias DNS lookups that fetchmail performs in multidrop mode 22 are based on assumptions that are rarely met in practice, somewhat defective, 23 deprecated and may be removed from a future fetchmail version. 24 They have never supported IPv6 (including IPv6-mapped IPv4). 25 Non-DNS based alias keywords such as "aka" will remain in fetchmail. 26* The monitor and interface options may be removed from a future fetchmail 27 version as they are not reasonably portable across operating systems. 28* POP2 is obsolete, support will be removed from a future fetchmail version. 29* IMAP2 and IMAP4 (not IMAP4r1) are obsolete, support may be removed from a 30 future fetchmail version. 31* RPOP is obsolete, support will be removed from a future fetchmail release. 32* The multidrop To/Cc guessing code along with the fragile duplicate suppressor 33 is deprecated and may be removed from a future release. 34* The "envelope Received" option may be removed from a future release, because 35 the Received header was never meant to be machine-readable, the format varies 36 widely, and various other differences in behavior make parsing Received an 37 unreliable undertaking. The envelope option as such will remain though, in 38 order to support Delivered-To, X-Envelope-To, X-Original-To and similar. 39 See also <http://home.pages.de/~mandree/mail/multidrop>. 40* The --enable-fallback (fall back to MDA if MTA unavailable) will be removed 41 from a future fetchmail release, because it makes fetchmail's behavior 42 inconsistent and confusing. 43* The "protocol auto" default inside fetchmail may be removed from a future 44 fetchmail release. Explicit configuration of the protocol is recommended. 45* Kerberos IV support may be removed from a future fetchmail release. 46* Kerberos 5 support may be removed from a future fetchmail release. 47* The --principal option may be removed from a future fetchmail release. 48* SIGHUP wakeup support may be removed from a future fetchmail release and 49 cause fetchmail to terminate - it was broken for many years. 50* Support for operating systems that are not sufficiently POSIX compliant may be 51 removed or operation on such systems may be suboptimal for future releases. 52 This means that fetchmail may only continue to work on C99 and POSIX 2001 53 based systems. 54* The maintainer may migrate fetchmail to C++ with STL or C#, and impose further 55 requirements (dependencies), such as Boost or other class libraries. 56* The softbounce option default will change to "false" in the next release. 57* The --bsmtp - mode of operation may be removed in a future release. 58* SSLv3 support may be removed from a future fetchmail release. It has been 59 obsolete for many years and found insecure. Use TLS. 60* Fetchmailconf is deprecated and will be removed from a future release. 61* Fetchmail does not guarantee compatibility with EOL OpenSSL versions. Support 62 for end-of-life OpenSSL versions may be removed even from patchlevel releases. 63* Nonstandard authentication schemes (such as RPA) may be removed from future 64 fetchmail versions. 65* Nonstandard protocol extensions (such as SDPS/*ENV) may be removed from future 66 fetchmail versions. 67 68# KNOWN BUGS AND WORKAROUNDS 69* Fetchmail does not handle messages without Message-ID header well 70 (See sourceforge.net bug #780933) 71* Fetchmail currently uses 31-bit signed integers in several places 72 where unsigned and/or wider types should have been used, for instance, 73 for mailbox sizes, and misreports sizes of 2 GibiB and beyond. 74 Fixing this requires C89 compatibility to be relinquished. 75* BSMTP is mostly untested and errors can cause corrupt output. 76* Fetchmail does not track pending deletes across crashes. 77* The command line interface is sometimes a bit stubborn, for instance, 78 fetchmail -s doesn't work with a daemon running. 79* Linux systems may return duplicates of an IP address in some circumstances if 80 no or no global IPv6 addresses are configured. 81 (No workaround. Ubuntu Bug#582585, Novell Bug#606980.) 82* Kerberos 5 may be broken, particularly on Heimdal, and provide bogus error 83 messages. This will not be fixed, because the maintainer has no Kerberos 5 84 server to test against. Use GSSAPI. 85* For IMAP connections, fetchmail will print "will idle after poll" in 86 verbose mode even though --idle is not given, as an artifact of the 6.4.22 87 security fixes. Fetchmail means "could idle after poll", but this would 88 have required another loop through the translators. 89* aka ... hostnames are not considered for upstream server X.509 certificate 90 verification, aka was meant for alias detection with multidrop mailboxes. 91* When compiled against wolfSSL, some diagnostics and messages of fetchmail are 92 hardcoded to read "OpenSSL"; this was found only after the call for 93 translations had been sent out already. 94 95-------------------------------------------------------------------------------- 96fetchmail-6.4.28 (released 2022-03-05, 31661 LoC): 97 98# TRANSLATIONS: language translations were updated by this fine person: 99* es: Cristian Othón Martínez Vera [Spanish] 100 101-------------------------------------------------------------------------------- 102fetchmail-6.4.27 (released 2022-01-26, 31661 LoC): 103 104# BREAKING CHANGES: 105* Bump wolfSSL minimum required version to 5.1.1 to pull in security fix. 106 107# TRANSLATIONS: language translations were updated by this fine person: 108* ro: Remus-Gabriel Chelu [Romanian] 109 110-------------------------------------------------------------------------------- 111fetchmail-6.4.26 (released 2021-12-26, 31661 LoC): 112 113# FIXES: 114* When using wolfSSL 5.0.0, work around a bug that appears to hit wolfSSL when 115 receiving handshake records while still in SSL_peek(). Workaround is to read 116 1 byte and cache it, then call SSL_peek() again. 117 This affects only some servers. https://github.com/wolfSSL/wolfssl/issues/4593 118 119# TRANSLATIONS: language translations were updated by this fine person: 120* sr: Мирослав Николић (Miroslav Nikolić) [Serbian] 121 122-------------------------------------------------------------------------------- 123fetchmail-6.4.25 (released 2021-12-10, 31653 LoC): 124 125# BREAKING CHANGES: 126* Since distributions continue patching for LibreSSL use, which cannot be 127 linked legally, block out LibreSSL in configure.ac and socket.c, and 128 refer to COPYING, unless on OpenBSD (which ships it in the base system). 129 OpenSSL and wolfSSL 5 can be used. SSL-related documentation was updated, do 130 re-read COPYING, INSTALL, README, README.packaging, README.SSL. 131* Bump OpenSSL version requirement to 1.0.2f in order to safely remove 132 the obsolete OpenSSL flag SSL_OP_SINGLE_DH_USE. This blocks out 1.0.2e and 133 older 1.0.2 versions. 1.0.2f was a security fix release, and 1.0.2u is 134 publicly available from https://www.openssl.org/source/old/1.0.2/ 135* Some of the configure.ac fiddling MIGHT have broken cross-compilation 136 again. The maintainer does not test cross-compiling fetchmail; if you 137 have difficulties, try setting PKG_CONFIG_LIBDIR to the pkg-config path 138 containing your target/host libraries, or see if --with-ssl-prefix or 139 --with-wolfssl-prefix, or overriding LDFLAGS/LIBS/CPPFLAGS, can help. 140 Feedback solicited on compliant systems that are before end-of-life. 141 142# BUG FIXES: 143* 6.4.24's workaround for OpenSSL 1.0.2's X509_V_FLAG_TRUSTED_FIRST flag 144 contained a typo and would not kick in properly. 145* Library and/or rpath setting from configure.ac was fixed. 146 147# ADDITIONS: 148* Added an example systemd unit file and instructions to contrib/systemd/ 149 which runs fetchmail as a daemon with 5-minute poll intervals. 150 Courteously contributed by Barak A. Pearlmutter, Debian Bug#981464. 151* fetchmail can now be used with wolfSSL 5's OpenSSL compatibility layer, 152 see INSTALL and README.SSL. This is considered experimental. 153 Feedback solicited. 154 155# CHANGES: 156* The getstats.py dist-tool now counts lines of .ac and .am files. 157* ./configure --with-ssl now supports pkg-config module names, too. See INSTALL. 158 159# TRANSLATIONS: language translations were updated by these fine people: 160(in reverse alphabetical order of language codes so as not to prefer people): 161* sv: Göran Uddeborg [Swedish] 162* sq: Besnik Bleta [Albanian] 163* pl: Jakub Bogusz [Polish] 164* ja: Takeshi Hamasaki [Japanese] 165* fr: Frédéric Marchal [French] 166* eo: Keith Bowes [Esperanto] 167* cs: Petr Pisar [Czech] 168 169# CREDITS: 170* Thanks to Corey Halpin for testing release candidates. 171 172-------------------------------------------------------------------------------- 173fetchmail-6.4.24 (released 2021-11-20, 30218 LoC): 174 175# OPENSSL AND LICENSING NOTE: 176> see fetchmail-6.4.22 below, and the file COPYING. 177 178 Note that distribution of packages linked with LibreSSL is not feasible 179 due to a missing GPLv2 clause 2(b) exception. 180 181# COMPATIBILITY: 182* Bison 3.8 dropped yytoknum altogether, breaking compilation due to a 183 warning workaround. Remove the cast of yytoknum to void. This may cause 184 a compiler warning to reappear with older Bison versions. 185* OpenSSL 1.0.2: Workaround for systems that keep the expired DST Root CA X3 186 certificate in its trust store because OpenSSL by default prefers the 187 untrusted certificate and fails. Fetchmail now sets the 188 X509_V_FLAG_TRUSTED_FIRST flag (on OpenSSL 1.0.2 only). 189 This is workaround #2 from the OpenSSL Blog. For details, see both: 190 https://www.openssl.org/blog/blog/2021/09/13/LetsEncryptRootCertExpire/ 191 https://letsencrypt.org/docs/dst-root-ca-x3-expiration-september-2021/ 192 193 NOTE: OpenSSL 1.0.2 is end of life, it is assumed that the OpenSSL library 194 is kept up to date by a distributor or via OpenSSL support contract. 195 Where this is not the case, please upgrade to a supported OpenSSL version. 196 197# DOCUMENTATION: 198* The manual page was revised after re-checking with mandoc -Tlint, aspell, 199 igor. Some more revisions were made for clarity. 200 201# TRANSLATIONS: language translations were updated by these fine people: 202* sv: Göran Uddeborg [Swedish] 203* pl: Jakub Bogusz [Polish] 204* fr: Frédéric Marchal [French] 205* cs: Petr Pisar [Czech] 206* eo: Keith Bowes [Esperanto] 207* ja: Takeshi Hamasaki [Japanese] 208 209-------------------------------------------------------------------------------- 210fetchmail-6.4.23 (released 2021-10-31, 30206 LoC): 211 212# USABILITY: 213* For common ssh-based IMAP PREAUTH setups (i. e. those that use a plugin 214 - no matter its contents - and that set auth ssh), change the STARTTLS 215 error message to suggest sslproto '' instead. 216 This is a commonly reported issue after the CVE-2021-39272 fix in 6.4.22. 217 Fixes Redhat Bugzilla 2008160. Fixes GitLab #39. 218 219# TRANSLATIONS: language translations were updated by these fine people: 220* ja: Takeshi Hamasaki [Japanese] 221* sr: Мирослав Николић (Miroslav Nikolić) [Serbian] 222 223-------------------------------------------------------------------------------- 224fetchmail-6.4.22 (released 2021-09-13, 30201 LoC): 225 226# OPENSSL AND LICENSING NOTE: 227* fetchmail 6.4.22 is compatible with OpenSSL 1.1.1 and 3.0.0. 228 OpenSSL's licensing changed between these releases from dual OpenSSL/SSLeay 229 license to Apache License v2.0, which is considered incompatible with GPL v2 230 by the FSF. For implications and details, see the file COPYING. 231 232# SECURITY FIXES: 233* CVE-2021-39272: fetchmail-SA-2021-02: On IMAP connections, without --ssl and 234 with nonempty --sslproto, meaning that fetchmail is to enforce TLS, and when 235 the server or an attacker sends a PREAUTH greeting, fetchmail used to continue 236 an unencrypted connection. Now, log the error and abort the connection. 237 --Recommendation for servers that support SSL/TLS-wrapped or "implicit" mode on 238 a dedicated port (default 993): use --ssl, or the ssl user option in an rcfile. 239 --Reported by: Andrew C. Aitchison, based on the USENIX Security 21 paper "Why 240 TLS is better without STARTTLS - A Security Analysis of STARTTLS in the Email 241 Context" by Damian Poddebniak, Fabian Ising, Hanno Böck, and Sebastian 242 Schinzel. The paper did not mention fetchmail. 243 244* On IMAP and POP3 connections, --auth ssh no longer prevents STARTTLS 245 negotiation. 246* On IMAP connections, fetchmail does not permit overriding a server-side 247 LOGINDISABLED with --auth password any more. 248* On POP3 connections, the possibility for RPA authentication (by probing with 249 an AUTH command without arguments) no longer prevents STARTTLS negotiation. 250* For POP3 connections, only attempt RPA if the authentication type is "any". 251 252# BUG FIXES: 253* On IMAP connections, when AUTHENTICATE EXTERNAL fails and we have received the 254 tagged (= final) response, do not send "*". 255* On IMAP connections, AUTHENTICATE EXTERNAL without username will properly send 256 a "=" for protocol compliance. 257* On IMAP connections, AUTHENTICATE EXTERNAL will now check if the server 258 advertised SASL-IR (RFC-4959) support and otherwise refuse (fetchmail <= 6.4 259 has not supported and does not support the separate challenge/response with 260 command continuation) 261* On IMAP connections, when --auth external is requested but not advertised by 262 the server, log a proper error message. 263* Fetchmail no longer crashes when attempting a connection with --plugin "" or 264 --plugout "". 265* Fetchmail no longer leaks memory when processing the arguments of --plugin or 266 --plugout on connections. 267* On POP3 connections, the CAPAbilities parser is now caseblind. 268* Fix segfault on configurations with "defaults ... no envelope". Reported by 269 Bjørn Mork. Fixes Debian Bug#992400. This is a regression in fetchmail 6.4.3 270 and happened when plugging memory leaks, which did not account for that the 271 envelope parameter is special when set as "no envelope". The segfault happens 272 in a constant strlen(-1), triggered by trusted local input => no vulnerability. 273* Fix program abort (SIGABRT) with "internal error" when invalid sslproto is 274 given with OpenSSL 1.1.0 API compatible SSL implementations. 275 276# CHANGES: 277* IMAP: When fetchmail is in not-authenticated state and the server volunteers 278 CAPABILITY information, use it and do not re-probe. (After STARTTLS, fetchmail 279 must and will re-probe explicitly.) 280* For typical POP3/IMAP ports 110, 143, 993, 995, if port and --ssl option 281 do not match, emit a warning and continue. Closes Gitlab #31. 282 (cherry-picked from 6.5 beta branch "legacy_6x") 283* fetchmail.man and README.SSL were updated in line with RFC-8314/8996/8997 284 recommendations to prefer Implicit TLS (--ssl/ssl) and TLS v1.2 or newer, 285 placing --sslproto tls1.2+ more prominently. 286 The defaults shall not change between 6.4.X releases for compatibility. 287 288# TRANSLATIONS: language translations were updated by these fine people: 289* sq: Besnik Bleta [Albanian] 290* cs: Petr Pisar [Czech] 291* eo: Keith Bowes [Esperanto] 292* fr: Frédéric Marchal [French] 293* pl: Jakub Bogusz [Polish] 294* sv: Göran Uddeborg [Swedish] 295 296# CREDITS: 297* Thanks for testing the release candidates and bug reports to: 298 Corey Halpin, Stefan Eßer. 299 300-------------------------------------------------------------------------------- 301fetchmail-6.4.21 (released 2021-08-09, 30042 LoC): 302 303# REGRESSION FIX: 304* The new security fix in 6.4.20 for CVE-2021-36386 caused truncation of 305 messages logged to buffered outputs, from --logfile and --syslog. 306 307 This also caused lines in the logfile to run into one another because 308 the fragment containing the '\n' line-end character was usually lost. 309 310 Reason is that on all modern systems (with <stdarg.h> header and vsnprintf() 311 interface), the length of log message fragments was added up twice, so 312 that these ended too deep into a freshly allocated buffer, after the '\0' 313 byte. Unbuffered outputs flushed the fragments right away, which masked the 314 bug. 315 316 Reported by: Jürgen Edner, Erik Christiansen. 317 318-------------------------------------------------------------------------------- 319fetchmail-6.4.20 (released 2021-07-28, 30042 LoC): 320 321# SECURITY FIX: 322* When a log message exceeds c. 2 kByte in size, for instance, with very long 323 header contents, and depending on verbosity option, fetchmail can crash or 324 misreport each first log message that requires a buffer reallocation. 325 fetchmail then reallocates memory and re-runs vsnprintf() without another 326 call to va_start(), so it reads garbage. The exact impact depends on 327 many factors around the compiler and operating system configurations used and 328 the implementation details of the stdarg.h interfaces of the two functions 329 mentioned before. To fix CVE-2021-36386. 330 331 Reported by Christian Herdtweck of Intra2net AG, Tübingen, Germany. 332 333 He also offered a patch, which I could not take for fetchmail 6.4 because 334 it required a C99 system and I'd promised earlier that 6.4 would remain 335 compatible with C89 systems. 336-------------------------------------------------------------------------------- 337fetchmail-6.4.19 (released 2021-04-24, 30026 LoC): 338 339# CHANGE: 340* fetchmailconf: properly catch and report option parsing errors 341 342# BUG FIX: 343* LMTP: do not try to validate the last component of a UNIX-domain LMTP socket 344 as though it were a TCP port. Reported by Christoph Heitkamp, Gitlab issue #33. 345 346# TRANSLATION UPDATE: 347 This fine person has contributed an updated translation: 348* sr: Мирослав Николић (Miroslav Nikolić) [Serbian] 349 350-------------------------------------------------------------------------------- 351fetchmail-6.4.18 (released 2021-03-27, 30011 LoC): 352 353# REGRESSION FIX: 354* fetchmailconf: fetchmail 6.4.16 added --sslcertfile to the configuration dump, 355 but fetchmailconf support was incomplete in Git 7349f124 and it could not 356 parse sslcertfile, thus the user settings editor came up empty with console 357 errors printed. Fix configuration parser in fetchmailconf. 358 359# ROBUSTNESS FIXES: 360* fetchmailconf: do not require fetchmail for -V. do not require Tk (Tkinter) 361 for -d option. This is to fail more gracefully on incomplete installs. 362* TLS code: remove OPENSSL_NO_DEPRECATED macros to avoid portability issues 363 with OpenSSL v3 - these are for development purposes, not production. 364* TLS futureproofing: use SSL_use_PrivateKey_file instead of 365 SSL_use_RSAPrivateKey_file, the latter will be deprecated with OpenSSL v3, 366 and the user's key file might be something else than RSA. 367 368# TRANSLATION UPDATE: 369 This fine person has contributed an updated translation: 370* fi: Lauri Nurmi [Finnish] 371 372-------------------------------------------------------------------------------- 373fetchmail-6.4.17 (released 2021-03-07, 29998 LoC): 374 375# BUG FIXES 376* IMAP client: it used to leak memory for username and password when trying 377 the LOGIN (password-based) authentication and encountered a timeout situation. 378* dist-tools/getstats.py: also counts lines in *.py files, shown above. 379 380# CHANGES 381* fetchmail.man: now mentions that you may need to add --ssl when specifying 382 a TLS-wrapped port. 383* fetchmailconf: --version (-V) now prints the Python version in use. 384 385# TRANSLATION UPDATE: 386 This fine person has contributed an updated translation: 387* ja: Takeshi Hamasaki [Japanese] 388 389-------------------------------------------------------------------------------- 390fetchmail-6.4.16 (released 2021-02-08, 27707 LoC): 391 392# BUG FIXES 393* fetchmail's --configdump, and fetchmailconf, lacked support for the 394 sslcertfile option. --configdump support added by Earl Chew, 395 Gitlab issue #25, merge request !28. 396* fetchmail's manual page was never updated to reflect 6.2.5's change about the 397 duplicate-killer code for multidrop mode, which read 398 "* Dup-killer code now keys on an MD5 hash of the raw headers." 399 ...instead of just the Message-ID. [commit 9dd8400, 2003-10-10 by esr] 400 The manual page was now updated accordingly and documents 401 historic behaviour: 402 start to 5.0.7 no duplicate suppression; 403 5.0.8 to 6.2.4 duplicate suppression only by Message-ID; 404 6.2.5 to 6.4.X duplicate suppression by entire raw header. 405 Manpage bug found by Julian Bane debugging "duplicate message" behaviour. 406* ./configure no longer runs AC_LIB_LINKFLAGS (how to link) checks 407 when called --without-ssl 408 409# FEATURES 410* fetchmail --version [fetchmail -V] now queries and prints the SSL/TLS 411 library's "SSL default trusted certificate" file or directory (mind the word 412 "default"), where the OpenSSL-compatible TLS implementation will look for 413 trusted root, meaning certification authority (CA), certificates. 414 NOTE 1: watch the output carefully if the line prints the defaults 415 or the configured path (without "default"). 416 NOTE 2: SSL_CERT_DIR and SSL_CERT_FILE are documented environment variables 417 for OpenSSL 1.1.1 to override the *default* locations (those compiled into 418 OpenSSL or possibly in its configuration file). 419 This was added when Gene Heskett was debugging his setup and the 420 information "where does OpenSSL look" was missing. 421* fetchmail --version now prints version of the OpenSSL library that 422 it was compiled against, and that it is using at runtime, and also 423 the OPENSSL_DIR and OPENSSL_ENGINES_DIR (if available). 424 425# TRANSLATION UPDATES 426 These fine people have contributed updated translations for fetchmail, 427 in no particular order: 428* sq: Besnik Bleta [Albanian] 429* eo: Keith Bowes [Esperanto] 430* cs: Petr Pisar [Czech] 431* pl: Jakub Bogusz [Polish] 432* sv: Göran Uddeborg [Swedish] 433* fr: Frédéric Marchal [French] 434 435--------------------------------------------------------------------------------- 436fetchmail-6.4.15 (released 2021-01-03, 27614 LoC): 437 438# BUG FIXES 439* Fix a typo in the manual page reported by David McKelvie. 440* Fix cross-compilation with openssl, by Fabrice Fontaine. Merge request !23. 441* Fix truncation of SMTP PLAIN AUTH with ^ in credentials, by Earl Chew. 442 Gitlab issue #23, merge request !25. 443 444------------------------------------------------------------------------------- 445fetchmail-6.4.14 (released 2020-11-26, 27608 LoC): 446 447# TRANSLATION UPDATES were made by these fine people: 448* sr: Мирослав Николић (Miroslav Nikolić) [Serbian] 449 450--------------------------------------------------------------------------------- 451fetchmail-6.4.13 (released 2020-10-25, 27608 LoC): 452 453# BUG FIXES: 454* Errors about lock file (= pidfile) creation could be lost in daemon 455 configurations (-d option, or set daemon) when using syslog. Now they are also 456 logged to syslog. Found verifying a pidfile creation issue on 6.4.12 that was 457 previously reported by Alex Hall of Automatic Distributors. 458* If the lock file cannot be removed (no write permission on directory), try 459 to truncate it, and if that fails, report error. 460* If the pidfile was non-default, fetchmail -q or --quit would malfunction and 461 claim no other fetchmail were running, because it did not read the 462 configuration files or merge the command line options, thus it would look for 463 the PID in the wrong file. 464 465# CHANGES: 466* Lockfile (= pidfile) creation errors are now logged with filename and reason. 467 468# TRANSLATION UPDATES were made by these fine people: 469* cs: Petr Pisar [Czech] 470* ja: Takeshi Hamasaki [Japanese] 471* sq: Besnik Bleta [Albanian] 472* zh_CN: Boyuan Yang [Chinese (simplified)] 473* sv: Göran Uddeborg [Swedish] 474* pl: Jakub Bogusz [Polish] 475* fr: Frédéric Marchal [French] 476* eo: Keith Bowes [Esperanto] 477* de: [German - by current maintainer] 478 479--------------------------------------------------------------------------------- 480fetchmail-6.4.12 (released 2020-09-04, 27596 LoC): 481 482# BUG FIXES: 483* The README file is now the one from Git again. The makerelease.pl script 484 used to roll and upload the tarball sometimes clobbered the README file and 485 replaced its contents by a part of the NEWS file. 486 487--------------------------------------------------------------------------------- 488fetchmail-6.4.11 (released 2020-08-28, 27596 LoC): 489 490# REGRESSION FIX: 491* configure: fetchmail 6.4.9 and 6.4.10 would miss checking for TLS v1.2 and 492 TLS v1.3 support if AC_LIB_LINKFLAGS came up with something such as 493 /path/to/libssl.so, rather than -lssl. (For instance on FreeBSD) 494 495-------------------------------------------------------------------------------- 496## BUG FIXES 497* fetchmail can now report mailbox sizes of 2^31 octets and beyond. 498 This requires C99 support (for the long long type). 499 Fixes Debian Bug#873668, reported by Andreas Schmidt. 500 501-------------------------------------------------------------------------------- 502fetchmail-6.4.10 (released 2020-08-27, 27596 LoC): 503 504# REGRESSION FIX: 505* configure: fetchmail 6.4.9's configure was unable to pick up OpenSSL 506 if it wasn't announced by pkg-config, for instance, on FreeBSD. 507 508--------------------------------------------------------------------------------- 509fetchmail-6.4.9: (not announced by e-mail, withdrawn) 510 511## DOCUMENTATION UPDATE: 512* manpage: mention that the SSL/TLS certificate fingerprint uses an MD5 hash. 513 514## CHANGES: 515* configure: try to use AC_LIB_LINKFLAGS to obtain proper link flags for 516 libcrypto and libssl if pkg-config failed. 517 This is an attempt to fix borderline issues when users building on systems 518 with obsolete OpenSSL try to use a local newer OpenSSL from a separate 519 directory. 520 521## NEW TRANSLATION, with thanks to the translator: 522* ro: Florentina Mușat [Romanian] 523 524--------------------------------------------------------------------------------- 525fetchmail-6.4.8 (released 2020-06-14, 27596 LoC): 526 527## NEW TRANSLATION, with thanks to the translator: 528* sr: Мирослав Николић (Miroslav Nikolić) [Serbian] 529- Sorry, this was missed earlier because my translation scripts did not properly 530 report new translations. 531 532--------------------------------------------------------------------------------- 533fetchmail-6.4.7 (released 2020-06-14, 27596 LoC): 534 535## TRANSLATION UPDATE, with thanks to the translator: 536* sv: Göran Uddeborg [Swedish] 537 538------------------------------------------------------------------------------- 539fetchmail-6.4.6 (released 2020-05-29, 27596 LoC): 540 541## TRANSLATION UPDATE, with thanks to the translator: 542* eo: Felipe Castro [Esperanto] 543 544-------------------------------------------------------------------------------- 545 546fetchmail-6.4.5 (released 2020-05-07, 27596 LoC): 547 548## REGRESSION FIX: 549* fetchmail 6.4.0 and 6.4.1 changed the resolution of the home directory 550 in a way that requires SUSv4 semantics of realpath(), which leads to 551 'Cannot find absolute path for... directory' error messages followed by aborts 552 on systems where realpath() follows strict SUSv2 semantics and returns 553 EINVAL if the 2nd argument is NULL. 554 555 On such systems, for instance, Solaris 10, fetchmail requires PATH_MAX to be 556 defined, and will then work again. Regression reported by David Hough. 557 558 On systems that neither provide auto-allocation semantics for realpath(), 559 nor PATH_MAX, fetchmail will print this error and abort. Such systems 560 are unsupported, see README. 561 562## CHANGES: 563* Add a test program fm_realpath, and a t.realpath script, neither to be 564 installed. These will test resolution of the current working directory. 565 566## TRANSLATION UPDATES in reverse alphabetical order of language codes, 567## with my thanks to the translators: 568* zh_CN: Boyuan Yang [Chinese (simplified)] 569* sv: Göran Uddeborg [Swedish] 570* sq: Besnik Bleta [Albanian] 571* pl: Jakub Bogusz [Polish] 572* ja: Takeshi Hamasaki [Japanese] 573* fr: Frédéric Marchal [French] 574* cs: Petr Pisar [Czech] 575 576-------------------------------------------------------------------------------- 577 578fetchmail-6.4.4 (released 2020-04-26, 27530 LoC): 579 580## UPDATED TRANSLATIONS - WITH THANKS TO THE TRANSLATOR: 581* ja: Takeshi Hamasaki [Japanese] 582 583-------------------------------------------------------------------------------- 584 585fetchmail-6.4.3 (released 2020-04-05, 27530 LoC): 586 587## BUGFIXES: 588* Plug memory leaks when parts of the configuration (defaults, rcfile, command 589 line) override one another. 590* Merge esmtpname and esmtppassword defaults properly. 591* fetchmail terminated the placeholder command string too late and included 592 garbage from the heap at the end of the string. Workaround: don't use place- 593 holders %h or %p in the --plugin string. Bug added in 6.4.0 when merging 594 Gitlab merge request !5 in order to fix an input buffer overrun. 595 Faulty commit 418cda65f752e367fa663fd13884a45fcbc39ddd. 596 Reported by Stefan Thurner, Gitlab issue #16. 597* Fetchmail now checks for errors when trying to read the .idfile, 598 Gitlab issue #3. 599* Fetchmail's error messages that reports that the defaults entry isn't the 600 first was made more precise. It could be misleading if there was a poll or 601 skip statement before the defaults. 602 603## CHANGES: 604* Fetchmail documentation was updated to require OpenSSL 1.1.1. 605 OpenSSL 1.0.2 reached End Of Life status at the end of the year 2019. 606 Fetchmail will tolerate, but warn about, 1.0.2 for now on the assumption that 607 distributors backport security fixes as the need arises. 608 Fetchmail will also warn if another SSL library that is API-compatible 609 with OpenSSL lacks TLS v1.3 support. 610* If the trust anchor is missing, fetchmail refers the user to README.SSL. 611 612## INTERNAL CHANGES: 613* The AC_DECLS(getenv) check was removed, its only user was broken and not 614 accounting for that AC_DECLS always defines HAVE_DECL_... to 0 or 1, so 615 fetchmail never declared a missing getenv() symbol (it was testing with 616 #ifdef). Remove the backup declaration. getenv is mandated by SUSv2 anyways. 617 618## UPDATED TRANSLATIONS - WITH THANKS TO THE TRANSLATORS: 619* sq: Besnik Bleta [Albanian] 620* zh_CN: Boyuan Yang [Chinese (simplified)] 621* pl: Jakub Bogusz [Polish] 622* cs: Petr Pisar [Czech] 623* fr: Frédéric Marchal [French] 624* sv: Göran Uddeborg [Swedish] 625* eo: Felipe Castro [Esperanto] 626 627-------------------------------------------------------------------------------- 628 629fetchmail-6.4.2 (released 2020-02-14, 27473 LoC): 630 631## BREAKING CHANGES: 632* fetchmailconf now supports Python 3 and currently requires the "future" 633 package, see https://pypi.org/project/future/. 634* fetchmailconf: The minimum supported version is now Python 2.7.13, but it is 635 recommended to use at least 2.7.16 (due to its massive SSL updates). 636 Older Python versions may check SSL certificates not strictly enough, 637 which may cause fetchmail to complain later, if the certificate verify fails. 638* fetchmailconf now autoprobes SSL-wrapped connections (ports 993 and 995 for 639 IMAP and POP3) as well and by preference. 640* fetchmailconf now defaults newly created users to "ssl" if either of the 641 existing users sets ssl, or if the server has freshly been probed and 642 found supporting ssl. 643 There is a caveat: adding a user to an existing server without probing it 644 again may skip adding ssl. (This does not prevent STARTTLS.) 645 646## BUG FIXES: 647* Fix three bugs in fetchmail.man (one unterminated string to .IP macro, one 648 line that ran into a .PP macro, .TH date format), and remove one .br request 649 from inside the table, which is unsupported by FreeBSD 12's mandoc(1) 650 formatter. FreeBSD Bug#241032, reported by Helge Oldach. 651* Further man page fixes and additions by Chris Mayo and Gregor Zattler. 652* When evaluating the need for STARTTLS in non-default configurations (SSL 653 certificate validation turned off), fetchmail would only consider --sslproto 654 tls1 as requiring STARTTLS, now all non-empty protocol versions do. 655* fetchmailconf now properly writes "no sslcertck" if sslcertck is disabled. 656* fetchmailconf now catches and reports OS errors (including DNS errors) when 657 autoprobing. Reported as Gitlab issue #12 by Sergey Alirzaev. 658* fetchmailconf received a host of other bugfixes, see the Git commit log. 659 660## CHANGES: 661* Make t.smoke more robust and use temporary directory as FETCHMAILHOME, to make 662 sure that the home directory resolves for the user running the test suite 663 even if the environment isn't perfect. Reported by Konstantin Belousov, 664 analysed by Corey Halpin, FreeBSD Bug#240914. 665 666## UPDATED TRANSLATION - THANKS TO: 667* zh_CN: Boyuan Yang [Chinese (simplified)] 668 669-------------------------------------------------------------------------------- 670 671fetchmail 6.4.1 (released 2019-09-28, 27473 LoC): 672 673## REGRESSION FIXES: 674* The bug fix Debian Bug#941129 was incomplete and caused 675 + a regression in the default file locations, so that fetchmail was no longer 676 able to find its configuration files in some situations. 677 Reported by Cy Schubert, Christian Ebert. 678 + a regression under _FORTIFY_SOURCE where PATH_MAX > minimal _POSIX_PATH_MAX. 679 680-------------------------------------------------------------------------------- 681 682fetchmail 6.4.0 (released 2019-09-27, 27429 LoC): 683 684# NOTE THAT FETCHMAIL IS NO LONGER PUBLISHED THROUGH IBIBLIO. 685* They have stopped accepting submissions and consider themselves an archive. 686 687## SECURITY FIXES THAT AFFECT BEHAVIOUR AND MAY REQUIRE RECONFIGURATION 688* Fetchmail no longer supports SSLv2. 689 690* Fetchmail no longer attempts to negotiate SSLv3 by default, 691 even with --sslproto ssl23. Fetchmail can now use SSLv3, or TLSv1.1 or a newer 692 TLS version, with STLS/STARTTLS (it would previously force TLSv1.0 with 693 STARTTLS). If the OpenSSL version used at build and run-time supports these 694 versions, --sslproto ssl3 and --sslproto ssl3+ can be used to re-enable SSLv3. 695 Doing so is discouraged because the SSLv3 protocol is broken. 696 697 Along the lines suggested - as patch - by Kurt Roeckx, Debian Bug #768843. 698 699 While this change is supposed to be compatible with common configurations, 700 users may have to and are advised to change all explicit --sslproto ssl2 701 (change to newer protocols required), --sslproto ssl3, --sslproto tls1 to 702 --sslproto auto, so that they can benefit from TLSv1.1 and TLSv1.2 where 703 supported by the server. 704 705 The --sslproto option now understands the values auto, ssl3+, tls1+, tls1.1, 706 tls1.1+, tls1.2, tls1.2+, tls1.3, tls1.3+ (case insensitively), see CHANGES 707 below for details. 708 709* Fetchmail defaults to --sslcertck behaviour. A new option --nosslcertck to 710 override this has been added, but may be removed in future fetchmail versions 711 in favour of another configuration option that makes the insecurity in using 712 this option clearer. 713 714## SECURITY FIXES 715* Fetchmail prevents buffer overruns in GSSAPI authentication with user names 716 beyond c. 6000 characters in length. Reported by Greg Hudson. 717 718## CHANGED REQUIREMENTS 719* fetchmail 6.4.0 is written in C99 and requires a SUSv3 (Single Unix 720 Specification v3, a superset of POSIX.1-2001 aka. IEEE Std 1003.1-2001 with 721 XSI extension) compliant system. For now, a C89 compiler should also work 722 if the system is SUSv3 compliant. 723 724 In particular, older fetchmail versions had workaround for several functions 725 standardized in the Single Unix Specification v3, these have been removed. 726 727 The trio/ library has been removed from the distribution. 728 729## CHANGES 730* fetchmail 6.3.X is unsupported. 731* fetchmail now configures OpenSSL support by default. 732* fetchmail now requires OpenSSL v1.0.2 or newer. 733* Fetchmail now supports --sslproto auto and --sslproto tls1+ (same as ssl23). 734* --sslproto tls1.1+, tls1.2+, and tls1.3+ are now supported for 735 auto-negotiation with a minimum specified TLS protocol version, and --sslproto 736 tls1.1, --sslproto tls1.2 and --sslproto tls1.3 to force the specified TLS 737 protocol version. Note that tls1.3 requires OpenSSL v1.1.1 or newer. 738* Fetchmail now detects if the server hangs up prematurely during SSL_connect() 739 and reports this condition as such, and not just as SSL connection failure. 740 (OpenSSL 1.0.2 reported incompatible with pop3.live.com by Jerry Seibert). 741* A foreground fetchmail can now accept a few more options while another copy is 742 running in the background. 743* fetchmail now handles POP3 --keep UID lists more efficiently, by using Rainer 744 Weikusat's P-Tree implementation. This reduces the complexity for handling 745 a large UIDL from O(n^2) to O(n log n) and becomes noticably faster with 746 thousands of kept messages. 747 (IMAP does not currently track UIDs and is unaffected.) 748 At the same time, the UIDL emulation code for deficient servers has been 749 removed. It never worked really well. Servers that do not implement the 750 optional UIDL command only work with --fetchall option set, which in itself is 751 incompatible with the --keep option (it would cause message duplication). 752* fetchmail, when setting up TLS connections, now uses SSL_set_tlsext_host_name() 753 to set up the SNI (Server Name Indication). Some servers (for instance 754 googlemail) require SNI when using newer SSL protocols. 755* Fetchmail now sets the expected hostname through OpenSSL 1.0.2's new 756 X509_VERIFY_PARAM_set1_host() function to enable OpenSSL's native certificate 757 verification features. 758* fetchmail will drop the connection when fetching with IMAP and receiving an 759 unexpected untagged "* BYE" response, to work around certain faulty servers. 760* The FETCHMAIL_POP3_FORCE_RETR environment variable is now documented, 761 it forces fetchmail, when talking POP3, to always use the RETR command, 762 even if it would otherwise use the TOP command. 763* Fetchmail's configure stage will try to query pkg-config or pkgconf for libssl 764 and libcrypto, in case other system use .pc files to document specific library 765 dependencies. (contributed by Fabrice Fontaine, GitLab merge request !14.) 766* The gethostbyname() API calls and compatibility functions have been removed. 767* These translations are shipped but not installed by default because 768 they have less than 500 translated messages out of 714: el fi gl pt_BR sk tr 769 -> Greek, Finnish, Galician, Brazilian Portuguese, Slovak, Turkish. 770* Fetchmail now refuses delivery if the MDA option contains single-quoted 771 expansions. Fixes Debian Bug#347909. 772 773## FIXES 774* Fix a typo in the FAQ. Submitted by David Lawyer, Debian Bug#706776. 775* Do not translate header tags such as "Subject:". Reported by Gonzalo Pérez de 776 Olaguer Córdoba, Debian Bug#744907. 777* Convert most links from berlios.de to sourceforge.net. 778* Report error to stderr, and exit, if --idle is combined with multiple 779 accounts. 780* Point to --idle from GENERAL OPERATION to clarify --idle and multiple 781 mailboxes do not mix. In response to Jeremy Chadwick's trouble 2014-11-19, 782 fetchmail-users mailing list. 783* Fix SSL-enabled build on systems that do not declare SSLv3_client_method(), 784 or that #define OPENSSL_NO_SSL3 inside #include <openssl/ssl.h> 785 Related to Debian Bug#775255. Fixes Debian Bug #804604. 786* Version report lists -SSLv3 on SSL-enabled no-ssl3 builds. 787* Fetchmail no longer adds a NUL byte to the username in GSSAPI authentication. 788 This was reported to break Kerberos-based authentication with Microsoft 789 Exchange 2013 by Greg Hudson. 790* Set umask properly before writing the .fetchids file, to avoid failing the 791 security check on the next run. Reported by Fabian Raab, 792 Fixes Debian Bug#831611. 793* When forwarding by LMTP, also check antispam response code when collecting 794 the responses after the CR LF . CR LF sequence at the end of the DATA phase. 795 (Contributed by Evil.2000, GitLab merge request !12.) 796* fetchmail will not try other protocols after a socket error. This avoids 797 mismatches of how different prococols see messages as "seen" and re-fetches 798 of known mail. (Fix contributed by Lauri Nurmi, GitLab Merge Request !10.) 799* fetchmail no longer reports "System error during SSL_connect(): Success." 800 Fixes Debian Bug#928916, reported by Paul Kimoto. 801* fetchmailconf would ignore Edit or Delete actions on the first (topmost) 802 item in a list (no matter if server list, user list, ...). 803* The mimedecode feature now properly detects multipart/mixed-type matches, so 804 that quoted-printable-encoded multipart messages can get decoded. 805 (Regression in 5.0.0 on 1999-03-27, as a side effect of a PGP-mimedecode fix 806 attributed to Henrik Storner.) 807* FETCHMAILHOME can now safely be a relative path, which will be qualified 808 through realpath(). Previously, it had to be absolute in daemon mode. 809 Reported by Alex Andreotti, Debian Bug#941129. 810 811## UPDATED TRANSLATIONS - THANKS TO: 812* CS: Petr Pisar <petr.pisar@atlas.cz> [Czech] 813* EO: Felipe Castro <fefcas@gmail.com> [Esperanto] 814* FR: Frédéric Marchal <fmarchal@perso.be> [French] 815* JP: Takeshi Hamasaki <hmatrjp@users.sourceforge.jp> [Japanese] 816* PL: Jakub Bogusz <qboosh@pld-linux.org> [Polish] 817* SV: Göran Uddeborg <goeran@uddeborg.se> [Swedish] 818 819-------------------------------------------------------------------------------- 820 821fetchmail-6.3.26 (released 2013-04-23, 26180 LoC): 822 823# CRITICAL BUG FIX for setups using "mimedecode": 824* The mimedecode feature failed to ship the last line of the body if it was 825 encoded as quoted-printable and had a MIME soft line break in the very last 826 line. Reported by Lars Hecking in June 2011. 827 828 Bug introduced on 1998-03-20 when the mimedecode support was added by ESR 829 before release 4.4.1 through code contributed by Henrik Storner. 830 Workaround for older releases: do not use mimedecode feature. 831 832 Earlier versions of this NEWS file claimed this bug fixed in fetchmail-6.3.23, 833 but it was not. 834 835 Fixes Launchpad Bug#1171818. 836 837 838fetchmail-6.3.25 (released 2013-03-18, 26149 LoC): 839 840# BUG FIXES 841* Fix a memory leak in out-of-memory error condition while handling plugins. 842 Report and patch by John Beck (found with Parfait static code analyzer). 843* Fix a NULL pointer dereference in out-of-memory error condition while handling 844 plugins. 845 Report and patch by John Beck (found with Parfait static code analyzer). 846 847# CHANGES 848* Improved reporting when SSL/TLS X.509 certificate validation has failed, 849 working around a not-so-recent swapping of two OpenSSL error codes, and 850 a practical impossibility to distinguish broken certification chains from 851 missing trust anchors (root certificates). 852* OpenSSL decoded errors are now reported through report(), rather than dumped 853 to stderr, so that they should show up in logfiles and/or syslog. 854* The fetchmail manual page no longer claims that MD5 were the default OpenSSL 855 hash format (for use with --sslfingerprint). Reported by Jakob Wilk, 856 PARTIAL fix for Debian Bug#700266. 857* The fetchmail manual page now refers the user to --softbounce from the 858 SMTP/ESMTP ERROR HANDLING section. Reported by Anton Shterenlikht. 859 860# WORKAROUNDS 861* Older systems that provide the older RFC-2553 implementation of getaddrinfo, 862 rather than the current RFC-3493, and systems that do not provide this 863 getaddrinfo() interface at all and thus use the replacement functions from 864 libesmtp/getaddrinfo.?, might return EAI_NODATA when a host is registered in 865 DNS as MX or similar, but without A or AAAA records. Handle this situation 866 when checking for multidrop aliases and treat EAI_NODATA the same as 867 EAI_NONAME, i. e. name cannot be resolved. 868 869 The proper fix, however, is to upgrade the operating system. 870 871# TRANSLATION UPDATES 872[cs] Czech, by Petr Pisar 873[da] Danish, by Joe Hansen 874[de] German 875[eo] Esperanto, by Sian Mountbatten and Felipe Castro 876[fr] French, by Frédéric Marchal 877[ja] Japanese, by Takeshi Hamasaki 878[pl] Polish, by Jakub Bogusz 879[sv] Swedish, by Göran Uddeborg 880[vi] Vietnamese, by Trần Ngọc Quân 881 882 883fetchmail-6.3.24 (released 2012-12-23, 26108 LoC): 884 885# CRITICAL AND REGRESSION FIXES 886* Plug a memory leak in OpenSSL's certificate verification callback. 887 This would affect fetchmail configurations running with SSL in daemon mode 888 more than one-shot runs. 889 Reported by Erik Thiele, and pinned by Dominik Heeg, 890 fixes Debian Bug #688015. 891 This bug was introduced into fetchmail 6.3.0 (committed 2005-10-29) 892 when support for subjectAltName was added through a patch by Roland 893 Stigge, submitted as Debian Bug#201113. 894 895* The --logfile option now works again outside daemon mode, reported by Heinz 896 Diehl. The documentation that I had been reading was inconsistent with the 897 code, and only parts of the manual page claimed that --logfile was only 898 effective in daemon mode. 899 900 901fetchmail-6.3.23 (released 2012-12-10, 26106 LoC): 902 903# REGRESSION FIXES 904* Fix compilation with OpenSSL implementations before 0.9.8m that lack 905 SSL_CTX_clear_options. Patch by Earl Chew. 906 Note that the use of older OpenSSL versions with fetchmail is unsupported and 907 *not* recommended. 908 909# BUG FIXES 910* Fix combination of --plugin and -f -. Patch by Alexander Zangerl, 911 to fix Debian Bug#671294. 912* Clean up logfile vs. syslog handling, and in case logfile overrides 913 syslog, send a message to the latter stating where logging goes. 914 915# CHANGES 916* The build process can now be made a bit more silent and concise through 917 ./configure --enable-silent-rules, or by adding "V=0" to the make command. 918 919# WORKAROUNDS 920* Make Maillennium POP3 workarounds less specific, to encompass 921 Maillennium POP3/UNIBOX (Maillennium V05.00c++). Reported by Eddie 922 via fetchmail-users mailing list, 2012-10-13. 923 924# TRANSLATION UPDATES 925[cs] Czech, by Petr Pisar 926[da] Danish, by Joe Hansen 927[de] German 928[fr] French, Frédéric Marchal 929[ja] Japanese, Takeshi Hamasaki 930[pl] Polish, by Jakub Bogusz 931[sv] Swedish, by Göran Uddeborg 932[vi] Vietnamese, Trần Ngọc Quân 933 934 935fetchmail-6.3.22 (released 2012-08-29, 26077 LoC): 936 937# SECURITY FIXES 938* for CVE-2012-3482: 939 NTLM: fetchmail mistook an error message that the server sent in response to 940 an NTLM request for protocol exchange, tried to decode it, and crashed while 941 reading from a bad memory location. 942 Also, with a carefully crafted NTLM challenge packet sent from the server, it 943 would be possible that fetchmail conveyed confidential data not meant for the 944 server through the NTLM response packet. 945 Fix: Detect base64 decoding errors, validate the NTLM challenge, and abort 946 NTLM authentication in case of error. 947 See fetchmail-SA-2012-02.txt for further details. 948 Reported by J. Porter Clark. 949 950* for CVE-2011-3389: 951 SSL/TLS (wrapped and STARTTLS): fetchmail used to disable a countermeasure 952 against a certain kind of attack against cipher block chaining initialization 953 vectors (SSL_OP_DONT_INSERT_EMPTY_FRAGMENTS). 954 Whether this creates an exploitable situation, depends on the server and the 955 negotiated ciphers. 956 As a precaution, fetchmail 6.3.22 enables the countermeasure, by clearing 957 SSL_OP_DONT_INSERT_EMPTY_FRAGMENTS. 958 959 NOTE that this can cause connections to certain non-conforming servers to 960 fail, in which case you can set the environment variable 961 FETCHMAIL_DISABLE_CBC_IV_COUNTERMEASURE to any non-empty value when starting 962 fetchmail to re-instate the compatibility option at the expense of security. 963 964 Reported by Apple Product Security. 965 966 For technical details, refer to <http://www.openssl.org/~bodo/tls-cbc.txt>. 967 See fetchmail-SA-2012-01.txt for further details. 968 969# BUG FIX 970* The Server certificate: message in verbose mode now appears on stdout like the 971 remainder of the output. Reported by Henry Jensen, to fix Debian Bug #639807. 972 973* The GSSAPI-related autoconf code now matches gssapi.c better, and uses 974 a different check to look for GSS_C_NT_HOSTBASED_SERVICE. 975 This fixes the GSSAPI-enabled build on NetBSD 6 Beta. 976 977# CHANGES 978* On systems where SSLv2_client_method isn't defined in OpenSSL (such as 979 newer Debian, and Ubuntu starting with 11.10 oneiric ocelot), don't 980 reference it (to fix the build) and if configured, print a run-time error 981 that the OS does not support SSLv2. Fixes Debian Bug #622054, 982 but note that that bug report has a more thorough patch that does away with 983 SSLv2 altogether. 984 985* The security and errata notices fetchmail-{EN,SA}-20??-??.txt are now 986 under the more relaxed CC BY-ND 3.0 license (the noncommercial clause 987 was dropped). The Creative Commons address was updated. 988 989* The Python-related Makefile.am parts were simplified to avoid an automake 990 1.11.X bug around noinst_PYTHON, Automake Bug #10995. 991 992* Configuring fetchmail without SSL now triggers a configure warning, 993 and asks the user to consider running configure --with-ssl. 994 995# WORKAROUND 996* Some servers, notably Zimbra, return A1234 987 FETCH () in response to 997 a header request, in the face of message corruption. fetchmail now treats 998 these as temporary errors. Report and Patch by Mikulas Patocka, Red Hat. 999 1000* Some servers, notably Microsoft Exchange, return "A0009 OK FETCH completed." 1001 without any header in response to a header request for meeting reminder 1002 messages (with a "meeting.ics" attachment). fetchmail now treats these as 1003 transient errors. Report by John Connett, Patch by Sunil Shetye. 1004 1005# TRANSLATION UPDATES 1006* [cs] Czech, by Petr Pisar 1007* [de] German 1008* [fr] French, by Frédéric Marchal 1009* [ja] Japanese, by Takeshi Hamasaki 1010* [pl] Polish, by Jakub Bogusz 1011* [sv] Swedish, by Göran Uddeborg --- NEW TRANSLATION - Thank you! 1012* [vi] Vietnamese, by Trần Ngọc Quân 1013 1014 1015fetchmail-6.3.21 (released 2011-08-21, 26011 LoC): 1016 1017# CRITICAL BUG FIX 1018* The IMAP client no longer inserts NUL bytes into the last line of a message 1019 when it is not closed with a LF or CRLF sequence. Reported by Antoine Levitt. 1020 As a side effect of the fix, and in order to avoid a full rewrite, fetchmail 1021 will now CRLF-terminate the last line fetched through IMAP, even if it is 1022 originally not terminated by LF or CRLF. This bears no relevance if your 1023 messages end up in mbox, but adds line termination for storages (like Maildir) 1024 that do not require that the last line be LF- or CRLF-terminated. 1025 1026# CONTRIB/ addition 1027* There is a patch against fetchnews's source, contrib/rawlog.patch, that can 1028 log (and hexdump non-printing characters) raw socket data to a file. It proved 1029 useful to debug Antoine's bug described above. 1030 1031 1032fetchmail-6.3.20 (released 2011-06-06, 26005 LoC): 1033 1034# SECURITY BUG FIXES 1035* CVE-2011-1947: 1036 STARTTLS: Fetchmail runs the IMAP STARTTLS or POP3 STLS negotiation with the 1037 set timeout (default five minutes) now. This was reported missing, with 1038 observed fetchmail freezes beyond a week, by Thomas Jarosch. 1039 SSL-wrapped connections were unaffected by this timeout, so users of older 1040 versions can force ssl-wrapped connections -- if supported by the server -- 1041 with the --ssl command line or ssl rcfile option. 1042 See fetchmail-SA-2011-01.txt for further details. 1043 1044# BUG FIXES 1045* IMAP: Do not search for UNSEEN messages in ranges. Usually, there are very few 1046 new messages and most of the range searches result in nothing. Instead, split 1047 the long response to make the IMAP driver think that there are multiple lines 1048 of response. (Sunil Shetye) 1049* Do not print "skipping message" for old messages even in verbose mode. If 1050 there are too many old messages, the logs just get filled without any real 1051 activity. (Sunil Shetye) (suggested by Yunfan Jiang) 1052* Build: fetchmail now always uses its own MD5 implementation rather than trying 1053 to find a system library with matched header. The library and header variants 1054 found on systems are too diverse, and the code size saving is not worth any 1055 more wasted user or programmer time. 1056 1057# CHANGES 1058* Call strlen() only once when removing CRLF from a line. (Sunil Shetye) 1059* fetchmail sets Internet domain sockets to "keepalive" mode now. Note that 1060 there is no portable way to configure actual timeouts for this mode, and some 1061 systems only support a system-wide timeout setting. fetchmail does not 1062 attempt to tune the time spans of keepalive mode. 1063 1064# TRANSLATION UPDATES 1065 [cs] Chech (Petr Pisar) 1066 [nl] Dutch (Erwin Poeze) 1067 [fr] French (Frédéric Marchal) 1068 [de] German (Matthias Andree) 1069 [ja] Japanese (Takeshi Hamasaki) 1070 [pl] Polish (Jakub Bogusz) 1071 [sk] Slovak (Marcel Telka) 1072 1073 1074fetchmail-6.3.19 (released 2010-12-10, 25945 LoC): 1075 1076# ERRATUM NOTICE ISSUED 1077* fetchmail 6.3.18 contains several bug fixes that were considered sufficiently 1078 grave to warrant the issue of an erratum notice, fetchmail-EN-2010-03.txt. 1079 1080# BUG FIXES 1081* When specifying multiple local multidrop lists, do not lose wildcard flag. 1082 (Affects "user foo is bar baz * is joe here") 1083* In multidrop configurations, an asterisk can now appear anywhere in the list 1084 of local users, not just at the end. 1085* In multidrop mode, header parsing is now more verbose in -vv mode, so that it 1086 becomes possible to see which header is used. 1087* Make --antispam work from command line (these used to work in rcfiles). 1088 Reported by Kees Bakker, BerliOS Bug #17599. (Sunil Shetye) 1089* Smoke test XHTML 1.1 validation, and if it fails, skip validating HTML 1090 documents. Skip validating Mailbox-Names-UTF7.html. Several systems have 1091 broken XHTML 1.1 DTD installations that jeopardize the build. 1092 Reported by Mihail Nechkin against FreeBSD port. 1093 Workaround for 6.3.18: build in a separate directory, i. e: 1094 mkdir build && cd build && ../configure --options-go-here 1095* Send a NOOP only after a failed STARTTLS in IMAP. (Sunil Shetye) 1096* Demote GSSAPI verbose/debug syslog to INFO severity. Requested by Carlos E. R. 1097 and Derek Simkowiak via the fetchmail-users@ mailing list. 1098* Do STARTTLS/STLS negotiation in IMAP/POP3 if it is mandatory even if the 1099 server capabilities do not show support for upgradation to TLS. 1100 To use this, configure --sslproto tls1. (Sunil Shetye) 1101* IMAP: Understand empty strings as FETCH response, seen on Yahoo. Reported by 1102 Yasin Malli to fetchmail-users@ 2010-12-10. 1103 Note that fetchmail continues to expect literals as FETCH response for now. 1104 1105# DOCUMENTATION 1106* The manual page now links to IANA for GSSAPI service names. 1107 1108# TRANSLATION UPDATES 1109 [cs] Czech (Petr Pisar) 1110 [fr] French (Frédéric Marchal) 1111 [de] German 1112 [it] Italian (Vincenzo Campanella) 1113 [pl] Polish (Jakub Bogusz) 1114 1115 1116fetchmail-6.3.18 (released 2010-10-09, 25936 LoC): 1117 1118# SECURITY IMPROVEMENTS TO DEFANG X.509 CERTIFICATE ABUSE 1119* Fetchmail now only accepts wildcard certificate common names and subject 1120 alternative names if they start with "*.". Previous versions would accept 1121 wildcards even if no period followed immediately. 1122* Fetchmail now disallows wildcards in certificates to match domain literals 1123 (such as 10.9.8.7), or wildcards in domain literals ("*.168.23.23"). 1124 The test is overly picky and triggers if the pattern (after skipping the 1125 initial wildcard "*") or domain consists solely of digits and dots, and thus 1126 matches more than needed. 1127* Fetchmail now disallows wildcarding top-level domains. 1128 1129# CRITICAL BUG FIXES AND REGRESSION FIXES 1130* Fetchmail 6.3.15, 6.3.16, and 6.3.17 would pick up libmd5 to obtain MD5* 1131 functions, as an effect of an undocumented Solaris MD5 fix. 1132 This caused all MD5-related functions to malfunction if, for instance, 1133 libmd5.so was installed on other operating systems as part of libwww on 1134 machines where long isn't 32-bits, i. e. usually on 64-bit computers. 1135 Fixes Gentoo Bug #319283, reported, including libwww hint, by Karl Hakimian. 1136 Side effect: fetchmail will now use -lmd on Solaris rather than -lmd5. 1137* Fetchmail 6.3.17 warned about insecure SSL/TLS connections even if a matching 1138 --sslfingerprint was specified. This is an omission from an SSL usability 1139 change made in 6.3.17. 1140 Fixes Debian Bug#580796 reported by Roland Stigge. 1141* Fetchmail will now apply timeouts to the authentication stage. 1142 This stage encompasses STARTTLS/STLS negotiation in IMAP/POP3. 1143 Reported missing by Thomas Jarosch. 1144* Fetchmail now cancels GSSAPI authentication properly when encountering GSS 1145 errors, such as no or unsuitable credentials. 1146 It now sends an asterisk on a line by its own, as required in SASL. 1147 This fixes protocol synchronization issues that cause Authentication 1148 failures, often observed with kerberized MS Exchange servers. 1149 Fixes Debian Bug #568455 reported by Patrick Rynhart, and Alan Murrell, to the 1150 fetchmail-users list. Fix verified by Thomas Voigtmann and Patrick Rynhart. 1151 1152# BUG FIXES 1153* Fetchmail will no longer print connection attempts and errors for one host 1154 in "silent" and "normal" logging modes, unless all connections fail. This 1155 should reduce irritation around refused-connection logging if services are 1156 only on an IPv4 socket if the host also supports IPv6. Often observed as 1157 connections refused to ::1/25 when the subsequent connection to 127.0.0.1/25 1158 then - silently - succeeds. Fetchmail, unless in verbose mode, will collect 1159 all connect errors and only report them if all of them fail. 1160* Fetchmail will not try GSSAPI authentication automatically, unless it has GSS 1161 credentials. However, if GSSAPI authentication is requested explicitly, 1162 fetchmail will always try it. 1163* Fetchmail now parses response to "FETCH n:m RFC822.SIZE" and "FETCH n 1164 RFC822.HEADER" in a more flexible manner. (Sunil Shetye) 1165* The manual page clearly states that --principal is for Kerberos 4 only, not 1166 for Kerberos 5 or GSSAPI. Found by Thomas Voigtmann. 1167 1168# CHANGES 1169* When encountering incorrect headers, fetchmail will refer to the bad-header 1170 option in the manpage. 1171 Fixes BerliOS Bug #17272, change suggested by Björn Voigt. 1172* Fetchmail now decodes and reports GSSAPI status codes upon errors. 1173* Fetchmail now autoprobes NTLM also for POP3. 1174* The Fetchmail FAQ has a new item #R15 on authentication failures. 1175 1176# INTERNAL CHANGES 1177* The common NTLM authentication code was factored out from pop3.c and imap.c. 1178 1179# TRANSLATION UPDATES 1180 [zh_CN] Chinese/simplified (Ji Zheng-Yu) 1181 [cs] Czech (Petr Pisar) 1182 [nl] Dutch (Erwin Poeze) 1183 [fr] French (Frédéric Marchal) 1184 [de] German 1185 [it] Italian (Vincenzo Campanella) 1186 [ja] Japanese (Takeshi Hamasaki) 1187 [pl] Polish (Jakub Bogusz) 1188 [sk] Slovak (Marcel Telka) 1189 1190 1191fetchmail-6.3.17 (released 2010-05-06, 25767 LoC): 1192 1193# SECURITY FIX 1194* CVE-2010-1167: Fetchmail before release 6.3.17 did not properly sanitize 1195 external input (mail headers and UID). When a multi-character locale (such as 1196 UTF-8) was in use, this could cause memory exhaustion and thus a denial of 1197 service, because fetchmail's report.c functions assumed that non-success of 1198 [v]snprintf was due to insufficient buffer size allocation. It would then 1199 repeatedly reallocate a larger buffer and fail formatting again. 1200 See fetchmail-SA-2010-02.txt. 1201 1202# FEATURES 1203* Fetchmail now supports a --sslcertfile <file> option to specify a "CA bundle" 1204 file (a file that contains trusted CA certificates). Since these bundled CA 1205 files do not require c_rehash to be run, they are easier to use and immune to 1206 OpenSSL library updates that affect the hash function. 1207* Fetchmail now supports a FETCHMAIL_INCLUDE_DEFAULT_X509_CA_CERTS 1208 environment variable to force loading the default SSL CA certificate 1209 locations even if --sslcertfile or --sslcertpath is used. 1210 If neither option is in effect, fetchmail loads the default locations. 1211 1212# REGRESSION FIX 1213* Fix string handling in rcfile scanner, which caused fetchmail to misparse a 1214 run control file in certain circumstances. Fixes BerliOS bug #14257. 1215 Patch by Michael Banack. This fixes a regression introduced before 6.3.0. 1216 1217# BUG FIXES 1218* Plug memory leak when using a "defaults" entry in the run control file. 1219* Do not print SSL certificate mismatches unless verbose or --sslcertck is 1220 enabled. 1221* Do not lose "set invisible" in fetchmailconf. (Michael Barnack) 1222 1223# CHANGES 1224* Usability: SSL certificate chains are fully printed in -v -v mode, and there 1225 are now helpful pointers to --sslcertpath and c_rehash for "unable to get 1226 local issuer certificate" and self-signed certificates -- these usually hint 1227 to missing root signing CAs in the certs directory. 1228* Several fixes for compiler (GCC, Intel C++, CLang) and autotools warnings 1229* Memory allocation failures will now cause abnormal program abort (SIGABRT), 1230 no longer an exit with unspecified code. 1231* Print a warning if certificate verification failed and the user did not 1232 specify --sslcertck. 1233 1234# DOCUMENTATION 1235* Fix table of global option to read "set softbounce" where there used to be a 1236 2nd copy of "set spambounce". Patch by Michael Banack, BerliOS Bug #17067. 1237* In the --sslcertpath description, mention that OpenSSL upgrade (and a 0.9.X 1238 to 1.0.0 upgrade in particular) may require running c_rehash. 1239 1240# TRANSLATION UPDATES 1241 [zh_CN] Chinese/simplified (Ji Zheng-Yu) 1242 [cs] Czech (Petr Pisar) 1243 [nl] Dutch (Erwin Poeze) 1244 [fr] French (Frédéric Marchal) 1245 [de] German 1246 [id] Indonesian (Andhika Padmawan) 1247 [it] Italian (Vincenzo Campanella) 1248 [ja] Japanese (Takeshi Hamasaki) 1249 [pl] Polish (Jakub Bogusz) 1250 [sk] Slovak (Marcel Telka) 1251 [vi] Vietnamese (Clytie Siddall) 1252 1253 1254fetchmail-6.3.16 (released 2010-04-06, 25574 LoC): 1255 1256# BUG FIX 1257* Fix --interface option, broken in 6.3.15. Reported by Vladmimir Stavrinov. 1258 Fixes Debian Bug #576717. 1259 1260# CHANGE 1261* Call OpenSSL_add_all_algorithms(). This is needed to support non-mandatory 1262 and non-standard algorithms in certificates. 1263 Sjoerd Simons, to fix Debian Bug #576430. 1264 OpenSSL 0.9.8* does not load - for instance - the SHA256 digest by default. 1265 Reported as OpenSSL RT#2224. 1266 1267 1268fetchmail-6.3.15 (released 2010-03-28, 25572 LoC): 1269 1270# FEATURE 1271* Fetchmail now supports a bad-header command line or rcfile option that takes 1272 exactly one argument, accept or reject (default). This specifies how messages 1273 with bad headers retrieved from the current server are to be treated. 1274 1275# BUG FIXES 1276* In the rcfile, recognize "local" as abbreviation for "localdomains", as 1277 documented. The short form has not ever worked since this feature was added in 1278 January 1997. Reported by Frédéric Marchal. 1279* Do not close stdout when using mda and "bsmtp -" at the same time. 1280* Log operating system errors when BSMTP writes fail. 1281* Fix verbose mode progress formatting regression from 6.3.10; SMTP trace lines 1282 were no longer on a line of their own. Reported by Melchior Franz. 1283* Check seteuid() return value and abort running MDA if switch fails. 1284* Set global flags in a consistent manner. Make --nosoftbounce and 1285 --nobounce work from command line (these used to work in rcfiles). 1286 Reported and fix confirmed working by N.J. Mann. (Sunil Shetye) 1287* Properly import h_errno declarations, even on systems where h_errno isn't a 1288 macro. (Adds ./configure check, fixes Cygwin dllimport warnings.) 1289 1290# CHANGES 1291* The repository has been converted and moved from the Subversion (SVN) format 1292 kindly hosted by Graham Wilson over the past years to Git format hosted on 1293 Gitorious.org. My deepest thanks to Graham Wilson for this service that 1294 kept us going when BerliOS's Subversion service was faulty in its early days. 1295* This opportunity was used to convert BRANCH_6-2 and BRANCH_1-9-9 to 1296 GnuPG-signed tags, as a sign that these are now closed. 1297* The outdated SVN trunk is now called "oldtrunk" in Git just to save the work 1298 for future reference. All development in the past few years was on BRANCH_6-3. 1299* master was branched from BRANCH_6-3. BRANCH_6-3 is now obsolete (and in fact 1300 was also converted to a tag to record where the conversion from SVN to Git 1301 took place). 1302* "make check" now skips HTML validation if xmllint or XHTML DTD are missing. 1303 1304# DOCUMENTATION 1305* Web site and documentation were adjusted to reflect the SVN->Git move. 1306* The fetchmail manual page is now much clearer on the user id switching 1307 (seteuid) when using --mda while running as the super user. 1308 1309# TRANSLATION UPDATES, by language name 1310* [zh_CN] Chinese (Simplified), by Ji Zheng-Yu 1311* [cs] Czech, by Petr Pisar 1312* [nl] Dutch, by Erwin Poeze 1313* [fr] French, by Frédéric Marchal 1314* [de] German 1315* [id] Indonesian, by Andhika Padmawan 1316* [it] Italian, by Vincenzo Campanella 1317* [ja] Japanese, by Takeshi Hamasaki 1318* [pl] Polish, by Jakub Bogusz 1319* [vi] Vietnamese, by Clytie Siddall 1320 1321 1322fetchmail 6.3.14 (released 2010-02-05, 25487 LoC): 1323 1324# SECURITY FIXES 1325* CVE-2010-0562: SSL/TLS certificate information is now also reported properly 1326 on computers that consider the "char" type signed. Fixes malloc() buffer 1327 overrun. Workaround for older versions: do not use verbose mode. 1328 See fetchmail-SA-2010-01.txt for details, including a minimal patch. 1329 1330# BUG FIXES 1331* The IMAP client no longer skips messages from several IMAP servers including 1332 Dovecot if fetchmail's "idle" is in use. Causes were that fetchmail (a) 1333 ignored some untagged responses when it should not (b) relied on EXISTS 1334 messages in response to EXPUNGE, which aren't mandated by RFC-3501 (the IMAP 1335 standard) and aren't sent by Dovecot either. 1336 Fix by Sunil Shetye (the fix also consolidates IMAP response handling, 1337 improving overall robustness of the IMAP client), bug report and testing by 1338 Matt Doran, with further hints from Timo Sirainen. 1339* The SMTP client now recovers from errors (such as servers dropping the 1340 connection after errors) when sending an RSET command. 1341 Fix by Sunil Shetye. Report by James Moe. 1342* The IMAP client now uses "SEARCH UNSEEN" rather than "SEARCH UNSEEN NOT 1343 DELETED" again on IMAP2, to fix a regression in fetchmail 6.2.5 reported by 1344 Will Stringer in June 2004. (Sunil Shetye) 1345* The IMAP client now uses "SEARCH UNSEEN UNDELETED" on IMAP4 and IMAP4r1 1346 servers (Sunil Shetye). 1347* Workaround: The IMAP client now falls back to "FETCH n:m FLAGS" if the server 1348 does not support "SEARCH". (Sunil Shetye) 1349* The IMAP client now requests message numbers in batches of 1,000 to avoid 1350 problems if there are more than 1860 unseen messages. (Sunil Shetye) 1351 Note that this wasn't security relevant because fetchmail would only read up 1352 to the maximum buffer size and leave the remainder of the string unread, going 1353 out of synch afterwards. 1354* Stricter validation of IMAP responses containing byte or message counts. 1355 1356# CHANGES 1357* Only include gssapi.h if we're not including gssapi/gssapi.h, to fix a FreeBSD 1358 compiler warning about gssapi.h being obsolete. 1359 1360# DOCUMENTATION 1361* The README.SSL document was revised for grammar, spelling, and clarity. 1362 Courtesy of Robert Mullin. 1363 1364# TRANSLATION UPDATES 1365* [it] Italian, by Vincenzo Campanella 1366 1367 1368 1369fetchmail 6.3.13 (released 2009-10-30, 25333 LoC): 1370 1371# REGRESSION FIXES 1372* The multiline SMTP error fix in release 6.3.12 caused fetchmail to lose 1373 message codes 400..599 and treat all of these as temporary error. This would 1374 cause messages to be left on the server even if softbounce was turned off. 1375 Reported by Thomas Jarosch. 1376 1377# TRANSLATION UPDATES 1378* [cs] Czech, by Petr Pisar 1379* [zh_CN] Chinese (simplified), by Ji ZhengYu 1380* [nl] Dutch, by Erwin Poeze 1381* [id] Indonesian, by Andhika Padmawan 1382* [ja] Japanese, by Takeshi Hamasaki 1383* [pl] Polish, by Jakub Bogusz 1384* [es] Spanish (Castilian), by Franciso Molinero 1385* [vi] Vietnamese, by Clytie Siddall 1386 1387 1388fetchmail 6.3.12 (released 2009-10-05): 1389 1390# REGRESSION FIXES 1391* The CVE-2009-2666 fix in fetchmail release 6.3.11 caused a free() of 1392 unallocated memory on SSL connections, which caused crashes or program aborts 1393 on some systems (depending on how initialization and free() of unallocated 1394 memory is handled in compiler and libc). 1395 Workaround for older versions: run in verbose mode. 1396 Patch courtesy of Thomas Heinz, fixes Gentoo Bug #280760. 1397 This regression affected only the 6.3.11 release, but not the patch that was 1398 part of the security announcement fetchmail-SA-2009-01. 1399 1400# BUG FIXES 1401* Fix error reporting for GSSAPI on Heimdal (h5l) Kerberos. 1402* Look for MD5_Init in libcrypto rather than libssl, fixes Gentoo Kerberos 1403 builds; fixes upstream parts of Gentoo Bugs #231400 and #185652, and fixes 1404 BerliOS Bug #16134. 1405* Report multiline SMTP errors properly, reported by Earl Chew; fixes Debian Bug 1406 #529899, reported by Akihiro Terasaki. 1407 Note: This fix introduced a regression, fixed in 6.3.13. 1408* Replace control characters in SMTP replies by '?'. 1409* Fetchmailconf: Fix descriptions for smtpaddress and smtpname options; 1410 smtpaddress is for RCPT TO, not MAIL FROM. Found by Gerard Seibert. 1411 1412# TRANSLATION UPDATES AND ADDITIONS (ordered by language name): 1413* [ca] Catalan (Ernest Adrogué Calveras) 1414* [zh_CN] Chinese/Simplified (Ji ZhengYu) 1415* [cs] Czech (Petr Pisar) 1416* [ja] Japanese (Takeshi Hamasaki) 1417* [pl] Polish (Jakub Bogusz) 1418* [es] Spanish/Castilian (Francisco Molinero) 1419* [vi] Vietnamese (Clytie Siddall) 1420 1421 1422fetchmail 6.3.11 (released 2009-08-06): 1423 1424# SECURITY BUGFIXES 1425* CVE-2009-2666: SSL NUL prefix impersonation attack through NULs in a 1426 part of a X.509 certificate's CommonName and subjectAltName fields. These 1427 fields use opaque strings with a separate length field, so that the NUL 1428 character isn't a special character inside the certificate. Fetchmail, being 1429 written in the C language, used to treat these strings as C strings 1430 nonetheless, so that the domain comparison would end at the first embedded NUL 1431 character, rather than at the real end of the string. 1432 Fetchmail will now abort certificate verification as failed if NULs are 1433 encountered inside either of these fields regardless of their position, and 1434 drop the connection even if --sslcertck is not used, because NUL is not a 1435 valid character in legitimate DNS names. 1436 See fetchmail-SA-2009-01.txt for details, including a minimal patch. 1437 1438# BUGFIXES 1439* Remove the spurious message "message delimiter found while scanning headers". 1440 RFC-5322 syntax states that the delimiter is part of the body, and the body is 1441 optional. 1442* Convert all non-printable characters in certificate Subject/Issuer 1443 Common Name or Subject Alternative Name fields to ANSI-C hex escapes (\xnn, 1444 where nn are hex digits). 1445 Note that this change introduces a regression, fixed in 6.3.12. 1446 See the 6.3.12 documentation above for details and a workaround. 1447 1448# TRANSLATION UPDATES AND ADDITIONS (ordered by language name): 1449* [zh_CN] Chinese/Simplified (Ji ZhengYu) 1450* [es] Spanish/Castilian (Francisco Molinero) 1451 1452 1453fetchmail 6.3.10 (released 2009-07-02): 1454 1455# INCOMPATIBLE BUGFIXES AND CHANGES 1456* Fetchmail no longer drops permanently undelivered messages by default, to 1457 match historic documentation. It does this by adding a new "softbounce" 1458 option, see below. 1459 Fixes Debian Bug#471283, demotes Debian Bug#494418 to wishlist. 1460* There is a new "softbounce" global option that prevents the deletion of 1461 messages that have not been forwarded. It defaults to "true" for fetchmail 1462 6.3.X in order to match historic documentation. This may change its default 1463 in the next major release. 1464 1465# BUGFIXES 1466* Fix misuse of canonical autoconf target as _TARGET when it should have been 1467 _HOST. Report and patch courtesy of Diego E. "Flameeyes" Pettenò. 1468 Details: http://blog.flameeyes.eu/2009/01/01/the-canonical-target 1469* Do not lose PS_MAXFETCH (13) exit status when hitting maxpoll. Reported by 1470 Michelle Konzack, Debian Bug#508667. 1471* Do not overlap source and destination fields in snprintf() in interface.c. 1472 Courtesy of Nico Golde, Debian. 1473* When a pre- or post-connect command fails, now report the exit status or 1474 termination signal properly through sys/wait.h macros. 1475* When acquiring a body, understand NIL ("no such data item"), as returned by 1476 some MS Exchange versions. Fixes BerliOS Bug #11980 by KB Sriram. 1477* Make progress tickers (-v/--showdots) consistent, and update documentation 1478 accordingly ("." for each 1024 octets read, "#" for a header written, and "*" 1479 for each body line written.) 1480 The conditions under which these had been printed were inconsistent, 1481 illogical, and documentation hadn't matched real behaviour for long. 1482* For NTLM authentication, use dynamically allocated buffers. 1483 Fixes Debian Bug#449179, reported by Stepan Golosunov. 1484* Non-delivery notice ("bounce mail") now mentions the original reason again, 1485 before the address list. This fixes a regression introduced in 6.3.0. 1486* Several compiler warnings were fixed. 1487* The minimum recommended SMTP (RFC-5321) timeouts are enforced to leave 1488 sufficient time for the listener to respond. Some synchronous listeners, 1489 particularly when used with spam filtering and other policy enforcement 1490 services, take extended amounts of time to process messages after the sender, 1491 recipient, or data block and EOM line. This can cause fetchmail to not wait 1492 long enough for the "250 Ok" and make fetchmail believe the message wasn't 1493 properly delivered when in fact it was; fetchmail would then retry the 1494 download next time and never make progress. 1495 Fixes Berlios Bug #10972, reported by Viktor Binzberger. 1496* The ESMTP/LMTP client will now apply an application-specific timeout while 1497 waiting for the EHLO/LHLO response, rather than wait for the server or TCP 1498 connection timeout. 1499* Treat 530 errors as temporary, so as not to delete messages on configuration 1500 errors. Partially taken from Petr Cerny's patch in Novell Bugzilla #246829. 1501 The 501 part of said patch was not added, as the maintainer is not convinced 1502 501 is a temporary condition, and softbounce takes care of this anyways. 1503 1504# CHANGES 1505* Make the comparison of the SSL fingerprints case insensitive, to 1506 ease its use. Suggested by Daniel Richard G. 1507* Proper precedence ordering for the syslog and logfile options. If the logfile 1508 option is effective (i. e. we're in daemon mode and nodetach isn't used), 1509 reset the syslog option. If logfile is ineffective (we're not in daemon mode, 1510 or nodetach is set), syslog takes precedence. 1511* The sleeping at/awakened at messages appear in logfiles and syslog only if 1512 verbose mode is enabled. On the console, they will still appear without 1513 verbose mode. Fixes Debian Bug#282259. 1514* fetchmail only requests IPv6 addresses via name service if at least one is 1515 configured on the local host, likewise for IPv4. (AI_ADDRCONFIG flag to 1516 getaddrinfo()) Extended version of Redhat's patch. 1517* If the server name contains "yahoo.com", offers the "ID" capability, and we're 1518 polling via IMAP, send an ID ("guid" "1") transaction first, ignoring its 1519 result. This appears needed to be able to log into Yahoo's Zimbra servers, but 1520 there are open issues (such as being only able to download one message and 1521 server certificate mismatches). 1522 1523# CHANGES TO CONTRIB 1524* Fix bashism in contrib/fetchsetup. Fixes Debian Bug#530081. 1525 1526# DOCUMENTATION 1527* Some parts of the the manual page were revised for clarity, accuracy, and 1528 updated recommendations (particularly SSL/TLS) and formatting conventions from 1529 man-pages(7). 1530* The README and README.SSL documents were updated. 1531* A document, README.SSL-SERVER, was added to describe server-side requirements 1532 for proper SSL and/or TLS service offerings. These are not specific to 1533 fetchmail. 1534* Documentation on how to make "NOMAIL" (exit code 1) not treated an error has 1535 been added to the EXIT CODES section of the manpage and to the FAQ as item C8. 1536 The suggested solution uses a tiny POSIX shell script fragment. 1537 Fixes Debian Bug #530749, filed by Reuben Thomas. 1538 1539# TRANSLATION UPDATES AND ADDITIONS (ordered by language name): 1540* [cs] Czech (Petr Pisar) 1541* [en_GB] English/British 1542* [de] German 1543* [id] Indonesian (Andhika Padmawan) 1544* [it] Italian (Vincenzo Campanella) 1545* [ja] Japanese (Takeshi Hamasaki) 1546* [pl] Polish (Jakub Bogusz) 1547* [ru] Russian (Pavel Maryanov), fixing Debian Bug #531925 1548* [es] Spanish/Castilian (Francisco Molinero) 1549* [zh_CN] Chinese/Simplified (Ji ZhengYu) 1550 1551 1552fetchmail 6.3.9 (released 2008-11-16): 1553 1554# SECURITY AND CRITICAL BUG FIXES: 1555* CVE-2007-4565: Denial of service: When fetchmail tries to inject a warning 1556 message it created itself, and the message is refused by the SMTP listener, 1557 fetchmail dereferences a NULL pointer and crashes. Report & fix by Earl Chew. 1558 Note while this is theoretically a remote denial of service attack vector, 1559 fetchmail by default talks SMTP to the localhost, so the overall risk is 1560 rather low. 1561 This bug was apparently introduced on 1998-11-27 when the bouncemail facility 1562 was modularized. The bug then made its appearance in fetchmail release 4.6.8. 1563 See also fetchmail-SA-2007-02.txt. 1564* CVE-2008-2711: Denial of service: When fetchmail logs data blobs 1565 (for instance, a To: header in -v -v verbose mode) in excess of 2048 1566 bytes, it will crash, because it hands an uninitialized argument 1567 pointer (not the format string though) to vsnprintf and reads a 1568 random memory location (it calls va_arg() too often without 1569 resetting it with va_start()). Based on a patch (BerliOS patch #2492) 1570 by Petr Uzel, fixes Novell Bug #354291. 1571 Note 6.3.9-rc1 did not completely fix this issue, so it was redrawn a few 1572 hours after its release. 1573 See also fetchmail-SA-2008-01.txt. 1574* When expunging, mark the right messages as seen to avoid message loss in "keep 1575 flush" configurations. Workaround for previous versions: "expunge 0". 1576 Report and patch by Alexander Cherepanov - thanks a lot, Berlios Bug #11797, 1577 "imap_mark_seen doesn't consider expunged messages". 1578* SSL fix: close memory leak when SSL connection fails; fetchmail used to forget 1579 calling SSL_free() on the SSL context, leaking in excess of 500 kB RAM on a 1580 x86_64 system per failed SSL connection attempt. 1581 Bug reported and patch provided by Seiichi Ikarashi, Fujitsu. 1582 1583# BUG FIXES: 1584* The configure script will additionally check for 'dn_skipname', to fix build 1585 failures with µClibc. The new check still recognizes the resolver libraries on 1586 Ubuntu 7.04, openSUSE 10.2, Solaris 8, NetBSD 4.0_BETA2 and FreeBSD 6.2. 1587 Fixes Gentoo bug #134187. 1588 NOTE: this is a bit of a hack, since we twist the HAVE_RES_SEARCH result, but 1589 res_search() and dn_skipname() are only used together and scheduled for 1590 removal in future versions, so this is probably fine. 1591* No longer complain about invalid sslproto "" when POP3 CAPA probe fails. 1592 Fixes Debian Bug#421446 (Holger Leskien), Novell Bug #247233 (Jon Nelson), 1593 Red Hat Bug#503881. 1594 Thanks to Matthias Strauß for a configuration to reproduce the issue. 1595* Allow .fetchmailrc and .fetchids to be symlinks, as the manpage does not 1596 document they aren't allowed - fixes Debian Bug #452907 (Roger Leigh). 1597 TOCTOU race persists. 1598* fetchmailconf quotes mailbox (folder) names when writing the configuration. 1599 Fixes BerliOS Bug #13207 (reported + fix suggested by Terry Brown). 1600* Only print "Deleting fetchids file" if there actually is one. 1601 Fixes Debian Bug#374514, reported by Dan Jacobson. 1602* SSL fix: check and report if SSL_set_fd fails. 1603 1604# CHANGES: 1605* autoconf 2.60 is now required to build fetchmail; it uses 1606 AC_USE_SYSTEM_EXTENSIONS to replace AC_AIX, AC_MINIX, and the like. 1607* Removed dead FETCHMAIL_DEBUG code from fetchmail.h that was disabled by 1608 default with no switches in configure to enable it. However, the macro would 1609 have been prone to a symlink attack. Found by Nico Golde. 1610* Removed dead FORCE_STUFFING code from socket.c that was disabled by default 1611 with no switches in configure to enable it. 1612* Include the typedef for int16 in the #ifndef _AIX in smbencrypt.c (Peter 1613 O'Gorman) 1614* Correct check for u_int32_t in configure.ac (seems to be typedef'ed in 1615 namser.h on some platforms.) (Peter O'Gorman) 1616* In configure.ac change all CPFLAGS to CPPFLAGS, CEFLAGS to CFLAGS and LDEFLAGS 1617 to LDFLAGS otherwise the results of some tests (additional -L and -I flags) do 1618 not get used for later tests causing incorrect configure results. Makefile.am 1619 was also changed to reflect this. (Peter O'Gorman) 1620* m4/gethostbyname_r.m4 does AC_TRY_COMPILE, which unfortunately can pass even 1621 if there is no gethostbyname_r. Changed to AC_TRY_LINK. (Peter O'Gorman) 1622* Revise getnameinfo check to ensure NULL is defined and the result is properly 1623 evaluated, to avoid bogus results on for instance FreeBSD and redefinitions of 1624 NI_* at compile time. (Matthias Andree). 1625* __attribute__ ((unused)) is a gccism, removed from libesmtp/gethostbyname.c. 1626 (Peter O'Gorman) 1627* In KAME/getnameinfo.c it's best to use the correct argument to inet_ntoa. 1628 (Peter O'Gorman) 1629* In verbose mode, log if --check mode is enabled. 1630* Add sslcommonname option (rcfile and commandline) as a way to work around 1631 misconfigured upstream SSL servers that use the wrong certificate name. It 1632 specifies which CommonName fetchmail expects and logs. (Daniel Richard G.) 1633* Changed CRLF to LF line endings in contrib/delete-later (reporter: Petr Uzel) 1634* SSL change: enable all workarounds with SSL_CTX_set_options(ctx,SSL_OP_ALL) 1635* All translations have been re-enabled, in an attempt to rekindle translator or 1636 user interest. 1637 1638# DOCUMENTATION: 1639* Add fetchmail-SA-2007-02.txt and fetchmail-SA-2008-01.txt. 1640* Re-add two lines to the manual page that had accidentally become comments 1641 to nroff. One was part of the --sslproto documentation, and one in the 1642 "Awakening the background daemon" section. 1643* The manual page no longer asserts that .fetchids were for exclusive POP3 use, 1644 since it is planned to use the file with IMAP4 later. 1645* Add grammar fixes from Dan Jacobson to fetchmail.man. Debian Bug #461642. 1646* The manual page now mentions that user descriptions need to come before user 1647 options. Reported by Francensco Pontortì, to fix Debian Bug #467010. 1648* The manual page no longer hints that multi-user declarations per server were 1649 only useful in daemon mode running as root, to avoid hinting people to doing 1650 that. 1651* Several manual page rcfile examples now include "ssl". 1652* The manual page hints that option arguments beginning with numbers can be 1653 enclosed in quotes. 1654* The manual page now mentions that the --logfile must already exist before 1655 fetchmail is run. 1656* The FAQ now recommends (#I9) not to use Google Mail for their disregard to the 1657 protocols they claim to support. 1658* Documentation and program output now /consistently/ claim that the rcfile must 1659 not have more than 0700 (u=rwx,g=,o=) permissions, but fetchmail will still 1660 silently accept additional g=x permissions for compatibility with previous 1661 6.2.X and 6.3.X versions. 1662 Inconsistency (program 0710, manpage 0600) reported by Petr Uzel. 1663* The --logfile documentation is now clearer about requiring detached daemon 1664 mode. 1665 1666# TRANSLATION UPDATES AND ADDITIONS (ordered by language name): 1667* [sq] Albanian (Besnik Bleta) 1668* [zh_CN] Chinese, simplified (Ji Zheng-Yu) 1669* [cs] Czech (Petr Pisar) 1670* [da] Danish (Byrial Ole Jensen) - outdated, but newer than in 6.3.8 1671* [nl] Dutch (Tony Vroon, Benno Schulenberg) 1672* [en_GB] English, British 1673* [fi] Finnish (Lauri Nurmi) 1674* [de] German 1675* [id] Indonesian (Andhika Padmawan) 1676* [ja] Japanese (Takeshi Hamasaki) 1677* [pl] Polish (Jakub Bogusz) 1678* [ru] Russian (Pavel Maryanov) 1679* [es] Spanish (Javier Fernández-Sanguino Peña, Matthias Andree) 1680* [tr] Turkish (Engin Gündüz) - outdated, but newer than in 6.3.8 1681* [vi] Vietnamese (Clytie Siddall) 1682 1683 1684 1685fetchmail 6.3.8 (released 2007-04-06): 1686 1687# SECURITY STRENGTHENING: 1688* Make the APOP challenge parser more distrustful and have it reject challenges 1689 that do not conform to RFC-822 msg-id format, in the hope to make mounting 1690 man-in-the-middle attacks (MITM) against APOP a bit more difficult. 1691 (CVE-2007-1558, reported by Gaëtan Leurent, published 2007-04-02 on Bugtraq) 1692 1693 APOP is claimed insecure by Gaëtan Leurent for MITM scenarios for typical 1694 setups: based on MD5 collisions, it is purportedly possible to recover the 1695 first three characters of the shared secret (password), which would then make 1696 recovery of the shared secret a matter of hours or minutes; this would then 1697 enable the attacker to impersonate the client vis-à-vis the server. 1698 1699 For further details, check 1700 * Gaëtan Leurent, "Message Freedom in MD4 and MD5 Collisions: Application 1701 to APOP", Fast Software Encryption 2007, Luxembourg. (Proceedings to appear in 1702 Springer's Lecture Notes on Computer Science.) 1703 * The mailing list discussion thread at 1704 <http://lists.berlios.de/pipermail/fetchmail-devel/2007-March/000887.html> 1705 1706# BUG FIXES: 1707* Fix pluralization of oversized-message warning mails. 1708* Fix manual page: --sslcheck -> --sslcertck, and do not set trailing 1709 "recommended:" in bold. Fixes Debian Bug #413059, reported by Rafal Czlonka. 1710* Repoll immediately if a protocol error happens during the authentication 1711 attempt after a failed opportunistic TLS upgrade. 1712 Fixes comment #9 in Gentoo Bug #163782, reported by Takuto Matsuu. 1713* Fix rendering of the "24 - 26, 28, 29" paragraph in the exit codes section. 1714 Reported by Nico Golde. 1715* If SOCKS support was compiled in, add 'socks' to the feature_options Python 1716 list emitted in --configdump. Reported by Rob MacGregor. 1717* Do not crash with a null pointer dereference when opening the BSMTP file 1718 fails. Improve error checking and reporting. Reported by Reto Schüttel, 1719 Debian Bug#416625. Fix based on a patch by Nico Golde. 1720* Make BSMTP output actually work, it would persistently fail with SOCKET error 1721 after writing the first header. Bug independently found and reported in 1722 excellent detail by Reto Schüttel, Debian Bug#416812. 1723 1724# DOCUMENTATION: 1725* Add fetchmail-SA-2007-01.txt 1726* Extend --mda documentation, discourage use of qmail-inject. 1727 Based on a patch by Rob MacGregor. 1728* Document SOCKS configuration facility (SOCKS_CONF environment variable). 1729 Thanks to Jochen Hayek, Michael Shuldman and Rob MacGregor. 1730* Use envelope option in multidrop example. Patch by Rob MacGregor. 1731* Document expected Received: line format when parsing for envelope addressees. 1732* Stripped option documentation from sample.rcfile, since this is bound to go 1733 out of synch with the manual page, which is the only reference on options. 1734* Mention that --limit default is 0 bytes, which is special for "no limit". 1735* Corrected Robert M. Funk's name that I misspelled. My sincere apologies 1736 -- Matthias Andree. 1737 1738# CONTRIB: 1739* Add delete-later and delete-later.README, a script and documentation for 1740 a MySQL/Tcl-based client-side "delete-after" feature. 1741 Kindly donated by Yoo GmbH, Großvoigtsberg, Germany (Carsten Ralle). 1742 1743 1744fetchmail 6.3.7 (released 2007-02-18): 1745 1746# FIXES FOR REGRESSIONS IN 6.3.6 1747* Fix KPOP. Patch by Miloslav Trmac. 1748* Fix repoll when server disconnects after opportunistic TLS failed for POP3. 1749 Berlios Bug #10133 = Gentoo Bug #163782 reported by Andrej Kacian. 1750 1751# TRANSLATION UPDATES 1752* Japanese (Takeshi Hamasaki), Polish (Jakub Bogusz) 1753 1754# CHANGES 1755* Consider getaddrinfo() on Darwin 9 (Mac OS X 10.5 "Leopard") thread-safe. 1756 Reported by Uli Zappe. 1757 1758 1759fetchmail 6.3.6 (released 2007-01-04): 1760 1761# SECURITY FIXES: 1762* CVE-2006-5867, fetchmail-SA-2006-02.txt: 1763 Password disclosure vulnerability fixed. This has several aspects: 1764 1765 - Fetchmail now implies sslproto 'tls1' if the sslfingerprint or sslcertck 1766 options are used and the ssl option is not used, in order to be sure that 1767 fetchmail gets a certificate from the mail server. 1768 1769 - Fetchmail breaks the connection if the TLS negotiation (or verification, if 1770 requested) fails with sslproto 'tls1', sslfingerprint or sslcheck enabled. 1771 1772 - POP3 connections now use STLS reliably. They used to ignore STLS altogether 1773 for serveral values of the "auth" option, when fetchmail forget to probe 1774 server capabilities - see fetchmail-SA-2006-02.txt for details. 1775 1776 - POP3 connections will no longer fall back USER/PASS authentication if 1777 strong challenge-response authenticators such as CRAM-MD5 are configured 1778 but the server does not advertise these in its CAPA response. 1779 1780 - POP2 is obsolete and does not support STLS or anything beyond password-based 1781 authentication. The attempt to use STLS or strong authenticators now causes 1782 connection abort. 1783 1784 Configurations using both ssl and sslcertck however have been semi-safe in 1785 that they would send the password in the clear. The USER/PASS fallback 1786 problem however applies to these too, so that the password was only safe on 1787 trustworthy servers. 1788 1789* CVE-2006-5974, fetchmail-SA-2006-03.txt: 1790 Repairs a regression in 6.3.5 that crashes fetchmail when a message with 1791 invalid headers is found while fetchmail's mda option is in use. BerliOS bugs 1792 #9364, #9412, #9449. Stack backtrace provided by Neil Hoggarth - thanks. 1793 1794# REGRESSION FIXES (recently introduced bugs) 1795* Repair --logfile, broken in 6.3.5. BerliOS Bug #9059, 1796 reported by Brian Harring. 1797* Repair --user, broken in 6.3.5 (as a side effect of the authenticate external 1798 patch): using SSL certificate/key authentication overrode the --user option. 1799 Now the latter takes precedence, and only defaults to the certificate's common 1800 name. Debian Bug #400950, reported by Jorgen Schaefer <forcer@debian.org>. 1801 1802# BUG FIXES (long-standing bugs): 1803* RPOP: used to log the password locally rather than an asterisk as the other 1804 protocols do. The password is now shrouded in the local logs. 1805* POP3: Probes capabilities now when Kerberos V5 is enabled, so that we can 1806 actually detect if the server supports it. 1807* Robustness: If a stale lockfile cannot be deleted, truncate it so that 1808 fetchmail doesn't later believe itself to be running if the PID is recycled 1809 by a non-fetchmail process. 1810* DNS: Detect /etc/resolv.conf changes: On systems that have res_search(), 1811 assume we also have res_init() and call it (suggested by Ulrich Drepper, 1812 glibc bug #3675) in order to make libc or libresolv reread the resolver 1813 configuration at the beginning of a poll cycle. This is important when 1814 fetchmail is in daemon mode and /etc/resolv.conf is changed later by dhcpcd, 1815 dhclient, pppd, openvpn or other ip-up/ipchange scripts. Should fix Debian 1816 Bug#389270, Bug#391698. 1817* Robustness: Fix crash on systems that do not provide strdup(), the crash 1818 happens only in out-of-memory conditions when fetchmail cannot proceed 1819 anyways. Patch by Andreas Krennmair. 1820* Robustness: When HOME and FETCHMAILHOME are unset, be sure to copy user 1821 database information, so it is not trashed later. Patch by Jim Correia. 1822 1823# CHANGES: 1824* Workaround: Improve handling of IMAP IDLE, some servers do not reset their 1825 time counters after sending information asynchronously. Patch by Sunil 1826 Shetye, after report from Andrew Baumann. 1827* Usability: When requesting Kerberos or GSSAPI, complain and exit with syntax 1828 error if any of these requested features has not been compiled in. This is 1829 to fail early and with precise error message. Reported by Isaac Wilcox. 1830* --version will now add +KRB4 or +KRB5 if Kerberos v4 or v5, respectively, have 1831 been compiled in. Reported missing by Isaac Wilcox. 1832 1833# TRANSLATIONS: 1834* New en_GB (British English) translation by David Lodge. 1835* Update Japanese (Takeshi Hamasaki), Polish (Jakub Bogusz), Russian (Pavel 1836 Maryanov) and Vietnamese (Clytie Siddall) translations. 1837! Note that not all these translations are complete -- this isn't the 1838 translators' fault though, but due to delays at the BerliOS hosting site and 1839 the translation project handlers. You may see a few untranslated messages. 1840 1841# DOCUMENTATION: 1842* Dropped exit status 15 from manual page, it's not used by fetchmail. 1843 Reported by Isaac Wilcox. 1844* Documented exit codes 24 - 29 as internal. 1845 1846fetchmail 6.3.5 (released 2006-10-09): 1847 1848# BUG FIXES: 1849* For protocols such as IMAP that are not delimited by "." lines, truncate the 1850 input buffer when the message has been completely read, to avoid taking 1851 trailing garbage into the message if the terminal CRLF is missing. Fixes 1852 Debian Bug#312415. (Patch suggested by Mike Jones, Manchester Univ.). 1853* When using NTLM authentication, use regular IMAP response code handler after 1854 completing NTLM handshake, for robustness and consistency. 1855 (Taken from the NetBSD portable packages collection, patch-ac.) 1856* Support Kerberos installations where krb5.h and perhaps roken.h are in 1857 .../include/krb5. Taken from NetBSD portable packages collection patch-ae. 1858* On NetBSD, link against -lroken -lcom_err if --with-kerberos is enabled. 1859* Drop #include <com_err.h> from Kerberos 5 header file, fixes compile error on 1860 SUSE Linux 10.0. 1861* Fix des_pcbc_encrypt compile warnings in kerberos.c line 246. 1862* If krb5-config provides gssapi library information, use that rather than 1863 guessing. 1864* Improve --with-gssapi auto detection for /usr-based GSSAPI installs. 1865* Fix --with-gssapi builds for NetBSD 3.0. 1866* Improve KAME/getnameinfo.c portability to Linux libc5 systems. 1867 Based on a patch by Dan Fandrich. 1868* Provide INET6 to KAME/getnameinfo.c (only useful on IPv6-enabled systems that 1869 lack getnameinfo, and there only visible in some Received: headers). 1870 Found by Dan Fandrich. 1871* POP3: some UID flags may not be set properly on UIDL lists. (Sunil Shetye) 1872* Make IMAP4 IDLE work on servers that do not update RECENT counts. 1873 Reported by Lars Tewes. 1874* IMAP4 patch by Sunil Shetye: 1875 - do not depend on server updating RECENT counts at all 1876 - also enter IDLE loop when messages are present on the server. 1877* Fix --flush description in the manual page, fetchmail does not mark messages 1878 seen unless it has successfully delivered them. Suggested by Frederic Marchal. 1879* Fetchmail no longer attempts to stat the "-" file in daemon mode -- this is a 1880 special name to read the RC file from stdin, and cannot always be re-read 1881 anyways. BerliOS bug #7858. 1882* When looking up ports for a service, the lookup succeeds and the returned 1883 address family isn't IPv4 or IPv6, properly free the allocated memory from the 1884 service lookup. Found by Uli Zappe. 1885* When looking up ports for a service, only look up TCP ports. 1886* Avoid compiling empty files, to avoid diagnostics from strict compilers. 1887* If the lockfile ends before the process ID, treat it as stale and unlink it. 1888 Reported by Justin Pryzby, Debian Bug #376603. 1889* SIGHUP wake-up behavior was broken since 5.9.13's Cygwin changes, in that for 1890 non-root users, SIGHUP would abort the first poll and subsequently interfere 1891 with new polls, and SIGHUP would be ignored for root users. SIGHUP now matches 1892 documented behavior. SIGUSR1 has always been a wakeup signal for both root 1893 (undocumented) and non-root users. See also the deprecation warning above. 1894* Track getaddrinfo() results to properly free them after timeouts and make sure 1895 that getaddrinfo() isn't interrupted by a timeout (which breaks on MacOS X), 1896 reported by Uli Zappe. This should fix Debian Bug#294547 and Bug#377135. 1897* --logfile is now handled more carefully, errors opening the logfile are 1898 now reported to the TTY where fetchmail was started from. 1899* fetchmail now complains and aborts when it cannot properly daemonize itself. 1900* fix compilation on systems that don't know struct addrinfo (Solaris 2.6). 1901* ignore SIGPIPE signals and rely on functions to return EPIPE instead. This is 1902 necessary because the former longjmp() from the signal handler is unsafe and 1903 makes the whole fetchmail behavior undefined after the event. 1904* Avoid crash in env.c/host_fqdn if we cannot canonicalize our own hostname. 1905 Reported by Alexander Holler. 1906* SSL fix by Miloslav Trmac (Red Hat): free the SSL contexts after the 1907 connection, to avoid from growing SSL certpaths without bounds, avoid using 1908 SSL contexts for unrelated connections, and to fix Red Hat Bug #206346. 1909 1910# CHANGES: 1911* Rename all fetchmail-internal lock_* functions to fm_lock_*. Obsoletes 1912 NetBSD portable packages collection patch-ah, patch-ai and patch-aj. 1913* Configure prints a warning (but proceeds) if Kerberos IV support is enabled. 1914* In verbose mode, log every IP fetchmail tries to connect to, to avoid 1915 misleading the user. Suppress EAFNOSUPPORT errors from socket() call, too. 1916 Fixes Debian Bug #361825, reported by Daniel Baur. 1917* In idle mode, fetchmail complains about the fetchall option. 1918* When a connection fails, log not only the IP address, but also host and 1919 service name and the port number. Log the latter when trying to connect in 1920 verbose mode, too. 1921* Keep syslog output at one line per message (this works if no errors occur). 1922* Fetchmail in verbose mode now logs if it opportunistically upgrades a POP3 1923 or IMAP connection to TLS security with STLS/STARTTLS. 1924* fetchmail now supports foo@example.org=bar user mappings for multidrop boxes. 1925* switch setjmp/longjmp to sigsetjmp/siglongjmp 1926* IMAP now supports the EXTERNAL authentication method, courtesy of 1927 Götz 'nimrill' Babin-Ebell, BerliOS patch #1095 with minor changes. 1928 Note that this change causes --sslcert to override --user. 1929* The sslproto keywords are now case insensitive, courtesy of 1930 Götz 'nimrill' Babin-Ebell, BerliOS patch #1095. 1931* When going to sleep, log for how long. Suggested by Claudia Ludwig. 1932* When the server name cannot be canonicalized, log the gai_strerror value. 1933 1934# TRANSLATION UPDATES: 1935* Catalan/ca (Ernest Adrogué Calveras), Japanese/ja (Takeshi Hamasaki) - also 1936 made gettext 0.15 ready, Polish/pl (Jakub Bogusz), Russian/ru (Pavel 1937 Maryanov), Spanish/es (Héctor García Álvarez), Vietnamese/vi (Clytie Siddall) 1938 1939# CONTRIBUTED SCRIPTS: 1940* PopDel.py was revised by Joshua Crawford to display the From: address and 1941 list every email, even if it has no Subject: header; and not delete the wrong 1942 message in the presence of mail without Subject: headers. 1943 1944fetchmail 6.3.4 (released 2006-04-14): 1945 1946# BUG FIXES: 1947* configure: detect res_* functions properly with newer glibc ABIs. 1948 Patch by Miloslav Trmac. 1949* tracepolls: add folder information if available. Reported by Terry Brown. 1950* lexer: add %option noyywrap to avoid link errors about missing yywrap(). 1951* a few more type fixes for report/snprintf, patch by Miloslav Trmac. 1952* bouncing: fetchmail would still send "General SMTP/ESMTP error." bounces 1953 in spite of "no bouncemail" configuration. 1954* SSL/TLS: if, for a certain server, an sslfingerprint is specified and 1955 sslcertck is NOT set, suppress printing SSL certificate mismatch errors. 1956 (Reported by Hannes Erven.) 1957* SSL/TLS: always print if the sslfingerprint mismatches, even in silent 1958 mode. (This is for consistency with certificate verification errors.) 1959 1960# TRANSLATION UPDATES: 1961* German/de (Matthias Andree), French/fr (Matthias Andree), Spanish/es (Héctor 1962 García), Polish/pl (Jakub Bogusz), Japanese/ja (Takeshi Hamasaki) 1963* New Vietnamese/vi translation (Clytie Siddall). 1964* Updated French descriptions for the .spec file (Stéphane Schildknecht, 1965 Luc Pionchon, Matthias Andree). 1966 1967# CHANGES: 1968* pidfile: there is a new command-line (--pidfile PATH) and global option for 1969 the rcfile (set pidfile [=] "/path/to/pidfile") option to allow overriding 1970 the default location of the PID file. 1971 Requested by Héctor García, Debian maintainer. 1972* specgen.sh: Converted to UTF-8 to support translated texts better. 1973 1974fetchmail 6.3.3 (released 2006-03-30): 1975 1976# BUG FIXES: 1977* SEGFAULT: Do not attempt to overwrite the netrc password if none has been 1978 specified. This fixes a segmentation fault bug introduced into 6.3.2. 1979 Fixes BerliOS bug #6234. BerliOS patch #804 by Craig Leres. 1980 The patch, as accepted into fetchmail, was available separately from 1981 <http://download.berlios.de/fetchmail/patch-6.3.2.1-fix-netrc-SIGSEGV.diff> 1982* SEGFAULT: Work around C libraries that return a NULL in getaddrinfo()'s 1983 ai_canonname record, to avoid a segfault. Affects for instance FreeBSD 4.10, 1984 4.11 and 5.3 when dotted quads are given as server names. 1985 Analysis and fix by Vladimir Olegovich Ravodin (Владимир Олегович Раводин). 1986* IMAP: fix hangs in NOOP-based IDLE emulation. Reported by Casper Gripenberg 1987 and Brendan Lynch, fix by Sunil Shetye (his patch was merged) and Brendan Lynch. 1988* IMAP: Handle other clients concurrently accessing IMAP mailboxes better. 1989 Fetchmail quits the poll if the EXPUNGE count does not match expectations, and 1990 servers not updating RECENT counts after EXPUNGE are handled in a better way. 1991 (Patch by Sunil Shetye.) 1992* IMAP: Stop sending EXPUNGE after NOOP-idling (patch by Sunil Shetye). 1993* POP3: fetchmail can now use UIDL in fetchall keep mode, to avoid re-fetching 1994 the same messages again when the fetchall keyword is removed. Patch by 1995 Sunil Shetye. For details, please see 1996 <http://lists.berlios.de/pipermail/fetchmail-users/2006-March/000308.html> 1997* LMTP: fix bug in LMTP port validation (patch by Miloslav Trmac). 1998* SDPS: fetchmail no longer replaces the local user ID for an empty envelope 1999 sender when using the proprietary SDPS extension for POP3. 2000 Fixes Debian Bug#353575, reported by Roger Lynn. 2001* SDPS: Warn and disable SDPS if POP3 is disabled to avoid compilation errors. 2002* fetchmail no longer prints empty lines in verbose mode when using syslog. 2003* fetchmail no longer prints UID lists in verbose mode when using syslog. 2004* ./configure --quiet is now quieter (no SSL and fallback-related output). 2005* Miloslav Trmac's patch (with minor changes) to fix char * sign consistency, 2006 unused arguments and variables. 2007* More signedness, unused argument/variable and other warning fixes. 2008 2009# CHANGES: 2010* --idle can now be specified on the command line, too. 2011* --fetchall is now supported on the command-line. 2012* POP3: Lower default fastuidl span to 4 (i. e. every 4th run fetches the 2013 whole UIDL list), patch by Sunil Shetye. 2014 2015# DOCUMENTATION: 2016* "ssl" is a user option rather than a server option. Patch by Nico Golde. 2017 Fixes Debian Bug#354661, reported by Keith Hellman. 2018* The manual page now suggests "--" before the addresses in the sendmail MDA 2019 example, for safety. 2020* The FAQ item X9, Domino IMAP omits Content-Transfer-Encoding header, was 2021 added. Information provided by Anthony Kim on the fetchmail-friends list 2022 in March 2006. 2023* Credit Chris Boyle with the NOOP emulation code for IDLE in fetchmail 6.2.4. 2024 Eric forgot to credit Chris, thanks to Sunil Shetye for providing these links: 2025 http://lists.ccil.org/pipermail/fetchmail-friends/2003-July/007705.html 2026 http://lists.ccil.org/pipermail/fetchmail-friends/2003-July/007713.html 2027* Added a section about RETR vs. TOP to the manual page. 2028* Changed section/subsection levels in some areas. 2029 2030fetchmail 6.3.2 (released 2006-01-22): 2031 2032Unless otherwise noted, changes to this release were made by Matthias Andree. 2033 2034# SECURITY FIX IN THIS RELEASE 2035* CVE-2006-0321: Fix segfault or bus error after bouncing a message. This bug 2036 was introduced into 6.3.0 when removing alloca(); it caused fetchmail to free 2037 random memory. Reported by Nathaniel W. Turner, Debian Bug#348747. 2038 See fetchmail-SA-2006-01.txt 2039 2040# INCOMPATIBLE CHANGE: 2041* Automatically disable the POP3 TOP command if the greeting string contains 2042 "Maillennium POP3/PROXY server", which is used by comcast and known to 2043 truncate messages after 80 kByte. Fall back to RETR, and complain if we had 2044 used TOP otherwise (the warning is printed only once per server in daemon 2045 mode). Suggested by Ed Wilts. 2046 *Note* that this means messages are marked read on these servers, which is a 2047 deviation from how 6.3.1 behaved, but we have no alternative, comcast haven't 2048 fixed this bug in years. Preventing the loss of the remainder of the message 2049 justifies this incompatible fix. 2050* fetchmail, since 6.3.0, requires write permission to the directory holding the 2051 idfile. See the amendment in the 6.3.0 MAJOR INCOMPATIBLE CHANGES section 2052 below for details. The manual page was updated. 2053 2054# CHANGES RELEVANT TO PACKAGERS: 2055* The outdated BUGS document was removed from the distribution. 2056* Added fetchmail-SA-2006-01.txt to the distribution. 2057 2058# BUG FIXES: 2059* SMTP/LMTP cleanup to fix these two bugs: 2060 - switch back to SMTP after having tried LMTP hosts (multiple smtphost hosts) 2061 - switch back to LMTP after sending a bounce. 2062 The patch removes the global state variable that was the root of this problem. 2063 Patch by Sunil Shetye. (MA) 2064* Don't complain about fetchall keep in --configdump mode. Bug introduced in 2065 6.3.0. 2066* fetchmailconf.py: Fix novice help for Poll interval and fetchall. 2067 Reported by Justin Pryzby, Debian Bug #344978. 2068* Some verbose output disappeared in debug mode. Adding further -v options would 2069 alternate between verbose and debug mode. debug mode now comprises all verbose 2070 output, and adding more -v options does not switch back from debug to verbose 2071 mode. 2072* fetchmail.man: Fix accented characters in Héctor García's name. Merged from 2073 downstream debian/patches/01_man_page.dpatch. 2074* Add missing --help text for "--sslcertck" option. 2075* fetchmailconf.py: Accept --help and --version. 2076* fetchmail --version now prints the copyright notice. 2077* don't complain about READ-ONLY IMAP folders in --fetchall --keep mode. 2078 Reported Alexander Zangerl, Debian Bug#348964. 2079* the RPM .spec file now generates a -debuginfo package on newer RPM versions. 2080 2081fetchmail 6.3.1 (released 2005-12-19): 2082 2083# SECURITY FIX IN THIS RELEASE 2084* CVE-2005-4348 Fix segmentation fault (null pointer dereference) in 2085 multidrop mode with headerless email. See fetchmail-SA-2005-03.txt. 2086 Reported by Daniel Drake, patch by Sunil Shetye. (MA) 2087 2088# OTHER BUG FIXES, DOCUMENTATION AND TRANSLATION UPDATES 2089* Fix broken default port in POP2. Patch by Stanislav Brabec, SUSE [CZ]. (MA) 2090* Fix manual page, some lines starting with ' were escaped by \&. 2091 Reported by Simon Barner. (MA) 2092* Ship with gettext-0.14.3 again, as 6.2.9-rc10 did. Found by Sunil Shetye. (MA) 2093* Actually set default SSL certificate path if --sslcertpath is unset. 2094 Reported by Heino Tiedemann and Rob MacGregor. (MA) 2095* Remove bogus Netscape IMAP4rev1 Service >= 3.6 warning about BODY[TEXT] 2096 that we are not using. Patch by Sunil Shetye. (MA) 2097* Plug potential memory and socket leak when polling multiple folders or when 2098 the upstream sends bogus message sizes. Patch by Sunil Shetye. (MA) 2099* Update Catalan translation, by Ernest Adrogué Calveras. (MA) 2100* Fix segfault (null pointer dereference) on some operating systems with 2101 fetchmail's obsolete DNS MX/host alias lookups in multidrop mode. 2102 Patch by Dr.-Ing. Andreas Haakh. (MA) 2103* Close SMTP sockets early, to reduce resource usage, trigger earlier delivery 2104 with some MTAs and avoid SIGPIPE (SIG 13) when the SMTP listener gets bored 2105 and drops the connection after timeout. Patch by Sunil Shetye. (MA) 2106* Don't treat hitting a fetch limit as error. Patch by Sunil Shetye. (MA) 2107* Fix negative "messages left on server" on idle/repoll with fetchlimit. 2108 Patch by Sunil Shetye. (MA) 2109* Properly track logout stage. Patch by Sunil Shetye. (MA) 2110* Preserve error conditions across postconnect script. Sunil Shetye. (MA) 2111* Do not trash destination domain if multiple messages are forwarded into the 2112 same SMTP/LMTP connection. Reported by Joachim Feise, Berlios Bug #5849. (MA) 2113* Manual page: Add "-md5" to "openssl x509" example in --sslfingerprint 2114 documentation, since OpenSSL 0.9.8 changed the default to SHA1. 2115 Suggested by Jason White. (MA) 2116* Cope with servers that return UID information in response to non-UID 2117 RFC822.{SIZE|HEADER} requests. Reported by Jason White. 2118 Patch suggestion by by Sunil Shetye, simplified by MA. 2119 2120fetchmail 6.3.0 (released 2005-11-30): 2121 2122# SECURITY FIXES IN THIS RELEASE 2123* CVE-2005-2335: The POP3 UIDL code doesn't sufficiently validate/truncate the 2124 input length, so a (malicious or compromised) server that sends UIDs longer 2125 than 128 bytes can corrupt fetchmail's stack and crash fetchmail. 2126 This vulnerability is remotely exploitable to inject code run in a 2127 root shell. Edward J. Shornock, Ludwig Nussel. fetchmail-SA-2005-01.txt 2128* CVE-2005-3088: fetchmailconf now changes the output file to mode 0600 BEFORE 2129 writing to it, so there is no window where passwords could be read by the 2130 world. Matthias Andree. fetchmail-SA-2005-02.txt 2131 2132# MAJOR INCOMPATIBLE CHANGES 2133* Remove support for --netsec/-T options, the required inet6_apps library is no 2134 longer available. 2135 http://www.inner.net/pub/ipv6/ states, as of 2005-07-03: "/pub/ipv6 2136 Our IPv6 software is now long defunct. Please find a more modern source." 2137 I haven't been able to find a more modern source. Matthias Andree 2138* Operating systems that do not conform to the Single Unix Specification v2 2139 (1997) or v3 (2001, aka IEEE Std 1003.1-2001) are no longer supported. They 2140 may continue to work and non-intrusive patches to support them may be 2141 accepted. Matthias Andree 2142* The default for --smtphost is now always "localhost" regardless of 2143 authentication types and protocols, so as to simplify configurations for 2144 workstations where the SMTP daemon only listens on the loopback interface. 2145 Sunil Shetye & Matthias Andree 2146Amendment, 2006-01-04: 2147* fetchmail's idfile (.fetchids) is no longer written directly, but the ids are 2148 written to a temporary file which is renamed into place after being written 2149 completely. This is to avoid writing incomplete idfiles when running out of 2150 space, which would cause excessive duplicate refetches of messages, this might 2151 make matters even worse. This means that fetchmail requires write permission 2152 on the directory holding the idfile. This will usually affect system-global 2153 daemons only, for instance, Debian. Found by Dan Jacobson. Matthias Andree. 2154Escalated to "incompatible", 2006-01-13: 2155* Try to obtain FQDN as our own host by default, rather than using "localhost". 2156 If hostname cannot be qualified, complain noisily and continue, unless 2157 Kerberos, ODMR or ETRN are used (these have always required an FQDN). 2158 Partial fix of Debian Bug#150137. Fixes Debian Bug#316454. Matthias Andree 2159 2160# CHANGES RELEVANT TO PACKAGERS AND USERS 2161* fetchmailconf is now a shell wrapper that calls the byte-compiled 2162 fetchmailconf.py script, which is now installed in the regular python 2163 directory. Matthias Andree. 2164* The --enable-inet6 configure option was removed. The code is mostly protocol 2165 agnostic, a fully IPv6 aware OS is expected to provide getaddrinfo(), 2166 getnameinfo() and the macro AF_INET6. Matthias Andree. 2167* gettext (intl/) has been removed from the fetchmail package. Install GNU 2168 gettext 0.14 separately for NLS (i18n). Matthias Andree 2169* Added Russian translation, courtesy of Pavel Maryanov of the 2170 Russian translation team. (MA) 2171* Updated and re-enabled Czech translation, by Miloslav Trmac (MA). 2172* Dropped da=Danish, el=Greek and tr=Turkish translations which have more than 2173 10% (61+) untranslated or fuzzy messages. Matthias Andree. 2174 2175# OTHER USER-VISIBLE CHANGES 2176* Sunil Shetye's fix to force fetchsizelimit to 1 for APOP and RPOP. (ESR) 2177* PopDel.py removed from contrib at author's request. (ESR) 2178* Matthias Andree's fix for Sunil Shetye's fetch-split patch. (ESR) 2179* Include James Stone's moldremover.py script. (ESR) 2180* Enable .fetchmailrc permissions checking under Cygwin. (ESR) 2181* Nalin Dahyabai's fix for POP3 strong authentication. (ESR) 2182* Revised Nalin Dahyabai's fix for POP3 strong authentication (the 2183 original version would go into an infinite loop when CAPA failed; 2184 found by David Greaves.) (MA) 2185* HOME_ETC patch for PLD Linux. (ESR) 2186* Sunil Shetye's fix for SSL configuration. (ESR) 2187* Simon Josefsson's patch for GSS library support. (ESR) 2188* Added Andrey Lelikov's recipe for Hotmail and Lycos Webmail. (ESR) 2189* Remove blank between MAIL FROM: and <, which causes Cyrus to complain. 2190 Patch by Phil Endecott. (RF) 2191* Build fixes for HESIOD and resolv.h trouble on FreeBSD. (MA) 2192* Fabrice Bellet's fix for Red Hat bug #113492, fetchmail hangs in IMAP 2193 mode after EXPUNGE when the server (Dovecot 0.99.10) doesn't update 2194 RECENT and EXISTS counts. (MA) 2195* Holger Mauermann's bounce patch, to use a NULL envelope from, not 2196 write a Return-Path header (both to meet RFC-2821), changed From, 2197 added Subject header, rewording the human readable part. Fixes Debian 2198 bug #316446. (MA) 2199* Merge Sunil Shetye's time.h handling fix. (MA) 2200* Merge Gerd von Egidy's patch to avoid a segfault in multidrop/received 2201 mode when the Received: headers are malformatted. (MA) 2202* MIME-encode bodies and Subject headers of warning messages, limiting 2203 the header to 7 bits. (MA) 2204* Normalize most locale codesets to IANA codesets, based on 2205 norm_charmap.c by Markus Kuhn. (MA) 2206* Remove sleep(3) after POP3 login, patch by Brian Candler. (MA) 2207* Fix option parsing bug that trashes the showdots setting when more 2208 than one server is configured. Patch by Brian Candler. (MA) 2209* Honor sslcertpath setting even if sslcertck is unset. Patch by Brian 2210 Candler. (MA) 2211* SSL certificate checking fixes, don't display same error message twice 2212 in succession, make sure that Common Name and fingerprint checking are 2213 only done once. Print all validation warnings/errors even if not in 2214 verbose mode. Patch by Brian Candler. (MA) 2215* Import Bjorn Reese and Daniel Stenberg's MIT-licensed Trio 1.10 from 2216 http://daniel.haxx.se/projects/trio/ for systems that do not support 2217 snprintf or vsnprintf. (MA) 2218* Clean up the horrible #ifdef HAVE_[V]SNPRINTF that made the code 2219 unreadable. Use Trio where [v]snprintf is/are missing. (MA) 2220* Default to Linux 2.2 /proc/net/dev format, and use uname(2) to determine the 2221 kernel version instead of calling uname(1). Thanks to Paul Slootman. (MA) 2222* Be more careful when swapping UID lists or writing the .fetchids file, 2223 requested by Manfred Weihs. (MA) 2224* Print a warning if multidrop configuration is attempted without 2225 envelope option. (MA) 2226* Split information on fetchmail versions before 6.0.0 to a separate 2227 OLDNEWS file. (MA) 2228* Merge SuSE patches: (sent by Stanislav Brabec, merged by Matthias Andree) 2229 - fetchmail-6.2.5-declaration.patch (double sigint_handler decl/getpass.c) 2230 - fetchmail-6.2.5-implicit-declaration.patch (missing #include) 2231 - fetchmail-6.2.5-random-result.patch (uninitialized variable/opie.c) 2232* Revised some bogus assertions about POP3 LAST and UIDL use in the 2233 manual page. UIDL isn't flaky as the man page suggested, but a 2234 reliability feature. In fact, IMAP4 code is flaky in that it relies on 2235 the upstream seen flags. (MA) 2236* Miloslav Trmac's patch for fetchmailconf to support string-type values 2237 of the "port" variable, avoiding "port None" corruption in .fetchmailrc. 2238 To fix Redhat Bug #55623 (MA) 2239* de.po fixes from Nico Golde (MA) 2240* es.po fixes from Jesus Roncero, Debian bug #286044 (MA) 2241* sink.c fix from Cesar Eduardo Barros, to avoid double @ in address 2242 when username contains an @ and the envelope sender is null, Debian 2243 bug #272289 (MA) 2244* configure.ac cleanups by Miloslav Trmac (MA) 2245* Miloslav Trmac's fix to reply_hack() type, for systems where 2246 sizeof(int) != sizeof(size_t). (MA) 2247* Nalin Dahyabhai's fix for driver.c to not call the private Kerberos 2248 krb5_init_ets() function. Sent by Miloslav Trmac. (MA) 2249* Nalin Dahyabhai's fix for sink.c/transact.c to reserve sufficient 2250 space for \r\n trailers in snprintf calls. Sent by Miloslav Trmac, 2251 possibly fixing Red Hat bug #114470. (MA). 2252* Nalin Dahyabhai's patch to use the krb5-config script, if present. 2253 Sent by Miloslav Trmac. (MA) 2254* Nalin Dahyabhai's fix to make rpa.c compile. Sent by Miloslav Trmac. (MA) 2255* Trivial fetchmailconf.man to redirect to fetchmail.1. 2256 Reported by Miloslav Trmac. (MA) 2257* Internationalization (i18n) updates by Miloslav Trmac. (MA) 2258* Fix "couldn't find canonical DNS name of NN (MM)" for hosts that have 2259 only IPv6 addresses. Matthias Andree. 2260* Revised INSTALL after question from Brian Candler, inet6-apps is no 2261 longer available: remove inet6-apps hints for IPv6, and add some 2262 apologetic message for IPsec. Note the code may be removed in a future 2263 version. Matthias Andree. 2264* Brian Candler's FAQ update about SSL certificate verification. (MA) 2265* Nico Golde's patch to support "proto RPOP" in the configuration file, 2266 reported by Dr. Andreas Krüger, Debian bug #242384 (MA) 2267* Skip sending POP3 PASS command when USER command failed. Matthias Andree. 2268* Run fetchmail.man through automatic spell checker. Matthias Andree. 2269* Major fetchmail(1) manual page overhaul by R. Hannes Beinert, to 2270 clarify singledrop vs. multidrop operation. (MA) 2271* Make tracepolls a server option, as documented. Fixes Debian bug 2272 #156094. Matthias Andree. 2273* Fix some minor inaccuracies (RFC-1893 related, grammar/spelling) in 2274 the manual page. 2275* Rename ESR's design notes to esrs-design-notes.html and add a new 2276 design-notes.html document. The NOTES file will contain both of them. 2277 Matthias Andree. 2278* Fix Debian bug #301964, fetchmail leaks sockets when SSL negotiation 2279 fails. Fix suggested by Goswin Brederlow. (MA) 2280* Really fix Debian Bug#207919 (garbage in Received: lines when smtphost set), 2281 patch by Tobias Diedrich. The 6.2.5 NEWS claimed Gregan's patch had fixed 2282 #207919 but it had fixed #212484 instead and #207919 remained unfixed in 2283 6.2.5. The entry below has been corrected to read #212484 now. (MA) 2284* When writing the PID file, write a FHS 2.3 compliant PID file. 2285 Fixes Debian bug #230615. Matthias Andree. 2286* Make ODMR really silent, suppress "fetchmail: receiving message 2287 data". Fixes Debian Bug#296163. Matthias Andree. 2288* Add From: header to warning emails. Debian Bug#244828. Matthias Andree. 2289* Fix IMAP code to use password of arbitrary length from configuration 2290 file (although not when read interactively). Debian Bug#276424. 2291 Matthias Andree 2292* Document that fetchmail may automatically enable UIDL option. 2293 Debian Bug#304701. Matthias Andree. 2294* Put *BOLD* text into the manual page near --mda to state unmistakably that 2295 the --mda %T and %F substitutions add single quotes, hoping to avoid bogus 2296 bug reports such as Debian Bug #224564. Matthias Andree 2297* Rename lock_release to fm_lock_release, to avoid namespace collision on 2298 Darwin. NetBSD PR#28543 (pkg/28543). Matthias Andree. 2299* The RFC-822 parser no longer strips the last character of bare addresses. 2300 Matthias Andree 2301* The IP address matching code was broken and 2302 1. didn't search exhaustively, but matched only the first IP address of the 2303 server's queryname against the IP addresses of the server name to match. 2304 2. didn't match IP aliases versus MX hosts. Matthias Andree 2305* The "port" option, while still understood, is being replaced by the "service" 2306 option, which is now supported even without --enable-inet6. Matthias Andree. 2307* The default distribution format is now bzip2. Matthias Andree. 2308* fetchmailconf redirects fetchmail's input from /dev/null so it doesn't 2309 wait for the user to enter a password when the user doesn't even see 2310 the prompt. Reported by Michal Marek. Matthias Andree. 2311* Write RFC-compliant BSMTP envelopes. Reported by Nico Golde. Matthias Andree. 2312* Fix --with-gssapi compilation problem. Simon Josefsson. (MA) 2313* Foster protocol-independence to support IPv6 better, for instance, providing 2314 IPv6 addresses in Received: headers. Matthias Andree. 2315* Received: headers now enclose the for <...> destination address in angle 2316 brackets for consistency with Postfix. Matthias Andree. 2317* Operating systems that do not support at least one of gethostbyname, 2318 gethostbyname_r, getipnodebyname are no longer supported. Matthias Andree. 2319* Fixes to --with-hesiod option. Sunil Shetye. (MA) 2320* Delete oversized messages with the new --limitflush option. Debian 2321 Bug#212240. Sunil Shetye. (MA) 2322* Fix MacOS X compilation failures in sink.c (ru_*time has incomplete type). 2323 Berlios Bug #4725. Matthias Andree. 2324* Fix "auth ntlm" to send AUTH NTLM (rather than AUTH MSN). Add "auth msn" 2325 officially. Reported by Yves Boisjoly. Matthias Andree 2326* Expunge between IMAP folders when polling multiple folders. 2327 Sunil Shetye. (MA) 2328* Fix IMAP expunged message counting. Sunil Shetye. (MA) 2329* Add full support for --service option. Matthias Andree 2330* When getaddrinfo() fails resolving a service, log getaddrinfo() error. (MA) 2331* Fix bogus "cannot resolve service * to port number" error. Simon Barner. (MA) 2332* Failure to set up SSL connections now results in PS_SOCKET. Suggested by 2333 Thomas Wolff. Matthias Andree. 2334* Kerberos IV detection fix for FreeBSD 4. Simon Barner. (MA) 2335* Fix display and documentation of --envelope option. Matthias Andree 2336* Make "envelope 'Delivered-To'" work with dropdelivered. Timothy Lee. (MA) 2337* Add -DBIND_8_COMPAT to Darwin (MacOS X) compiles, to fix build problems on 2338 newer Darwin versions. Matthias Andree. 2339* fetchmail should now automatically detect if OpenSSL requires -ldl. 2340 Matthias Andree. 2341* Fix Solaris build with --disable-nls (blastwave.org). Matthias Andree. 2342* Missed --port/--service/--ssl cleanups in the manual. Reminder from Thomas 2343 Wolff. (MA) 2344* Complain in POP3 if NTLM/MSN auth is requested but had not been enabled at 2345 compile time. This configuration mismatch now causes an error message and 2346 authentication failure. Found by Yves Boisjoly. Matthias Andree 2347* fetchmailconf now allows expert users to choose the authorization type and 2348 also offers MSN and NTLM, suggested by Yves Boisjoly. Matthias Andree 2349* fetchmailconf now (as of 1.49) writes its version to the comment of the 2350 saved run control file. Matthias Andree 2351* Properly shut down SSL connections. Berlios Patch #647 by Arkadiusz 2352 Miśkiewicz. (MA) 2353* Global variable cleanup, to fix daemon mode reinitialization problems. Patch 2354 by Sunil Shetye. (MA) 2355* fetchmailconf -h documents the fetchmailconf -h option. Matthias Andree 2356* fetchmailconf -V now prints the fetchmailconf version. Matthias Andree 2357* Add support for SubjectAltName (RFC-2595 or 2818), to avoid bogus certificate 2358 mismatch errors. Patch by Roland Stigge, Debian Bug#201113. (MA) 2359* make fetchmail --silent --quit really silent, Debian Bug #229014 by Dr. 2360 Andreas Krüger. Matthias Andree 2361* cleanup --quit handling again (so that --silent --quit just kills the 2362 existing daemon, rather than continue running), and document it more clearly. 2363 Matthias Andree 2364* Print an error message if multiple "defaults" records are found in the 2365 configuration file. Matthias Andree 2366* Bury on_exit officially - the necessary code had been missing from 6.0.0, 2367 6.2.0, 6.2.5. Matthias Andree 2368* Exit with error if the lock file cannot be read. Matthias Andree 2369* Exit with error if the lock file cannot be created exclusively, this got 2370 broken in a 6.2.6-pre, 6.2.5.2 and older were fine. Matthias Andree 2371* Do not break some other process's lockfile in "-q" mode, but wait for the 2372 other process's exit. Matthias Andree 2373* Man page: --sslfingerprint points user to x509(1ssl) and gives an example 2374 how to use it. Debian Bug#213484, Eduard Bloch. (MA) 2375* fetchmailconf now sets the service properly after autoprobe. Fixes Debian 2376 Bug#320645. Matthias Andree 2377* Man page: Fix Debian Bug#241883, making global options more clear. Matt 2378 Swift, Matthias Andree. 2379* When eating IMAP message trailer, don't see any line containing "OK" as the 2380 end of the trailer, but wait for the proper tagged OK line. To work around 2381 the qmail + Courier-IMAP problem in Debian Bug#338007. Matthias Andree 2382* Fix Debian Bug#317761: when trying to send a bounce message, don't bail out 2383 if we cannot qualify our own hostname, so we aren't losing the bounce. 2384 Instead, pass the buck on to the SMTP server and use our own unqualified 2385 hostname. Matthias Andree 2386* Revise some error messages so they are less confusing. Sunil Shetye. 2387* Man page: update --smtphost documentation. Sunil Shetye, Matthias Andree. 2388* Man page: clarify --loghost works only while detached. Matthias Andree 2389* Man page: update --smtpaddress documentation. Sunil Shetye. 2390* Fix several memory leaks and bugs in the SMTP/LMTP retry logic where 2391 fetchmail confused UNIX and Internet domain sockets. Sunil Shetye. 2392* Man page (BUGS): document that passwords are length limited. Matthias Andree 2393* Man page: Document that quoted strings that run across line boundaries 2394 contain the control characters (CR or LF). Document explicitly the backslash 2395 escape sequences and their differences from the escape sequences used in the 2396 C programming language. Matthias Andree 2397* Fix segfault when run control file ends with a backslash inside an 2398 unterminated quoted string. Matthias Andree. 2399* In quoted strings, support backslash as last character on a line to join the 2400 following line to the current. Matthias Andree. 2401* Parsing untagged IMAP responses is more robust now. Matthias Andree. 2402* Man page: Remove some procmail praises in --mda documentation, suggest 2403 maildrop instead, warn of procmail fallthrough behavior. Matthias Andree. 2404* Man page: Revise AUTHORS and SEE ALSO sections. Matthias Andree. 2405* Updated translations: Albanian [sq] (Besnik Bleta), Catalan [ca] (Ernest 2406 Adrogué Calveras), Czech [cs] (Miloslav Trmac), German [de] (MA), 2407 Spanish (Castilian) [es] (Javier Kohen), French [fr] (MA), 2408 Polish [pl] (Jakub Bogusz), Russian [ru] (Pavel Maryanov). 2409* In oversized warning messages, print the account name, too. Fixes Debian 2410 Bug#213299. Sunil Shetye (MA). 2411* Fix installation without Python. Sunil Shetye, reported by Peter Church. (MA) 2412* Update Japanese translation. Fixes Debian Bug#329342, Takeshi Hamasaki. (MA) 2413* Fix imap.c size safeguard that broke on x86_64 architecture. Matthias Andree 2414* The FAQ is now available for duplex DIN A4 printing in PDF format. 2415 Don't bother to ask for a Letter version, I don't care. Matthias Andree 2416* Man page: Use \- in the manual page where appropriate so that copy & paste 2417 works. I hope we got them all. Héctor García, Matthias Andree. 2418 2419# INTERNAL CHANGES 2420* Switched to automake. Matthias Andree. 2421* Got rid of alloca() in fetchmail proper. Matthias Andree 2422* Got rid of ipv6-connect, inner_connect and thereabouts. Matthias Andree 2423 2424-------------------------------------------------------------------------------- 2425 2426fetchmail-6.2.5 (Wed Oct 15 18:39:22 EDT 2003), 23079 lines: 2427 2428* Updated Spanish, Turkish, and German translation files. 2429* Matthew Gregan's patch to handle garbage lengths from dbmail; 2430 closes Debian bug #212484. 2431* Fix IMAP query so new-message count doesn't include deleted messages. 2432* Man page typo fix, closes Debian bug #205892. 2433* OpenSSL cleanup patches from levinedl@acm.org. 2434* Benjamin Drieu's patch to fix Debian bug #212240, no oversized-message 2435 flushing if both "flush" and "limit" were specified. 2436* Benjamin Drieu's patch for Debian bug #156592, incorrect handing of 2437 host/port option. 2438* Smash all NULs out of headers right after the socket read. 2439* Dup-killer code now keys on an MD5 hash of the raw headers. 2440* Sunil Shetye's patches to break up fetching of sizes and UIDLs. 2441 2442There are 599 people on fetchmail-friends and 748 on fetchmail-announce. 2443 2444fetchmail-6.2.4 (Wed Aug 13 04:27:35 EDT 2003), 22625 lines: 2445 2446* Updated German, Spanish, Catalan, and Turkish translations. 2447* IDLE is now supported using NOOP commands even if the server doesn't support 2448 the IMAP IDLE extension. Patch by Chris Boyle. 2449* Sunil Shetye's patch to do better password shrouding. 2450* Sunil Shetye's bug-fix rollup patch. 2451* Introduce a translation item for the word "seen". 2452* Back out the hack to deal with lack of byte stuffing on some POP3 servers. 2453* Thomas Steudten's patch to improve SMTP handling of 550 errors. 2454 2455There are 585 people on fetchmail-friends and 745 on fetchmail-announce. 2456 2457fetchmail-6.2.3 (Thu Jul 17 14:53:00 EDT 2003), 22490 lines: 2458 2459* French, German, Danish, Spanish, and Turkish translations updated. 2460* Brian Sammon's patch to deal with malformed message lines containing NULs. 2461* Fai's patch to ignore all but the first Return-Path (some spams have 2462 more than one of these). 2463* Benjamin Drieu's patch to properly byte-stuff when talking to BSMTP. 2464 Fixes Debian bug #184469. 2465* Benjamin Drieu's patch to enable auth=cram-md5. 2466 Fixes Debian bug #185232. 2467* Sunil Shetye's configure.in patch to avoid spurious search order messages 2468 from GCC. 2469* Header-reading code now copes better with lines ending in \n only. 2470* Elias Israel's patches for POP3 NTLM support and dealing with byte- 2471 stuffing failures at socket level. 2472 2473There are 580 people on fetchmail-friends and 750 on fetchmail-announce. 2474 2475fetchmail-6.2.2 (Fri Feb 28 21:34:26 EST 2003), 22345 lines: 2476 2477* Sunil Shetye's patch to improve behavior on empty messages. 2478* Conform to RFC2595; reissue capability probes after successful 2479 STARTTLS negotiation. 2480* Sunil's patch to make handling of failed STARTTLS more graceful. 2481* Sunil's JF2 fix patch for .fetchmailrc security. 2482* Christophe GIAUME <christophe@giaume.com> finished the implementation 2483 of RFC2177 IDLE. 2484* Jason Tishler's fix patch for Cygwin. 2485* Support ssh-style authentication in POP3 2486* Fix for Debian bug #108977, clean up config file evaluation, 2487 by Benjamin Drieu. 2488 2489There are 554 people on fetchmail-friends and 727 on fetchmail-announce. 2490 2491fetchmail-6.2.1 (Tue Jan 14 08:17:19 EST 2003), 22219 lines: 2492 2493* Updated German, Turkish, Spanish, and Danish translation files. 2494* Integrated Sunil Shetye's patch to make mark_seen an explicit method. 2495* Removed FAQ warning about GMX and associated fetchmailconf check, 2496 we have a report that its servers are conformant now. 2497* Another Sunil patch to fix a minor bug in bouncemail generation. 2498 2499There are 536 people on fetchmail-friends and 716 on fetchmail-announce. 2500 2501fetchmail-6.2.0 (Fri Dec 13 00:10:07 EST 2002), 22235 lines: 2502 2503* Applied Steffen Esser's fix for a buffer-overflow bug in rfc822.c 2504* Updated Danish, German, and Turkish translation files. 2505* Sunil Shetye's SMTP timeout patch. 2506 2507There are 538 people on fetchmail-friends and 701 on fetchmail-announce. 2508 2509-------------------------------------------------------------------------------- 2510 2511fetchmail-6.1.3 (Thu Nov 28 05:35:15 EST 2002), 22203 lines: 2512 2513* Updated Turkish, Danish, German, Spanish, Catalan po files. 2514* Added Slovak support. 2515* Configure.in update for autoconf 2.5 (Art Haas). 2516* Be case-insensitive when looking for IMAP responses. 2517* Fix logout-after-idle-delivery bug (Sunil Shetye). 2518* Sunil Shetye's patch to bulletproof end-of-header detection. 2519* Sunil's fix for the STARTTLS problem -- repoll if TLS nabdshake 2520 fails. The attempt to set up STARTTLS can be suppressed with 'sslproto ""'. 2521 2522There are 540 people on fetchmail-friends and 701 on fetchmail-announce. 2523 2524fetchmail-6.1.2 (Thu Oct 31 11:41:02 EST 2002), 22135 lines: 2525 2526* Jan Klaverstijn's verbosity-lowering patch. 2527* Updated Turkish, German, Catalan, and Danish translation files. 2528* Fix processing of POP3 messages with missing bodies. 2529* Minor fixes by Sunil Shetye: fix generation of auth fail note, handle 2530 unexpected SIGALRM, plug memory leak, handle lines beginning with '\0', 2531 try to bulletproof error handling against read failures. 2532 2533There are 535 people on fetchmail-friends and 696 on fetchmail-announce. 2534 2535fetchmail-6.1.1 (Fri Oct 18 14:53:51 EDT 2002), 22087 lines: 2536 2537* OTP fix patches from Stanislav Brabec <utx@penguin.cz> 2538* fix patch for writing antispam capability correctly in conf.c. 2539* Fix patches for Debian bugs #162571, #156592. 2540* Correction to manpage re -b and qmail. 2541* Patch to disable use of STLS if auth passwd is specified. 2542* Fix specfile generation to handle SSL correctly. 2543* New Danish, Turkish, and Catalan translation files. 2544* Improved ODMR debug messages. 2545* IMAP efficiency hack; don't fetch sizes unless needed. 2546* Detect and rewrite invalid return paths beginning with @. 2547* Fix for subtle freeing bug that suppressed information in some bounce msgs. 2548* Newline fix patches for internationalization files. 2549* Fix reversed test guarding authentication-failure warnings. 2550* Fix POP3 breakage starting at 5.9.14. 2551 2552There are 529 people on fetchmail-friends and 693 on fetchmail-announce. 2553 2554fetchmail-6.1.0 (Sun Sep 22 18:31:23 EDT 2002), 21999 lines: 2555 2556* Updated French translation. 2557* Stefan Esser's fix for potential remote vulnerability in multidrop mode. 2558 This is an important security fix! 2559 2560There are 519 people on fetchmail-friends and 680 on fetchmail-announce. 2561 2562-------------------------------------------------------------------------------- 2563 2564fetchmail-6.0.0 (Tue Sep 17 19:48:25 EDT 2002), 21972 lines: 2565 2566* Applied Matt Kraai's fix for minor Debian bug #144539. 2567* Nerijus Baliunas's patch to support STARTTLS over IMAP. 2568* More cleanups and minor bugfixes from Sunil Shetye. 2569* Default antispam-response list is now empty. 2570* Updated de and po translations. 2571 2572-------------------------------------------------------------------------------- 2573 2574There are 520 people on fetchmail-friends and 683 on fetchmail-announce. 2575 2576-------------------------------------------------------------------------------- 2577 2578 vim:tw=80 com=bf\:* ts=8 sts=8 sw=8 ai: 2579