1 Fetchmail Release Notes
2 =======================
4 This file is in Unicode charset with UTF-8 encoding.
5 All dates are in Universal Time unless otherwise noted.
7 (The `lines' figures total .c, .h, .l, and .y files under version control.
8 Abbreviations in parentheses are the maintainers who committed the respective
9 change. MA = Matthias Andree, ESR = Eric S. Raymond, RF = Rob Funk.)
11 # ADVANCE WARNING OF FEATURES TO BE REMOVED OR CHANGED IN FUTURE VERSIONS
12 (There are no plans to remove features from a 6.3.X release, but they may be
13 removed from a 7.0.0 or newer release.)
14 * The monitor and interface options may be removed from a future fetchmail
15 version as they are not reasonably portable across operating systems.
16 * IMAP4 (not IMAP4r1) is obsolete, support may be removed from a
17 future fetchmail version.
18 * --sslcertck will become a default setting in a future fetchmail version.
19 * The multidrop To/Cc guessing code along with the fragile duplicate suppressor
20 is deprecated and may be removed from a future release.
21 * The "envelope Received" option may be removed from a future release, because
22 the Received header was never meant to be machine-readable, the format varies
23 widely, and various other differences in behavior make parsing Received an
24 unreliable undertaking. The envelope option as such will remain though, in
25 order to support Delivered-To, X-Envelope-To, X-Original-To and similar.
26 See also <http://home.pages.de/~mandree/mail/multidrop>.
27 * The --enable-fallback (fall back to MDA if MTA unavailable) will be removed
28 from a future fetchmail release, because it makes fetchmail's behavior
29 inconsistent and confusing.
30 * The "protocol auto" default inside fetchmail may be removed from a future
31 fetchmail release. Explicit configuration of the protocol is recommended.
32 * Kerberos 5 support may be removed from a future fetchmail release.
33 * SIGHUP wakeup support may be removed from a future fetchmail release and
34 cause fetchmail to terminate - it was broken for many years.
35 * The maintainer may migrate fetchmail to C++ with STL or C#, and impose further
36 requirements (dependencies), such as Boost or other class libraries.
37 * The softbounce option default will change to "false" in the next release.
38 * The --bsmtp - mode of operation may be removed in a future release.
39 * Given that OpenSSL is severely underdocumented, and needs license exceptions,
40 fetchmail may switch to a different SSL library.
41 * SSLv2 support will be removed from a future fetchmail release. It has been
42 obsolete for more than a decade.
44 --------------------------------------------------------------------------------
46 fetchmail-6.4.0 (not yet released):
48 NOTE THIS IS AN ALPHA RELEASE THAT HAS NOT BEEN THOROUGHLY TESTED!
51 * The UIDL handler code is now much faster, especially noticable with lots of
52 mail kept on a POP3 server. Where the 6.3.X code was of O(n^2) complexity,
53 we're down to O(n log n).
54 Contributed by Rainer Weikusat, MAD Partners Ltd./MSS GmbH.
55 * The POP3 code now always uses UIDL, except if "fetchall" is in effect.
56 Fixes BerliOS Bug #16172.
59 * Fetchmail can now retrieve credentials from PWMD. This needs to be enabled at
60 compile-time and requires run-time configuration. See README.PWMD for details.
61 Contributed by Ben Kibbey, author of libpwmd and pwmd.
62 * Fetchmail now supports a retrieve-error command line or rcfile option that
63 takes exactly one argument, abort (default), continue or markseen. This
64 specifies the policy used by fetchmail to handle messages whose bodies
65 fail to be retrieved due to server errors. Both the continue and markseen
66 options will skip the message with errors and allow the session to
67 continue so that subsequent messages can be retrieved. The markseen
68 option will also mark the message with errors as seen.
69 The default policy is to abort the session whenever a server error occurs.
70 Contributed by Craig Brown.
73 * IMAP2 protocol support was removed.
74 * POP2 protocol support was removed.
75 * RPOP (not actually a protocol, but a variant of POP3) was removed
76 * POP3: the uidl option has been removed. It is always on.
77 * POP3: LAST is no longer used. It was removed from POP3 in 1994, and it could
78 cause mail loss when the connection was interrupted or if clients besides
79 fetchmail polled the mailbox.
80 * Trio was removed, fetchmail expects reasonable stdio.h quality levels.
81 * Support for systems that do not conform to C89 and POSIX 2001 was removed,
82 this means that BeOS, EMX, NeXTSTEP quirks are no longer worked around.
83 * The MX and host alias DNS lookups that fetchmail performs in multidrop mode
84 have been removed. They were based on the mistaken assumption that the
85 IMAP/POP3 server was also the MX server, which is rarely the case. They have
86 never supported IPv6 (including IPv6-mapped IPv4) either.
87 Non-DNS based alias keywords such as "aka" remain.
88 * Kerberos IV support was removed.
89 * fetchmail no longer supports SSL v2, nor the corresponding SSL2 option to
90 --sslproto. SSLv2 is insecure and had been deprecated 15 years ago. fetchmail
91 will actively forbid SSLv2 negotiation by means of SSL_OP_NO_SSLv2.
92 To fix Debian Bug#622054.
95 * The mimedecode feature now properly detects multipart/mixed-type matches, so
96 that quoted-printable-encoded multipart messages can get decoded.
97 (Regression in 5.0.0 on 1999-03-27, as a side effect of a PGP-mimedecode fix
98 attributed to Henrik Storner.)
101 * The mimedecode feature failed to ship the last line of the body if it was
102 encoded as quoted-printable and had a MIME soft line break in the very last
103 line. Reported by Lars Hecking in June 2011.
104 Bug introduced on 1998-03-20 when the mimedecode support was added by ESR
105 before release 4.4.1 through code contributed by Henrik Storner.
106 Workaround for older releases: do not use mimedecode feature.
109 * A foreground fetchmail can now accept a few more options while another copy is
110 running in the background.
112 --------------------------------------------------------------------------------
114 fetchmail-6.3.20 (released 2011-06-06, 26005 LoC):
118 STARTTLS: Fetchmail runs the IMAP STARTTLS or POP3 STLS negotiation with the
119 set timeout (default five minutes) now. This was reported missing, with
120 observed fetchmail freezes beyond a week, by Thomas Jarosch.
121 SSL-wrapped connections were unaffected by this timeout, so users of older
122 versions can force ssl-wrapped connections -- if supported by the server --
123 with the --ssl command line or ssl rcfile option.
124 See fetchmail-SA-2011-01.txt for further details.
127 * IMAP: Do not search for UNSEEN messages in ranges. Usually, there are very few
128 new messages and most of the range searches result in nothing. Instead, split
129 the long response to make the IMAP driver think that there are multiple lines
130 of response. (Sunil Shetye)
131 * Do not print "skipping message" for old messages even in verbose mode. If
132 there are too many old messages, the logs just get filled without any real
133 activity. (Sunil Shetye) (suggested by Yunfan Jiang)
134 * Build: fetchmail now always uses its own MD5 implementation rather than trying
135 to find a system library with matched header. The library and header variants
136 found on systems are too diverse, and the code size saving is not worth any
137 more wasted user or programmer time.
140 * Call strlen() only once when removing CRLF from a line. (Sunil Shetye)
141 * fetchmail sets Internet domain sockets to "keepalive" mode now. Note that
142 there is no portable way to configure actual timeouts for this mode, and some
143 systems only support a system-wide timeout setting. fetchmail does not
144 attempt to tune the time spans of keepalive mode.
146 # TRANSLATION UPDATES
147 [cs] Chech (Petr Pisar)
148 [nl] Dutch (Erwin Poeze)
149 [fr] French (Frédéric Marchal)
150 [de] German (Matthias Andree)
151 [ja] Japanese (Takeshi Hamasaki)
152 [pl] Polish (Jakub Bogusz)
153 [sk] Slovak (Marcel Telka)
155 # KNOWN BUGS AND WORKAROUNDS
156 (this section floats upwards through the NEWS file so it stays with the
157 current release information - however, it was stuck with 6.3.8 for a while)
158 * fetchmail does not handle messages without Message-ID header well
159 (See sourceforge.net bug #780933)
160 * BSMTP is mostly untested and errors can cause corrupt output.
161 * Sun Workshop 6 (SPARC) is known to miscompile the configuration file lexer in
162 64-bit mode. Either compile 32-bit code or use GCC to compile 64-bit
163 fetchmail. Note that fetchmail doesn't take advantage of 64-bit code,
164 so compiling 32-bit SPARC code should not cause any difficulties.
165 * fetchmail does not track pending deletes over crashes.
166 * the command line interface is sometimes a bit stubborn, for instance,
167 fetchmail -s doesn't work with a daemon running.
168 * Linux systems may return duplicates of an IP address in some circumstances if
169 no or no global IPv6 addresses are configured.
170 (No workaround. Ubuntu Bug#582585, Novell Bug#606980.)
171 * Kerberos 5 may be broken, particularly on Heimdal, and provide bogus error
172 messages. This will not be fixed, because the maintainer has no Kerberos 5
173 server to test against. Use GSSAPI.
176 fetchmail-6.3.19 (released 2010-12-10, 25945 LoC):
178 # ERRATUM NOTICE ISSUED
179 * fetchmail 6.3.18 contains several bug fixes that were considered sufficiently
180 grave to warrant the issue of an erratum notice, fetchmail-EN-2010-03.txt.
183 * When specifying multiple local multidrop lists, do not lose wildcard flag.
184 (Affects "user foo is bar baz * is joe here")
185 * In multidrop configurations, an asterisk can now appear anywhere in the list
186 of local users, not just at the end.
187 * In multidrop mode, header parsing is now more verbose in -vv mode, so that it
188 becomes possible to see which header is used.
189 * Make --antispam work from command line (these used to work in rcfiles).
190 Reported by Kees Bakker, BerliOS Bug #17599. (Sunil Shetye)
191 * Smoke test XHTML 1.1 validation, and if it fails, skip validating HTML
192 documents. Skip validating Mailbox-Names-UTF7.html. Several systems have
193 broken XHTML 1.1 DTD installations that jeopardize the build.
194 Reported by Mihail Nechkin against FreeBSD port.
195 Workaround for 6.3.18: build in a separate directory, i. e:
196 mkdir build && cd build && ../configure --options-go-here
197 * Send a NOOP only after a failed STARTTLS in IMAP. (Sunil Shetye)
198 * Demote GSSAPI verbose/debug syslog to INFO severity. Requested by Carlos E. R.
199 and Derek Simkowiak via the fetchmail-users@ mailing list.
200 * Do STARTTLS/STLS negotiation in IMAP/POP3 if it is mandatory even if the
201 server capabilities do not show support for upgradation to TLS.
202 To use this, configure --sslproto tls1. (Sunil Shetye)
203 * IMAP: Understand empty strings as FETCH response, seen on Yahoo. Reported by
204 Yasin Malli to fetchmail-users@ 2010-12-10.
205 Note that fetchmail continues to expect literals as FETCH response for now.
208 * The manual page now links to IANA for GSSAPI service names.
210 # TRANSLATION UPDATES
211 [cs] Czech (Petr Pisar)
212 [fr] French (Frédéric Marchal)
214 [it] Italian (Vincenzo Campanella)
215 [pl] Polish (Jakub Bogusz)
218 fetchmail-6.3.18 (released 2010-10-09, 25936 LoC):
220 # SECURITY IMPROVEMENTS TO DEFANG X.509 CERTIFICATE ABUSE
221 * Fetchmail now only accepts wildcard certificate common names and subject
222 alternative names if they start with "*.". Previous versions would accept
223 wildcards even if no period followed immediately.
224 * Fetchmail now disallows wildcards in certificates to match domain literals
225 (such as 10.9.8.7), or wildcards in domain literals ("*.168.23.23").
226 The test is overly picky and triggers if the pattern (after skipping the
227 initial wildcard "*") or domain consists solely of digits and dots, and thus
228 matches more than needed.
229 * Fetchmail now disallows wildcarding top-level domains.
231 # CRITICAL BUG FIXES AND REGRESSION FIXES
232 * Fetchmail 6.3.15, 6.3.16, and 6.3.17 would pick up libmd5 to obtain MD5*
233 functions, as an effect of an undocumented Solaris MD5 fix.
234 This caused all MD5-related functions to malfunction if, for instance,
235 libmd5.so was installed on other operating systems as part of libwww on
236 machines where long isn't 32-bits, i. e. usually on 64-bit computers.
237 Fixes Gentoo Bug #319283, reported, including libwww hint, by Karl Hakimian.
238 Side effect: fetchmail will now use -lmd on Solaris rather than -lmd5.
239 * Fetchmail 6.3.17 warned about insecure SSL/TLS connections even if a matching
240 --sslfingerprint was specified. This is an omission from an SSL usability
241 change made in 6.3.17.
242 Fixes Debian Bug#580796 reported by Roland Stigge.
243 * Fetchmail will now apply timeouts to the authentication stage.
244 This stage encompasses STARTTLS/STLS negotiation in IMAP/POP3.
245 Reported missing by Thomas Jarosch.
246 * Fetchmail now cancels GSSAPI authentication properly when encountering GSS
247 errors, such as no or unsuitable credentials.
248 It now sends an asterisk on a line by its own, as required in SASL.
249 This fixes protocol synchronization issues that cause Authentication
250 failures, often observed with kerberized MS Exchange servers.
251 Fixes Debian Bug #568455 reported by Patrick Rynhart, and Alan Murrell, to the
252 fetchmail-users list. Fix verified by Thomas Voigtmann and Patrick Rynhart.
255 * Fetchmail will no longer print connection attempts and errors for one host
256 in "silent" and "normal" logging modes, unless all connections fail. This
257 should reduce irritation around refused-connection logging if services are
258 only on an IPv4 socket if the host also supports IPv6. Often observed as
259 connections refused to ::1/25 when the subsequent connection to 127.0.0.1/25
260 then - silently - succeeds. Fetchmail, unless in verbose mode, will collect
261 all connect errors and only report them if all of them fail.
262 * Fetchmail will not try GSSAPI authentication automatically, unless it has GSS
263 credentials. However, if GSSAPI authentication is requested explicitly,
264 fetchmail will always try it.
265 * Fetchmail now parses response to "FETCH n:m RFC822.SIZE" and "FETCH n
266 RFC822.HEADER" in a more flexible manner. (Sunil Shetye)
267 * The manual page clearly states that --principal is for Kerberos 4 only, not
268 for Kerberos 5 or GSSAPI. Found by Thomas Voigtmann.
271 * When encountering incorrect headers, fetchmail will refer to the bad-header
272 option in the manpage.
273 Fixes BerliOS Bug #17272, change suggested by Björn Voigt.
274 * Fetchmail now decodes and reports GSSAPI status codes upon errors.
275 * Fetchmail now autoprobes NTLM also for POP3.
276 * The Fetchmail FAQ has a new item #R15 on authentication failures.
279 * The common NTLM authentication code was factored out from pop3.c and imap.c.
281 # TRANSLATION UPDATES
282 [zh_CN] Chinese/simplified (Ji Zheng-Yu)
283 [cs] Czech (Petr Pisar)
284 [nl] Dutch (Erwin Poeze)
285 [fr] French (Frédéric Marchal)
287 [it] Italian (Vincenzo Campanella)
288 [ja] Japanese (Takeshi Hamasaki)
289 [pl] Polish (Jakub Bogusz)
290 [sk] Slovak (Marcel Telka)
293 fetchmail-6.3.17 (released 2010-05-06, 25767 LoC):
296 * CVE-2010-1167: Fetchmail before release 6.3.17 did not properly sanitize
297 external input (mail headers and UID). When a multi-character locale (such as
298 UTF-8) was in use, this could cause memory exhaustion and thus a denial of
299 service, because fetchmail's report.c functions assumed that non-success of
300 [v]snprintf was due to insufficient buffer size allocation. It would then
301 repeatedly reallocate a larger buffer and fail formatting again.
302 See fetchmail-SA-2010-02.txt.
305 * Fetchmail now supports a --sslcertfile <file> option to specify a "CA bundle"
306 file (a file that contains trusted CA certificates). Since these bundled CA
307 files do not require c_rehash to be run, they are easier to use and immune to
308 OpenSSL library updates that affect the hash function.
309 * Fetchmail now supports a FETCHMAIL_INCLUDE_DEFAULT_X509_CA_CERTS
310 environment variable to force loading the default SSL CA certificate
311 locations even if --sslcertfile or --sslcertpath is used.
312 If neither option is in effect, fetchmail loads the default locations.
315 * Fix string handling in rcfile scanner, which caused fetchmail to misparse a
316 run control file in certain circumstances. Fixes BerliOS bug #14257.
317 Patch by Michael Banack. This fixes a regression introduced before 6.3.0.
320 * Plug memory leak when using a "defaults" entry in the run control file.
321 * Do not print SSL certificate mismatches unless verbose or --sslcertck is
323 * Do not lose "set invisible" in fetchmailconf. (Michael Barnack)
326 * Usability: SSL certificate chains are fully printed in -v -v mode, and there
327 are now helpful pointers to --sslcertpath and c_rehash for "unable to get
328 local issuer certificate" and self-signed certificates -- these usually hint
329 to missing root signing CAs in the certs directory.
330 * Several fixes for compiler (GCC, Intel C++, CLang) and autotools warnings
331 * Memory allocation failures will now cause abnormal program abort (SIGABRT),
332 no longer an exit with unspecified code.
333 * Print a warning if certificate verification failed and the user did not
337 * Fix table of global option to read "set softbounce" where there used to be a
338 2nd copy of "set spambounce". Patch by Michael Banack, BerliOS Bug #17067.
339 * In the --sslcertpath description, mention that OpenSSL upgrade (and a 0.9.X
340 to 1.0.0 upgrade in particular) may require running c_rehash.
342 # TRANSLATION UPDATES
343 [zh_CN] Chinese/simplified (Ji Zheng-Yu)
344 [cs] Czech (Petr Pisar)
345 [nl] Dutch (Erwin Poeze)
346 [fr] French (Frédéric Marchal)
348 [id] Indonesian (Andhika Padmawan)
349 [it] Italian (Vincenzo Campanella)
350 [ja] Japanese (Takeshi Hamasaki)
351 [pl] Polish (Jakub Bogusz)
352 [sk] Slovak (Marcel Telka)
353 [vi] Vietnamese (Clytie Siddall)
356 fetchmail-6.3.16 (released 2010-04-06, 25574 LoC):
359 * Fix --interface option, broken in 6.3.15. Reported by Vladmimir Stavrinov.
360 Fixes Debian Bug #576717.
363 * Call OpenSSL_add_all_algorithms(). This is needed to support non-mandatory
364 and non-standard algorithms in certificates.
365 Sjoerd Simons, to fix Debian Bug #576430.
366 OpenSSL 0.9.8* does not load - for instance - the SHA256 digest by default.
367 Reported as OpenSSL RT#2224.
370 fetchmail-6.3.15 (released 2010-03-28, 25572 LoC):
373 * Fetchmail now supports a bad-header command line or rcfile option that takes
374 exactly one argument, accept or reject (default). This specifies how messages
375 with bad headers retrieved from the current server are to be treated.
378 * In the rcfile, recognize "local" as abbreviation for "localdomains", as
379 documented. The short form has not ever worked since this feature was added in
380 January 1997. Reported by Frédéric Marchal.
381 * Do not close stdout when using mda and "bsmtp -" at the same time.
382 * Log operating system errors when BSMTP writes fail.
383 * Fix verbose mode progress formatting regression from 6.3.10; SMTP trace lines
384 were no longer on a line of their own. Reported by Melchior Franz.
385 * Check seteuid() return value and abort running MDA if switch fails.
386 * Set global flags in a consistent manner. Make --nosoftbounce and
387 --nobounce work from command line (these used to work in rcfiles).
388 Reported and fix confirmed working by N.J. Mann. (Sunil Shetye)
389 * Properly import h_errno declarations, even on systems where h_errno isn't a
390 macro. (Adds ./configure check, fixes Cygwin dllimport warnings.)
393 * The repository has been converted and moved from the Subversion (SVN) format
394 kindly hosted by Graham Wilson over the past years to Git format hosted on
395 Gitorious.org. My deepest thanks to Graham Wilson for this service that
396 kept us going when BerliOS's Subversion service was faulty in its early days.
397 * This opportunity was used to convert BRANCH_6-2 and BRANCH_1-9-9 to
398 GnuPG-signed tags, as a sign that these are now closed.
399 * The outdated SVN trunk is now called "oldtrunk" in Git just to save the work
400 for future reference. All development in the past few years was on BRANCH_6-3.
401 * master was branched from BRANCH_6-3. BRANCH_6-3 is now obsolete (and in fact
402 was also converted to a tag to record where the conversion from SVN to Git
404 * "make check" now skips HTML validation if xmllint or XHTML DTD are missing.
407 * Web site and documentation were adjusted to reflect the SVN->Git move.
408 * The fetchmail manual page is now much clearer on the user id switching
409 (seteuid) when using --mda while running as the super user.
411 # TRANSLATION UPDATES, by language name
412 * [zh_CN] Chinese (Simplified), by Ji Zheng-Yu
413 * [cs] Czech, by Petr Pisar
414 * [nl] Dutch, by Erwin Poeze
415 * [fr] French, by Frédéric Marchal
417 * [id] Indonesian, by Andhika Padmawan
418 * [it] Italian, by Vincenzo Campanella
419 * [ja] Japanese, by Takeshi Hamasaki
420 * [pl] Polish, by Jakub Bogusz
421 * [vi] Vietnamese, by Clytie Siddall
424 fetchmail 6.3.14 (released 2010-02-05, 25487 LoC):
427 * CVE-2010-0562: SSL/TLS certificate information is now also reported properly
428 on computers that consider the "char" type signed. Fixes malloc() buffer
429 overrun. Workaround for older versions: do not use verbose mode.
430 See fetchmail-SA-2010-01.txt for details, including a minimal patch.
433 * The IMAP client no longer skips messages from several IMAP servers including
434 Dovecot if fetchmail's "idle" is in use. Causes were that fetchmail (a)
435 ignored some untagged responses when it should not (b) relied on EXISTS
436 messages in response to EXPUNGE, which aren't mandated by RFC-3501 (the IMAP
437 standard) and aren't sent by Dovecot either.
438 Fix by Sunil Shetye (the fix also consolidates IMAP response handling,
439 improving overall robustness of the IMAP client), bug report and testing by
440 Matt Doran, with further hints from Timo Sirainen.
441 * The SMTP client now recovers from errors (such as servers dropping the
442 connection after errors) when sending an RSET command.
443 Fix by Sunil Shetye. Report by James Moe.
444 * The IMAP client now uses "SEARCH UNSEEN" rather than "SEARCH UNSEEN NOT
445 DELETED" again on IMAP2, to fix a regression in fetchmail 6.2.5 reported by
446 Will Stringer in June 2004. (Sunil Shetye)
447 * The IMAP client now uses "SEARCH UNSEEN UNDELETED" on IMAP4 and IMAP4r1
448 servers (Sunil Shetye).
449 * Workaround: The IMAP client now falls back to "FETCH n:m FLAGS" if the server
450 does not support "SEARCH". (Sunil Shetye)
451 * The IMAP client now requests message numbers in batches of 1,000 to avoid
452 problems if there are more than 1860 unseen messages. (Sunil Shetye)
453 Note that this wasn't security relevant because fetchmail would only read up
454 to the maximum buffer size and leave the remainder of the string unread, going
455 out of synch afterwards.
456 * Stricter validation of IMAP responses containing byte or message counts.
459 * Only include gssapi.h if we're not including gssapi/gssapi.h, to fix a FreeBSD
460 compiler warning about gssapi.h being obsolete.
463 * The README.SSL document was revised for grammar, spelling, and clarity.
464 Courtesy of Robert Mullin.
466 # TRANSLATION UPDATES
467 * [it] Italian, by Vincenzo Campanella
471 fetchmail 6.3.13 (released 2009-10-30, 25333 LoC):
474 * The multiline SMTP error fix in release 6.3.12 caused fetchmail to lose
475 message codes 400..599 and treat all of these as temporary error. This would
476 cause messages to be left on the server even if softbounce was turned off.
477 Reported by Thomas Jarosch.
479 # TRANSLATION UPDATES
480 * [cs] Czech, by Petr Pisar
481 * [zh_CN] Chinese (simplified), by Ji ZhengYu
482 * [nl] Dutch, by Erwin Poeze
483 * [id] Indonesian, by Andhika Padmawan
484 * [ja] Japanese, by Takeshi Hamasaki
485 * [pl] Polish, by Jakub Bogusz
486 * [es] Spanish (Castilian), by Franciso Molinero
487 * [vi] Vietnamese, by Clytie Siddall
490 fetchmail 6.3.12 (released 2009-10-05):
493 * The CVE-2009-2666 fix in fetchmail release 6.3.11 caused a free() of
494 unallocated memory on SSL connections, which caused crashes or program aborts
495 on some systems (depending on how initialization and free() of unallocated
496 memory is handled in compiler and libc).
497 Workaround for older versions: run in verbose mode.
498 Patch courtesy of Thomas Heinz, fixes Gentoo Bug #280760.
499 This regression affected only the 6.3.11 release, but not the patch that was
500 part of the security announcement fetchmail-SA-2009-01.
503 * Fix error reporting for GSSAPI on Heimdal (h5l) Kerberos.
504 * Look for MD5_Init in libcrypto rather than libssl, fixes Gentoo Kerberos
505 builds; fixes upstream parts of Gentoo Bugs #231400 and #185652, and fixes
507 * Report multiline SMTP errors properly, reported by Earl Chew; fixes Debian Bug
508 #529899, reported by Akihiro Terasaki.
509 Note: This fix introduced a regression, fixed in 6.3.13.
510 * Replace control characters in SMTP replies by '?'.
511 * Fetchmailconf: Fix descriptions for smtpaddress and smtpname options;
512 smtpaddress is for RCPT TO, not MAIL FROM. Found by Gerard Seibert.
514 # TRANSLATION UPDATES AND ADDITIONS (ordered by language name):
515 * [ca] Catalan (Ernest Adrogué Calveras)
516 * [zh_CN] Chinese/Simplified (Ji ZhengYu)
517 * [cs] Czech (Petr Pisar)
518 * [ja] Japanese (Takeshi Hamasaki)
519 * [pl] Polish (Jakub Bogusz)
520 * [es] Spanish/Castilian (Francisco Molinero)
521 * [vi] Vietnamese (Clytie Siddall)
524 fetchmail 6.3.11 (released 2009-08-06):
527 * CVE-2009-2666: SSL NUL prefix impersonation attack through NULs in a
528 part of a X.509 certificate's CommonName and subjectAltName fields. These
529 fields use opaque strings with a separate length field, so that the NUL
530 character isn't a special character inside the certificate. Fetchmail, being
531 written in the C language, used to treat these strings as C strings
532 nonetheless, so that the domain comparison would end at the first embedded NUL
533 character, rather than at the real end of the string.
534 Fetchmail will now abort certificate verification as failed if NULs are
535 encountered inside either of these fields regardless of their position, and
536 drop the connection even if --sslcertck is not used, because NUL is not a
537 valid character in legitimate DNS names.
538 See fetchmail-SA-2009-01.txt for details, including a minimal patch.
541 * Remove the spurious message "message delimiter found while scanning headers".
542 RFC-5322 syntax states that the delimiter is part of the body, and the body is
544 * Convert all non-printable characters in certificate Subject/Issuer
545 Common Name or Subject Alternative Name fields to ANSI-C hex escapes (\xnn,
546 where nn are hex digits).
547 Note that this change introduces a regression, fixed in 6.3.12.
548 See the 6.3.12 documentation above for details and a workaround.
550 # TRANSLATION UPDATES AND ADDITIONS (ordered by language name):
551 * [zh_CN] Chinese/Simplified (Ji ZhengYu)
552 * [es] Spanish/Castilian (Francisco Molinero)
555 fetchmail 6.3.10 (released 2009-07-02):
557 # INCOMPATIBLE BUGFIXES AND CHANGES
558 * Fetchmail no longer drops permanently undelivered messages by default, to
559 match historic documentation. It does this by adding a new "softbounce"
561 Fixes Debian Bug#471283, demotes Debian Bug#494418 to wishlist.
562 * There is a new "softbounce" global option that prevents the deletion of
563 messages that have not been forwarded. It defaults to "true" for fetchmail
564 6.3.X in order to match historic documentation. This may change its default
565 in the next major release.
568 * Fix misuse of canonical autoconf target as _TARGET when it should have been
569 _HOST. Report and patch courtesy of Diego E. "Flameeyes" Pettenò.
570 Details: http://blog.flameeyes.eu/2009/01/01/the-canonical-target
571 * Do not lose PS_MAXFETCH (13) exit status when hitting maxpoll. Reported by
572 Michelle Konzack, Debian Bug#508667.
573 * Do not overlap source and destination fields in snprintf() in interface.c.
574 Courtesy of Nico Golde, Debian.
575 * When a pre- or post-connect command fails, now report the exit status or
576 termination signal properly through sys/wait.h macros.
577 * When acquiring a body, understand NIL ("no such data item"), as returned by
578 some MS Exchange versions. Fixes BerliOS Bug #11980 by KB Sriram.
579 * Make progress tickers (-v/--showdots) consistent, and update documentation
580 accordingly ("." for each 1024 octets read, "#" for a header written, and "*"
581 for each body line written.)
582 The conditions under which these had been printed were inconsistent,
583 illogical, and documentation hadn't matched real behaviour for long.
584 * For NTLM authentication, use dynamically allocated buffers.
585 Fixes Debian Bug#449179, reported by Stepan Golosunov.
586 * Non-delivery notice ("bounce mail") now mentions the original reason again,
587 before the address list. This fixes a regression introduced in 6.3.0.
588 * Several compiler warnings were fixed.
589 * The minimum recommended SMTP (RFC-5321) timeouts are enforced to leave
590 sufficient time for the listener to respond. Some synchronous listeners,
591 particularly when used with spam filtering and other policy enforcement
592 services, take extended amounts of time to process messages after the sender,
593 recipient, or data block and EOM line. This can cause fetchmail to not wait
594 long enough for the "250 Ok" and make fetchmail believe the message wasn't
595 properly delivered when in fact it was; fetchmail would then retry the
596 download next time and never make progress.
597 Fixes Berlios Bug #10972, reported by Viktor Binzberger.
598 * The ESMTP/LMTP client will now apply an application-specific timeout while
599 waiting for the EHLO/LHLO response, rather than wait for the server or TCP
601 * Treat 530 errors as temporary, so as not to delete messages on configuration
602 errors. Partially taken from Petr Cerny's patch in Novell Bugzilla #246829.
603 The 501 part of said patch was not added, as the maintainer is not convinced
604 501 is a temporary condition, and softbounce takes care of this anyways.
607 * Make the comparison of the SSL fingerprints case insensitive, to
608 ease its use. Suggested by Daniel Richard G.
609 * Proper precedence ordering for the syslog and logfile options. If the logfile
610 option is effective (i. e. we're in daemon mode and nodetach isn't used),
611 reset the syslog option. If logfile is ineffective (we're not in daemon mode,
612 or nodetach is set), syslog takes precedence.
613 * The sleeping at/awakened at messages appear in logfiles and syslog only if
614 verbose mode is enabled. On the console, they will still appear without
615 verbose mode. Fixes Debian Bug#282259.
616 * fetchmail only requests IPv6 addresses via name service if at least one is
617 configured on the local host, likewise for IPv4. (AI_ADDRCONFIG flag to
618 getaddrinfo()) Extended version of Redhat's patch.
619 * If the server name contains "yahoo.com", offers the "ID" capability, and we're
620 polling via IMAP, send an ID ("guid" "1") transaction first, ignoring its
621 result. This appears needed to be able to log into Yahoo's Zimbra servers, but
622 there are open issues (such as being only able to download one message and
623 server certificate mismatches).
626 * Fix bashism in contrib/fetchsetup. Fixes Debian Bug#530081.
629 * Some parts of the the manual page were revised for clarity, accuracy, and
630 updated recommendations (particularly SSL/TLS) and formatting conventions from
632 * The README and README.SSL documents were updated.
633 * A document, README.SSL-SERVER, was added to describe server-side requirements
634 for proper SSL and/or TLS service offerings. These are not specific to
636 * Documentation on how to make "NOMAIL" (exit code 1) not treated an error has
637 been added to the EXIT CODES section of the manpage and to the FAQ as item C8.
638 The suggested solution uses a tiny POSIX shell script fragment.
639 Fixes Debian Bug #530749, filed by Reuben Thomas.
641 # TRANSLATION UPDATES AND ADDITIONS (ordered by language name):
642 * [cs] Czech (Petr Pisar)
643 * [en_GB] English/British
645 * [id] Indonesian (Andhika Padmawan)
646 * [it] Italian (Vincenzo Campanella)
647 * [ja] Japanese (Takeshi Hamasaki)
648 * [pl] Polish (Jakub Bogusz)
649 * [ru] Russian (Pavel Maryanov), fixing Debian Bug #531925
650 * [es] Spanish/Castilian (Francisco Molinero)
651 * [zh_CN] Chinese/Simplified (Ji ZhengYu)
654 fetchmail 6.3.9 (released 2008-11-16):
656 # SECURITY AND CRITICAL BUG FIXES:
657 * CVE-2007-4565: Denial of service: When fetchmail tries to inject a warning
658 message it created itself, and the message is refused by the SMTP listener,
659 fetchmail dereferences a NULL pointer and crashes. Report & fix by Earl Chew.
660 Note while this is theoretically a remote denial of service attack vector,
661 fetchmail by default talks SMTP to the localhost, so the overall risk is
663 This bug was apparently introduced on 1998-11-27 when the bouncemail facility
664 was modularized. The bug then made its appearance in fetchmail release 4.6.8.
665 See also fetchmail-SA-2007-02.txt.
666 * CVE-2008-2711: Denial of service: When fetchmail logs data blobs
667 (for instance, a To: header in -v -v verbose mode) in excess of 2048
668 bytes, it will crash, because it hands an uninitialized argument
669 pointer (not the format string though) to vsnprintf and reads a
670 random memory location (it calls va_arg() too often without
671 resetting it with va_start()). Based on a patch (BerliOS patch #2492)
672 by Petr Uzel, fixes Novell Bug #354291.
673 Note 6.3.9-rc1 did not completely fix this issue, so it was redrawn a few
674 hours after its release.
675 See also fetchmail-SA-2008-01.txt.
676 * When expunging, mark the right messages as seen to avoid message loss in "keep
677 flush" configurations. Workaround for previous versions: "expunge 0".
678 Report and patch by Alexander Cherepanov - thanks a lot, Berlios Bug #11797,
679 "imap_mark_seen doesn't consider expunged messages".
680 * SSL fix: close memory leak when SSL connection fails; fetchmail used to forget
681 calling SSL_free() on the SSL context, leaking in excess of 500 kB RAM on a
682 x86_64 system per failed SSL connection attempt.
683 Bug reported and patch provided by Seiichi Ikarashi, Fujitsu.
686 * The configure script will additionally check for 'dn_skipname', to fix build
687 failures with µClibc. The new check still recognizes the resolver libraries on
688 Ubuntu 7.04, openSUSE 10.2, Solaris 8, NetBSD 4.0_BETA2 and FreeBSD 6.2.
689 Fixes Gentoo bug #134187.
690 NOTE: this is a bit of a hack, since we twist the HAVE_RES_SEARCH result, but
691 res_search() and dn_skipname() are only used together and scheduled for
692 removal in future versions, so this is probably fine.
693 * No longer complain about invalid sslproto "" when POP3 CAPA probe fails.
694 Fixes Debian Bug#421446 (Holger Leskien), Novell Bug #247233 (Jon Nelson),
696 Thanks to Matthias Strauß for a configuration to reproduce the issue.
697 * Allow .fetchmailrc and .fetchids to be symlinks, as the manpage does not
698 document they aren't allowed - fixes Debian Bug #452907 (Roger Leigh).
699 TOCTOU race persists.
700 * fetchmailconf quotes mailbox (folder) names when writing the configuration.
701 Fixes BerliOS Bug #13207 (reported + fix suggested by Terry Brown).
702 * Only print "Deleting fetchids file" if there actually is one.
703 Fixes Debian Bug#374514, reported by Dan Jacobson.
704 * SSL fix: check and report if SSL_set_fd fails.
707 * autoconf 2.60 is now required to build fetchmail; it uses
708 AC_USE_SYSTEM_EXTENSIONS to replace AC_AIX, AC_MINIX, and the like.
709 * Removed dead FETCHMAIL_DEBUG code from fetchmail.h that was disabled by
710 default with no switches in configure to enable it. However, the macro would
711 have been prone to a symlink attack. Found by Nico Golde.
712 * Removed dead FORCE_STUFFING code from socket.c that was disabled by default
713 with no switches in configure to enable it.
714 * Include the typedef for int16 in the #ifndef _AIX in smbencrypt.c (Peter
716 * Correct check for u_int32_t in configure.ac (seems to be typedef'ed in
717 namser.h on some platforms.) (Peter O'Gorman)
718 * In configure.ac change all CPFLAGS to CPPFLAGS, CEFLAGS to CFLAGS and LDEFLAGS
719 to LDFLAGS otherwise the results of some tests (additional -L and -I flags) do
720 not get used for later tests causing incorrect configure results. Makefile.am
721 was also changed to reflect this. (Peter O'Gorman)
722 * m4/gethostbyname_r.m4 does AC_TRY_COMPILE, which unfortunately can pass even
723 if there is no gethostbyname_r. Changed to AC_TRY_LINK. (Peter O'Gorman)
724 * Revise getnameinfo check to ensure NULL is defined and the result is properly
725 evaluated, to avoid bogus results on for instance FreeBSD and redefinitions of
726 NI_* at compile time. (Matthias Andree).
727 * __attribute__ ((unused)) is a gccism, removed from libesmtp/gethostbyname.c.
729 * In KAME/getnameinfo.c it's best to use the correct argument to inet_ntoa.
731 * In verbose mode, log if --check mode is enabled.
732 * Add sslcommonname option (rcfile and commandline) as a way to work around
733 misconfigured upstream SSL servers that use the wrong certificate name. It
734 specifies which CommonName fetchmail expects and logs. (Daniel Richard G.)
735 * Changed CRLF to LF line endings in contrib/delete-later (reporter: Petr Uzel)
736 * SSL change: enable all workarounds with SSL_CTX_set_options(ctx,SSL_OP_ALL)
737 * All translations have been re-enabled, in an attempt to rekindle translator or
741 * Add fetchmail-SA-2007-02.txt and fetchmail-SA-2008-01.txt.
742 * Re-add two lines to the manual page that had accidentally become comments
743 to nroff. One was part of the --sslproto documentation, and one in the
744 "Awakening the background daemon" section.
745 * The manual page no longer asserts that .fetchids were for exclusive POP3 use,
746 since it is planned to use the file with IMAP4 later.
747 * Add grammar fixes from Dan Jacobson to fetchmail.man. Debian Bug #461642.
748 * The manual page now mentions that user descriptions need to come before user
749 options. Reported by Francensco Pontortì, to fix Debian Bug #467010.
750 * The manual page no longer hints that multi-user declarations per server were
751 only useful in daemon mode running as root, to avoid hinting people to doing
753 * Several manual page rcfile examples now include "ssl".
754 * The manual page hints that option arguments beginning with numbers can be
756 * The manual page now mentions that the --logfile must already exist before
758 * The FAQ now recommends (#I9) not to use Google Mail for their disregard to the
759 protocols they claim to support.
760 * Documentation and program output now /consistently/ claim that the rcfile must
761 not have more than 0700 (u=rwx,g=,o=) permissions, but fetchmail will still
762 silently accept additional g=x permissions for compatibility with previous
763 6.2.X and 6.3.X versions.
764 Inconsistency (program 0710, manpage 0600) reported by Petr Uzel.
765 * The --logfile documentation is now clearer about requiring detached daemon
768 # TRANSLATION UPDATES AND ADDITIONS (ordered by language name):
769 * [sq] Albanian (Besnik Bleta)
770 * [zh_CN] Chinese, simplified (Ji Zheng-Yu)
771 * [cs] Czech (Petr Pisar)
772 * [da] Danish (Byrial Ole Jensen) - outdated, but newer than in 6.3.8
773 * [nl] Dutch (Tony Vroon, Benno Schulenberg)
774 * [en_GB] English, British
775 * [fi] Finnish (Lauri Nurmi)
777 * [id] Indonesian (Andhika Padmawan)
778 * [ja] Japanese (Takeshi Hamasaki)
779 * [pl] Polish (Jakub Bogusz)
780 * [ru] Russian (Pavel Maryanov)
781 * [es] Spanish (Javier Fernández-Sanguino Peña, Matthias Andree)
782 * [tr] Turkish (Engin Gündüz) - outdated, but newer than in 6.3.8
783 * [vi] Vietnamese (Clytie Siddall)
787 fetchmail 6.3.8 (released 2007-04-06):
789 # SECURITY STRENGTHENING:
790 * Make the APOP challenge parser more distrustful and have it reject challenges
791 that do not conform to RFC-822 msg-id format, in the hope to make mounting
792 man-in-the-middle attacks (MITM) against APOP a bit more difficult.
793 (CVE-2007-1558, reported by Gaëtan Leurent, published 2007-04-02 on Bugtraq)
795 APOP is claimed insecure by Gaëtan Leurent for MITM scenarios for typical
796 setups: based on MD5 collisions, it is purportedly possible to recover the
797 first three characters of the shared secret (password), which would then make
798 recovery of the shared secret a matter of hours or minutes; this would then
799 enable the attacker to impersonate the client vis-à-vis the server.
801 For further details, check
802 * Gaëtan Leurent, "Message Freedom in MD4 and MD5 Collisions: Application
803 to APOP", Fast Software Encryption 2007, Luxembourg. (Proceedings to appear in
804 Springer's Lecture Notes on Computer Science.)
805 * The mailing list discussion thread at
806 <http://lists.berlios.de/pipermail/fetchmail-devel/2007-March/000887.html>
809 * Fix pluralization of oversized-message warning mails.
810 * Fix manual page: --sslcheck -> --sslcertck, and do not set trailing
811 "recommended:" in bold. Fixes Debian Bug #413059, reported by Rafal Czlonka.
812 * Repoll immediately if a protocol error happens during the authentication
813 attempt after a failed opportunistic TLS upgrade.
814 Fixes comment #9 in Gentoo Bug #163782, reported by Takuto Matsuu.
815 * Fix rendering of the "24 - 26, 28, 29" paragraph in the exit codes section.
816 Reported by Nico Golde.
817 * If SOCKS support was compiled in, add 'socks' to the feature_options Python
818 list emitted in --configdump. Reported by Rob MacGregor.
819 * Do not crash with a null pointer dereference when opening the BSMTP file
820 fails. Improve error checking and reporting. Reported by Reto Schüttel,
821 Debian Bug#416625. Fix based on a patch by Nico Golde.
822 * Make BSMTP output actually work, it would persistently fail with SOCKET error
823 after writing the first header. Bug independently found and reported in
824 excellent detail by Reto Schüttel, Debian Bug#416812.
827 * Add fetchmail-SA-2007-01.txt
828 * Extend --mda documentation, discourage use of qmail-inject.
829 Based on a patch by Rob MacGregor.
830 * Document SOCKS configuration facility (SOCKS_CONF environment variable).
831 Thanks to Jochen Hayek, Michael Shuldman and Rob MacGregor.
832 * Use envelope option in multidrop example. Patch by Rob MacGregor.
833 * Document expected Received: line format when parsing for envelope addressees.
834 * Stripped option documentation from sample.rcfile, since this is bound to go
835 out of synch with the manual page, which is the only reference on options.
836 * Mention that --limit default is 0 bytes, which is special for "no limit".
837 * Corrected Robert M. Funk's name that I misspelled. My sincere apologies
841 * Add delete-later and delete-later.README, a script and documentation for
842 a MySQL/Tcl-based client-side "delete-after" feature.
843 Kindly donated by Yoo GmbH, Großvoigtsberg, Germany (Carsten Ralle).
846 fetchmail 6.3.7 (released 2007-02-18):
848 # FIXES FOR REGRESSIONS IN 6.3.6
849 * Fix KPOP. Patch by Miloslav Trmac.
850 * Fix repoll when server disconnects after opportunistic TLS failed for POP3.
851 Berlios Bug #10133 = Gentoo Bug #163782 reported by Andrej Kacian.
853 # TRANSLATION UPDATES
854 * Japanese (Takeshi Hamasaki), Polish (Jakub Bogusz)
857 * Consider getaddrinfo() on Darwin 9 (Mac OS X 10.5 "Leopard") thread-safe.
858 Reported by Uli Zappe.
861 fetchmail 6.3.6 (released 2007-01-04):
864 * CVE-2006-5867, fetchmail-SA-2006-02.txt:
865 Password disclosure vulnerability fixed. This has several aspects:
867 - Fetchmail now implies sslproto 'tls1' if the sslfingerprint or sslcertck
868 options are used and the ssl option is not used, in order to be sure that
869 fetchmail gets a certificate from the mail server.
871 - Fetchmail breaks the connection if the TLS negotiation (or verification, if
872 requested) fails with sslproto 'tls1', sslfingerprint or sslcheck enabled.
874 - POP3 connections now use STLS reliably. They used to ignore STLS altogether
875 for serveral values of the "auth" option, when fetchmail forget to probe
876 server capabilities - see fetchmail-SA-2006-02.txt for details.
878 - POP3 connections will no longer fall back USER/PASS authentication if
879 strong challenge-response authenticators such as CRAM-MD5 are configured
880 but the server does not advertise these in its CAPA response.
882 - POP2 is obsolete and does not support STLS or anything beyond password-based
883 authentication. The attempt to use STLS or strong authenticators now causes
886 Configurations using both ssl and sslcertck however have been semi-safe in
887 that they would send the password in the clear. The USER/PASS fallback
888 problem however applies to these too, so that the password was only safe on
891 * CVE-2006-5974, fetchmail-SA-2006-03.txt:
892 Repairs a regression in 6.3.5 that crashes fetchmail when a message with
893 invalid headers is found while fetchmail's mda option is in use. BerliOS bugs
894 #9364, #9412, #9449. Stack backtrace provided by Neil Hoggarth - thanks.
896 # REGRESSION FIXES (recently introduced bugs)
897 * Repair --logfile, broken in 6.3.5. BerliOS Bug #9059,
898 reported by Brian Harring.
899 * Repair --user, broken in 6.3.5 (as a side effect of the authenticate external
900 patch): using SSL certificate/key authentication overrode the --user option.
901 Now the latter takes precedence, and only defaults to the certificate's common
902 name. Debian Bug #400950, reported by Jorgen Schaefer <forcer@debian.org>.
904 # BUG FIXES (long-standing bugs):
905 * RPOP: used to log the password locally rather than an asterisk as the other
906 protocols do. The password is now shrouded in the local logs.
907 * POP3: Probes capabilities now when Kerberos V5 is enabled, so that we can
908 actually detect if the server supports it.
909 * Robustness: If a stale lockfile cannot be deleted, truncate it so that
910 fetchmail doesn't later believe itself to be running if the PID is recycled
911 by a non-fetchmail process.
912 * DNS: Detect /etc/resolv.conf changes: On systems that have res_search(),
913 assume we also have res_init() and call it (suggested by Ulrich Drepper,
914 glibc bug #3675) in order to make libc or libresolv reread the resolver
915 configuration at the beginning of a poll cycle. This is important when
916 fetchmail is in daemon mode and /etc/resolv.conf is changed later by dhcpcd,
917 dhclient, pppd, openvpn or other ip-up/ipchange scripts. Should fix Debian
918 Bug#389270, Bug#391698.
919 * Robustness: Fix crash on systems that do not provide strdup(), the crash
920 happens only in out-of-memory conditions when fetchmail cannot proceed
921 anyways. Patch by Andreas Krennmair.
922 * Robustness: When HOME and FETCHMAILHOME are unset, be sure to copy user
923 database information, so it is not trashed later. Patch by Jim Correia.
926 * Workaround: Improve handling of IMAP IDLE, some servers do not reset their
927 time counters after sending information asynchronously. Patch by Sunil
928 Shetye, after report from Andrew Baumann.
929 * Usability: When requesting Kerberos or GSSAPI, complain and exit with syntax
930 error if any of these requested features has not been compiled in. This is
931 to fail early and with precise error message. Reported by Isaac Wilcox.
932 * --version will now add +KRB4 or +KRB5 if Kerberos v4 or v5, respectively, have
933 been compiled in. Reported missing by Isaac Wilcox.
936 * New en_GB (British English) translation by David Lodge.
937 * Update Japanese (Takeshi Hamasaki), Polish (Jakub Bogusz), Russian (Pavel
938 Maryanov) and Vietnamese (Clytie Siddall) translations.
939 ! Note that not all these translations are complete -- this isn't the
940 translators' fault though, but due to delays at the BerliOS hosting site and
941 the translation project handlers. You may see a few untranslated messages.
944 * Dropped exit status 15 from manual page, it's not used by fetchmail.
945 Reported by Isaac Wilcox.
946 * Documented exit codes 24 - 29 as internal.
948 fetchmail 6.3.5 (released 2006-10-09):
951 * For protocols such as IMAP that are not delimited by "." lines, truncate the
952 input buffer when the message has been completely read, to avoid taking
953 trailing garbage into the message if the terminal CRLF is missing. Fixes
954 Debian Bug#312415. (Patch suggested by Mike Jones, Manchester Univ.).
955 * When using NTLM authentication, use regular IMAP response code handler after
956 completing NTLM handshake, for robustness and consistency.
957 (Taken from the NetBSD portable packages collection, patch-ac.)
958 * Support Kerberos installations where krb5.h and perhaps roken.h are in
959 .../include/krb5. Taken from NetBSD portable packages collection patch-ae.
960 * On NetBSD, link against -lroken -lcom_err if --with-kerberos is enabled.
961 * Drop #include <com_err.h> from Kerberos 5 header file, fixes compile error on
963 * Fix des_pcbc_encrypt compile warnings in kerberos.c line 246.
964 * If krb5-config provides gssapi library information, use that rather than
966 * Improve --with-gssapi auto detection for /usr-based GSSAPI installs.
967 * Fix --with-gssapi builds for NetBSD 3.0.
968 * Improve KAME/getnameinfo.c portability to Linux libc5 systems.
969 Based on a patch by Dan Fandrich.
970 * Provide INET6 to KAME/getnameinfo.c (only useful on IPv6-enabled systems that
971 lack getnameinfo, and there only visible in some Received: headers).
972 Found by Dan Fandrich.
973 * POP3: some UID flags may not be set properly on UIDL lists. (Sunil Shetye)
974 * Make IMAP4 IDLE work on servers that do not update RECENT counts.
975 Reported by Lars Tewes.
976 * IMAP4 patch by Sunil Shetye:
977 - do not depend on server updating RECENT counts at all
978 - also enter IDLE loop when messages are present on the server.
979 * Fix --flush description in the manual page, fetchmail does not mark messages
980 seen unless it has successfully delivered them. Suggested by Frederic Marchal.
981 * Fetchmail no longer attempts to stat the "-" file in daemon mode -- this is a
982 special name to read the RC file from stdin, and cannot always be re-read
983 anyways. BerliOS bug #7858.
984 * When looking up ports for a service, the lookup succeeds and the returned
985 address family isn't IPv4 or IPv6, properly free the allocated memory from the
986 service lookup. Found by Uli Zappe.
987 * When looking up ports for a service, only look up TCP ports.
988 * Avoid compiling empty files, to avoid diagnostics from strict compilers.
989 * If the lockfile ends before the process ID, treat it as stale and unlink it.
990 Reported by Justin Pryzby, Debian Bug #376603.
991 * SIGHUP wake-up behavior was broken since 5.9.13's Cygwin changes, in that for
992 non-root users, SIGHUP would abort the first poll and subsequently interfere
993 with new polls, and SIGHUP would be ignored for root users. SIGHUP now matches
994 documented behavior. SIGUSR1 has always been a wakeup signal for both root
995 (undocumented) and non-root users. See also the deprecation warning above.
996 * Track getaddrinfo() results to properly free them after timeouts and make sure
997 that getaddrinfo() isn't interrupted by a timeout (which breaks on MacOS X),
998 reported by Uli Zappe. This should fix Debian Bug#294547 and Bug#377135.
999 * --logfile is now handled more carefully, errors opening the logfile are
1000 now reported to the TTY where fetchmail was started from.
1001 * fetchmail now complains and aborts when it cannot properly daemonize itself.
1002 * fix compilation on systems that don't know struct addrinfo (Solaris 2.6).
1003 * ignore SIGPIPE signals and rely on functions to return EPIPE instead. This is
1004 necessary because the former longjmp() from the signal handler is unsafe and
1005 makes the whole fetchmail behavior undefined after the event.
1006 * Avoid crash in env.c/host_fqdn if we cannot canonicalize our own hostname.
1007 Reported by Alexander Holler.
1008 * SSL fix by Miloslav Trmac (Red Hat): free the SSL contexts after the
1009 connection, to avoid from growing SSL certpaths without bounds, avoid using
1010 SSL contexts for unrelated connections, and to fix Red Hat Bug #206346.
1013 * Rename all fetchmail-internal lock_* functions to fm_lock_*. Obsoletes
1014 NetBSD portable packages collection patch-ah, patch-ai and patch-aj.
1015 * Configure prints a warning (but proceeds) if Kerberos IV support is enabled.
1016 * In verbose mode, log every IP fetchmail tries to connect to, to avoid
1017 misleading the user. Suppress EAFNOSUPPORT errors from socket() call, too.
1018 Fixes Debian Bug #361825, reported by Daniel Baur.
1019 * In idle mode, fetchmail complains about the fetchall option.
1020 * When a connection fails, log not only the IP address, but also host and
1021 service name and the port number. Log the latter when trying to connect in
1023 * Keep syslog output at one line per message (this works if no errors occur).
1024 * Fetchmail in verbose mode now logs if it opportunistically upgrades a POP3
1025 or IMAP connection to TLS security with STLS/STARTTLS.
1026 * fetchmail now supports foo@example.org=bar user mappings for multidrop boxes.
1027 * switch setjmp/longjmp to sigsetjmp/siglongjmp
1028 * IMAP now supports the EXTERNAL authentication method, courtesy of
1029 Götz 'nimrill' Babin-Ebell, BerliOS patch #1095 with minor changes.
1030 Note that this change causes --sslcert to override --user.
1031 * The sslproto keywords are now case insensitive, courtesy of
1032 Götz 'nimrill' Babin-Ebell, BerliOS patch #1095.
1033 * When going to sleep, log for how long. Suggested by Claudia Ludwig.
1034 * When the server name cannot be canonicalized, log the gai_strerror value.
1036 # TRANSLATION UPDATES:
1037 * Catalan/ca (Ernest Adrogué Calveras), Japanese/ja (Takeshi Hamasaki) - also
1038 made gettext 0.15 ready, Polish/pl (Jakub Bogusz), Russian/ru (Pavel
1039 Maryanov), Spanish/es (Héctor García Álvarez), Vietnamese/vi (Clytie Siddall)
1041 # CONTRIBUTED SCRIPTS:
1042 * PopDel.py was revised by Joshua Crawford to display the From: address and
1043 list every email, even if it has no Subject: header; and not delete the wrong
1044 message in the presence of mail without Subject: headers.
1046 fetchmail 6.3.4 (released 2006-04-14):
1049 * configure: detect res_* functions properly with newer glibc ABIs.
1050 Patch by Miloslav Trmac.
1051 * tracepolls: add folder information if available. Reported by Terry Brown.
1052 * lexer: add %option noyywrap to avoid link errors about missing yywrap().
1053 * a few more type fixes for report/snprintf, patch by Miloslav Trmac.
1054 * bouncing: fetchmail would still send "General SMTP/ESMTP error." bounces
1055 in spite of "no bouncemail" configuration.
1056 * SSL/TLS: if, for a certain server, an sslfingerprint is specified and
1057 sslcertck is NOT set, suppress printing SSL certificate mismatch errors.
1058 (Reported by Hannes Erven.)
1059 * SSL/TLS: always print if the sslfingerprint mismatches, even in silent
1060 mode. (This is for consistency with certificate verification errors.)
1062 # TRANSLATION UPDATES:
1063 * German/de (Matthias Andree), French/fr (Matthias Andree), Spanish/es (Héctor
1064 García), Polish/pl (Jakub Bogusz), Japanese/ja (Takeshi Hamasaki)
1065 * New Vietnamese/vi translation (Clytie Siddall).
1066 * Updated French descriptions for the .spec file (Stéphane Schildknecht,
1067 Luc Pionchon, Matthias Andree).
1070 * pidfile: there is a new command-line (--pidfile PATH) and global option for
1071 the rcfile (set pidfile [=] "/path/to/pidfile") option to allow overriding
1072 the default location of the PID file.
1073 Requested by Héctor García, Debian maintainer.
1074 * specgen.sh: Converted to UTF-8 to support translated texts better.
1076 fetchmail 6.3.3 (released 2006-03-30):
1079 * SEGFAULT: Do not attempt to overwrite the netrc password if none has been
1080 specified. This fixes a segmentation fault bug introduced into 6.3.2.
1081 Fixes BerliOS bug #6234. BerliOS patch #804 by Craig Leres.
1082 The patch, as accepted into fetchmail, was available separately from
1083 <http://download.berlios.de/fetchmail/patch-6.3.2.1-fix-netrc-SIGSEGV.diff>
1084 * SEGFAULT: Work around C libraries that return a NULL in getaddrinfo()'s
1085 ai_canonname record, to avoid a segfault. Affects for instance FreeBSD 4.10,
1086 4.11 and 5.3 when dotted quads are given as server names.
1087 Analysis and fix by Vladimir Olegovich Ravodin (Владимир Олегович Раводин).
1088 * IMAP: fix hangs in NOOP-based IDLE emulation. Reported by Casper Gripenberg
1089 and Brendan Lynch, fix by Sunil Shetye (his patch was merged) and Brendan Lynch.
1090 * IMAP: Handle other clients concurrently accessing IMAP mailboxes better.
1091 Fetchmail quits the poll if the EXPUNGE count does not match expectations, and
1092 servers not updating RECENT counts after EXPUNGE are handled in a better way.
1093 (Patch by Sunil Shetye.)
1094 * IMAP: Stop sending EXPUNGE after NOOP-idling (patch by Sunil Shetye).
1095 * POP3: fetchmail can now use UIDL in fetchall keep mode, to avoid re-fetching
1096 the same messages again when the fetchall keyword is removed. Patch by
1097 Sunil Shetye. For details, please see
1098 <http://lists.berlios.de/pipermail/fetchmail-users/2006-March/000308.html>
1099 * LMTP: fix bug in LMTP port validation (patch by Miloslav Trmac).
1100 * SDPS: fetchmail no longer replaces the local user ID for an empty envelope
1101 sender when using the proprietary SDPS extension for POP3.
1102 Fixes Debian Bug#353575, reported by Roger Lynn.
1103 * SDPS: Warn and disable SDPS if POP3 is disabled to avoid compilation errors.
1104 * fetchmail no longer prints empty lines in verbose mode when using syslog.
1105 * fetchmail no longer prints UID lists in verbose mode when using syslog.
1106 * ./configure --quiet is now quieter (no SSL and fallback-related output).
1107 * Miloslav Trmac's patch (with minor changes) to fix char * sign consistency,
1108 unused arguments and variables.
1109 * More signedness, unused argument/variable and other warning fixes.
1112 * --idle can now be specified on the command line, too.
1113 * --fetchall is now supported on the command-line.
1114 * POP3: Lower default fastuidl span to 4 (i. e. every 4th run fetches the
1115 whole UIDL list), patch by Sunil Shetye.
1118 * "ssl" is a user option rather than a server option. Patch by Nico Golde.
1119 Fixes Debian Bug#354661, reported by Keith Hellman.
1120 * The manual page now suggests "--" before the addresses in the sendmail MDA
1121 example, for safety.
1122 * The FAQ item X9, Domino IMAP omits Content-Transfer-Encoding header, was
1123 added. Information provided by Anthony Kim on the fetchmail-friends list
1125 * Credit Chris Boyle with the NOOP emulation code for IDLE in fetchmail 6.2.4.
1126 Eric forgot to credit Chris, thanks to Sunil Shetye for providing these links:
1127 http://lists.ccil.org/pipermail/fetchmail-friends/2003-July/007705.html
1128 http://lists.ccil.org/pipermail/fetchmail-friends/2003-July/007713.html
1129 * Added a section about RETR vs. TOP to the manual page.
1130 * Changed section/subsection levels in some areas.
1132 fetchmail 6.3.2 (released 2006-01-22):
1134 Unless otherwise noted, changes to this release were made by Matthias Andree.
1136 # SECURITY FIX IN THIS RELEASE
1137 * CVE-2006-0321: Fix segfault or bus error after bouncing a message. This bug
1138 was introduced into 6.3.0 when removing alloca(); it caused fetchmail to free
1139 random memory. Reported by Nathaniel W. Turner, Debian Bug#348747.
1140 See fetchmail-SA-2006-01.txt
1142 # INCOMPATIBLE CHANGE:
1143 * Automatically disable the POP3 TOP command if the greeting string contains
1144 "Maillennium POP3/PROXY server", which is used by comcast and known to
1145 truncate messages after 80 kByte. Fall back to RETR, and complain if we had
1146 used TOP otherwise (the warning is printed only once per server in daemon
1147 mode). Suggested by Ed Wilts.
1148 *Note* that this means messages are marked read on these servers, which is a
1149 deviation from how 6.3.1 behaved, but we have no alternative, comcast haven't
1150 fixed this bug in years. Preventing the loss of the remainder of the message
1151 justifies this incompatible fix.
1152 * fetchmail, since 6.3.0, requires write permission to the directory holding the
1153 idfile. See the amendment in the 6.3.0 MAJOR INCOMPATIBLE CHANGES section
1154 below for details. The manual page was updated.
1156 # CHANGES RELEVANT TO PACKAGERS:
1157 * The outdated BUGS document was removed from the distribution.
1158 * Added fetchmail-SA-2006-01.txt to the distribution.
1161 * SMTP/LMTP cleanup to fix these two bugs:
1162 - switch back to SMTP after having tried LMTP hosts (multiple smtphost hosts)
1163 - switch back to LMTP after sending a bounce.
1164 The patch removes the global state variable that was the root of this problem.
1165 Patch by Sunil Shetye. (MA)
1166 * Don't complain about fetchall keep in --configdump mode. Bug introduced in
1168 * fetchmailconf.py: Fix novice help for Poll interval and fetchall.
1169 Reported by Justin Pryzby, Debian Bug #344978.
1170 * Some verbose output disappeared in debug mode. Adding further -v options would
1171 alternate between verbose and debug mode. debug mode now comprises all verbose
1172 output, and adding more -v options does not switch back from debug to verbose
1174 * fetchmail.man: Fix accented characters in Héctor García's name. Merged from
1175 downstream debian/patches/01_man_page.dpatch.
1176 * Add missing --help text for "--sslcertck" option.
1177 * fetchmailconf.py: Accept --help and --version.
1178 * fetchmail --version now prints the copyright notice.
1179 * don't complain about READ-ONLY IMAP folders in --fetchall --keep mode.
1180 Reported Alexander Zangerl, Debian Bug#348964.
1181 * the RPM .spec file now generates a -debuginfo package on newer RPM versions.
1183 fetchmail 6.3.1 (released 2005-12-19):
1185 # SECURITY FIX IN THIS RELEASE
1186 * CVE-2005-4348 Fix segmentation fault (null pointer dereference) in
1187 multidrop mode with headerless email. See fetchmail-SA-2005-03.txt.
1188 Reported by Daniel Drake, patch by Sunil Shetye. (MA)
1190 # OTHER BUG FIXES, DOCUMENTATION AND TRANSLATION UPDATES
1191 * Fix broken default port in POP2. Patch by Stanislav Brabec, SUSE [CZ]. (MA)
1192 * Fix manual page, some lines starting with ' were escaped by \&.
1193 Reported by Simon Barner. (MA)
1194 * Ship with gettext-0.14.3 again, as 6.2.9-rc10 did. Found by Sunil Shetye. (MA)
1195 * Actually set default SSL certificate path if --sslcertpath is unset.
1196 Reported by Heino Tiedemann and Rob MacGregor. (MA)
1197 * Remove bogus Netscape IMAP4rev1 Service >= 3.6 warning about BODY[TEXT]
1198 that we are not using. Patch by Sunil Shetye. (MA)
1199 * Plug potential memory and socket leak when polling multiple folders or when
1200 the upstream sends bogus message sizes. Patch by Sunil Shetye. (MA)
1201 * Update Catalan translation, by Ernest Adrogué Calveras. (MA)
1202 * Fix segfault (null pointer dereference) on some operating systems with
1203 fetchmail's obsolete DNS MX/host alias lookups in multidrop mode.
1204 Patch by Dr.-Ing. Andreas Haakh. (MA)
1205 * Close SMTP sockets early, to reduce resource usage, trigger earlier delivery
1206 with some MTAs and avoid SIGPIPE (SIG 13) when the SMTP listener gets bored
1207 and drops the connection after timeout. Patch by Sunil Shetye. (MA)
1208 * Don't treat hitting a fetch limit as error. Patch by Sunil Shetye. (MA)
1209 * Fix negative "messages left on server" on idle/repoll with fetchlimit.
1210 Patch by Sunil Shetye. (MA)
1211 * Properly track logout stage. Patch by Sunil Shetye. (MA)
1212 * Preserve error conditions across postconnect script. Sunil Shetye. (MA)
1213 * Do not trash destination domain if multiple messages are forwarded into the
1214 same SMTP/LMTP connection. Reported by Joachim Feise, Berlios Bug #5849. (MA)
1215 * Manual page: Add "-md5" to "openssl x509" example in --sslfingerprint
1216 documentation, since OpenSSL 0.9.8 changed the default to SHA1.
1217 Suggested by Jason White. (MA)
1218 * Cope with servers that return UID information in response to non-UID
1219 RFC822.{SIZE|HEADER} requests. Reported by Jason White.
1220 Patch suggestion by by Sunil Shetye, simplified by MA.
1222 fetchmail 6.3.0 (released 2005-11-30):
1224 # SECURITY FIXES IN THIS RELEASE
1225 * CVE-2005-2335: The POP3 UIDL code doesn't sufficiently validate/truncate the
1226 input length, so a (malicious or compromised) server that sends UIDs longer
1227 than 128 bytes can corrupt fetchmail's stack and crash fetchmail.
1228 This vulnerability is remotely exploitable to inject code run in a
1229 root shell. Edward J. Shornock, Ludwig Nussel. fetchmail-SA-2005-01.txt
1230 * CVE-2005-3088: fetchmailconf now changes the output file to mode 0600 BEFORE
1231 writing to it, so there is no window where passwords could be read by the
1232 world. Matthias Andree. fetchmail-SA-2005-02.txt
1234 # MAJOR INCOMPATIBLE CHANGES
1235 * Remove support for --netsec/-T options, the required inet6_apps library is no
1237 http://www.inner.net/pub/ipv6/ states, as of 2005-07-03: "/pub/ipv6
1238 Our IPv6 software is now long defunct. Please find a more modern source."
1239 I haven't been able to find a more modern source. Matthias Andree
1240 * Operating systems that do not conform to the Single Unix Specification v2
1241 (1997) or v3 (2001, aka IEEE Std 1003.1-2001) are no longer supported. They
1242 may continue to work and non-intrusive patches to support them may be
1243 accepted. Matthias Andree
1244 * The default for --smtphost is now always "localhost" regardless of
1245 authentication types and protocols, so as to simplify configurations for
1246 workstations where the SMTP daemon only listens on the loopback interface.
1247 Sunil Shetye & Matthias Andree
1248 Amendment, 2006-01-04:
1249 * fetchmail's idfile (.fetchids) is no longer written directly, but the ids are
1250 written to a temporary file which is renamed into place after being written
1251 completely. This is to avoid writing incomplete idfiles when running out of
1252 space, which would cause excessive duplicate refetches of messages, this might
1253 make matters even worse. This means that fetchmail requires write permission
1254 on the directory holding the idfile. This will usually affect system-global
1255 daemons only, for instance, Debian. Found by Dan Jacobson. Matthias Andree.
1256 Escalated to "incompatible", 2006-01-13:
1257 * Try to obtain FQDN as our own host by default, rather than using "localhost".
1258 If hostname cannot be qualified, complain noisily and continue, unless
1259 Kerberos, ODMR or ETRN are used (these have always required an FQDN).
1260 Partial fix of Debian Bug#150137. Fixes Debian Bug#316454. Matthias Andree
1262 # CHANGES RELEVANT TO PACKAGERS AND USERS
1263 * fetchmailconf is now a shell wrapper that calls the byte-compiled
1264 fetchmailconf.py script, which is now installed in the regular python
1265 directory. Matthias Andree.
1266 * The --enable-inet6 configure option was removed. The code is mostly protocol
1267 agnostic, a fully IPv6 aware OS is expected to provide getaddrinfo(),
1268 getnameinfo() and the macro AF_INET6. Matthias Andree.
1269 * gettext (intl/) has been removed from the fetchmail package. Install GNU
1270 gettext 0.14 separately for NLS (i18n). Matthias Andree
1271 * Added Russian translation, courtesy of Pavel Maryanov of the
1272 Russian translation team. (MA)
1273 * Updated and re-enabled Czech translation, by Miloslav Trmac (MA).
1274 * Dropped da=Danish, el=Greek and tr=Turkish translations which have more than
1275 10% (61+) untranslated or fuzzy messages. Matthias Andree.
1277 # OTHER USER-VISIBLE CHANGES
1278 * Sunil Shetye's fix to force fetchsizelimit to 1 for APOP and RPOP. (ESR)
1279 * PopDel.py removed from contrib at author's request. (ESR)
1280 * Matthias Andree's fix for Sunil Shetye's fetch-split patch. (ESR)
1281 * Include James Stone's moldremover.py script. (ESR)
1282 * Enable .fetchmailrc permissions checking under Cygwin. (ESR)
1283 * Nalin Dahyabai's fix for POP3 strong authentication. (ESR)
1284 * Revised Nalin Dahyabai's fix for POP3 strong authentication (the
1285 original version would go into an infinite loop when CAPA failed;
1286 found by David Greaves.) (MA)
1287 * HOME_ETC patch for PLD Linux. (ESR)
1288 * Sunil Shetye's fix for SSL configuration. (ESR)
1289 * Simon Josefsson's patch for GSS library support. (ESR)
1290 * Added Andrey Lelikov's recipe for Hotmail and Lycos Webmail. (ESR)
1291 * Remove blank between MAIL FROM: and <, which causes Cyrus to complain.
1292 Patch by Phil Endecott. (RF)
1293 * Build fixes for HESIOD and resolv.h trouble on FreeBSD. (MA)
1294 * Fabrice Bellet's fix for Red Hat bug #113492, fetchmail hangs in IMAP
1295 mode after EXPUNGE when the server (Dovecot 0.99.10) doesn't update
1296 RECENT and EXISTS counts. (MA)
1297 * Holger Mauermann's bounce patch, to use a NULL envelope from, not
1298 write a Return-Path header (both to meet RFC-2821), changed From,
1299 added Subject header, rewording the human readable part. Fixes Debian
1301 * Merge Sunil Shetye's time.h handling fix. (MA)
1302 * Merge Gerd von Egidy's patch to avoid a segfault in multidrop/received
1303 mode when the Received: headers are malformatted. (MA)
1304 * MIME-encode bodies and Subject headers of warning messages, limiting
1305 the header to 7 bits. (MA)
1306 * Normalize most locale codesets to IANA codesets, based on
1307 norm_charmap.c by Markus Kuhn. (MA)
1308 * Remove sleep(3) after POP3 login, patch by Brian Candler. (MA)
1309 * Fix option parsing bug that trashes the showdots setting when more
1310 than one server is configured. Patch by Brian Candler. (MA)
1311 * Honor sslcertpath setting even if sslcertck is unset. Patch by Brian
1313 * SSL certificate checking fixes, don't display same error message twice
1314 in succession, make sure that Common Name and fingerprint checking are
1315 only done once. Print all validation warnings/errors even if not in
1316 verbose mode. Patch by Brian Candler. (MA)
1317 * Import Bjorn Reese and Daniel Stenberg's MIT-licensed Trio 1.10 from
1318 http://daniel.haxx.se/projects/trio/ for systems that do not support
1319 snprintf or vsnprintf. (MA)
1320 * Clean up the horrible #ifdef HAVE_[V]SNPRINTF that made the code
1321 unreadable. Use Trio where [v]snprintf is/are missing. (MA)
1322 * Default to Linux 2.2 /proc/net/dev format, and use uname(2) to determine the
1323 kernel version instead of calling uname(1). Thanks to Paul Slootman. (MA)
1324 * Be more careful when swapping UID lists or writing the .fetchids file,
1325 requested by Manfred Weihs. (MA)
1326 * Print a warning if multidrop configuration is attempted without
1327 envelope option. (MA)
1328 * Split information on fetchmail versions before 6.0.0 to a separate
1330 * Merge SuSE patches: (sent by Stanislav Brabec, merged by Matthias Andree)
1331 - fetchmail-6.2.5-declaration.patch (double sigint_handler decl/getpass.c)
1332 - fetchmail-6.2.5-implicit-declaration.patch (missing #include)
1333 - fetchmail-6.2.5-random-result.patch (uninitialized variable/opie.c)
1334 * Revised some bogus assertions about POP3 LAST and UIDL use in the
1335 manual page. UIDL isn't flaky as the man page suggested, but a
1336 reliability feature. In fact, IMAP4 code is flaky in that it relies on
1337 the upstream seen flags. (MA)
1338 * Miloslav Trmac's patch for fetchmailconf to support string-type values
1339 of the "port" variable, avoiding "port None" corruption in .fetchmailrc.
1340 To fix Redhat Bug #55623 (MA)
1341 * de.po fixes from Nico Golde (MA)
1342 * es.po fixes from Jesus Roncero, Debian bug #286044 (MA)
1343 * sink.c fix from Cesar Eduardo Barros, to avoid double @ in address
1344 when username contains an @ and the envelope sender is null, Debian
1346 * configure.ac cleanups by Miloslav Trmac (MA)
1347 * Miloslav Trmac's fix to reply_hack() type, for systems where
1348 sizeof(int) != sizeof(size_t). (MA)
1349 * Nalin Dahyabhai's fix for driver.c to not call the private Kerberos
1350 krb5_init_ets() function. Sent by Miloslav Trmac. (MA)
1351 * Nalin Dahyabhai's fix for sink.c/transact.c to reserve sufficient
1352 space for \r\n trailers in snprintf calls. Sent by Miloslav Trmac,
1353 possibly fixing Red Hat bug #114470. (MA).
1354 * Nalin Dahyabhai's patch to use the krb5-config script, if present.
1355 Sent by Miloslav Trmac. (MA)
1356 * Nalin Dahyabhai's fix to make rpa.c compile. Sent by Miloslav Trmac. (MA)
1357 * Trivial fetchmailconf.man to redirect to fetchmail.1.
1358 Reported by Miloslav Trmac. (MA)
1359 * Internationalization (i18n) updates by Miloslav Trmac. (MA)
1360 * Fix "couldn't find canonical DNS name of NN (MM)" for hosts that have
1361 only IPv6 addresses. Matthias Andree.
1362 * Revised INSTALL after question from Brian Candler, inet6-apps is no
1363 longer available: remove inet6-apps hints for IPv6, and add some
1364 apologetic message for IPsec. Note the code may be removed in a future
1365 version. Matthias Andree.
1366 * Brian Candler's FAQ update about SSL certificate verification. (MA)
1367 * Nico Golde's patch to support "proto RPOP" in the configuration file,
1368 reported by Dr. Andreas Krüger, Debian bug #242384 (MA)
1369 * Skip sending POP3 PASS command when USER command failed. Matthias Andree.
1370 * Run fetchmail.man through automatic spell checker. Matthias Andree.
1371 * Major fetchmail(1) manual page overhaul by R. Hannes Beinert, to
1372 clarify singledrop vs. multidrop operation. (MA)
1373 * Make tracepolls a server option, as documented. Fixes Debian bug
1374 #156094. Matthias Andree.
1375 * Fix some minor inaccuracies (RFC-1893 related, grammar/spelling) in
1377 * Rename ESR's design notes to esrs-design-notes.html and add a new
1378 design-notes.html document. The NOTES file will contain both of them.
1380 * Fix Debian bug #301964, fetchmail leaks sockets when SSL negotiation
1381 fails. Fix suggested by Goswin Brederlow. (MA)
1382 * Really fix Debian Bug#207919 (garbage in Received: lines when smtphost set),
1383 patch by Tobias Diedrich. The 6.2.5 NEWS claimed Gregan's patch had fixed
1384 #207919 but it had fixed #212484 instead and #207919 remained unfixed in
1385 6.2.5. The entry below has been corrected to read #212484 now. (MA)
1386 * When writing the PID file, write a FHS 2.3 compliant PID file.
1387 Fixes Debian bug #230615. Matthias Andree.
1388 * Make ODMR really silent, suppress "fetchmail: receiving message
1389 data". Fixes Debian Bug#296163. Matthias Andree.
1390 * Add From: header to warning emails. Debian Bug#244828. Matthias Andree.
1391 * Fix IMAP code to use password of arbitrary length from configuration
1392 file (although not when read interactively). Debian Bug#276424.
1394 * Document that fetchmail may automatically enable UIDL option.
1395 Debian Bug#304701. Matthias Andree.
1396 * Put *BOLD* text into the manual page near --mda to state unmistakably that
1397 the --mda %T and %F substitutions add single quotes, hoping to avoid bogus
1398 bug reports such as Debian Bug #224564. Matthias Andree
1399 * Rename lock_release to fm_lock_release, to avoid namespace collision on
1400 Darwin. NetBSD PR#28543 (pkg/28543). Matthias Andree.
1401 * The RFC-822 parser no longer strips the last character of bare addresses.
1403 * The IP address matching code was broken and
1404 1. didn't search exhaustively, but matched only the first IP address of the
1405 server's queryname against the IP addresses of the server name to match.
1406 2. didn't match IP aliases versus MX hosts. Matthias Andree
1407 * The "port" option, while still understood, is being replaced by the "service"
1408 option, which is now supported even without --enable-inet6. Matthias Andree.
1409 * The default distribution format is now bzip2. Matthias Andree.
1410 * fetchmailconf redirects fetchmail's input from /dev/null so it doesn't
1411 wait for the user to enter a password when the user doesn't even see
1412 the prompt. Reported by Michal Marek. Matthias Andree.
1413 * Write RFC-compliant BSMTP envelopes. Reported by Nico Golde. Matthias Andree.
1414 * Fix --with-gssapi compilation problem. Simon Josefsson. (MA)
1415 * Foster protocol-independence to support IPv6 better, for instance, providing
1416 IPv6 addresses in Received: headers. Matthias Andree.
1417 * Received: headers now enclose the for <...> destination address in angle
1418 brackets for consistency with Postfix. Matthias Andree.
1419 * Operating systems that do not support at least one of gethostbyname,
1420 gethostbyname_r, getipnodebyname are no longer supported. Matthias Andree.
1421 * Fixes to --with-hesiod option. Sunil Shetye. (MA)
1422 * Delete oversized messages with the new --limitflush option. Debian
1423 Bug#212240. Sunil Shetye. (MA)
1424 * Fix MacOS X compilation failures in sink.c (ru_*time has incomplete type).
1425 Berlios Bug #4725. Matthias Andree.
1426 * Fix "auth ntlm" to send AUTH NTLM (rather than AUTH MSN). Add "auth msn"
1427 officially. Reported by Yves Boisjoly. Matthias Andree
1428 * Expunge between IMAP folders when polling multiple folders.
1430 * Fix IMAP expunged message counting. Sunil Shetye. (MA)
1431 * Add full support for --service option. Matthias Andree
1432 * When getaddrinfo() fails resolving a service, log getaddrinfo() error. (MA)
1433 * Fix bogus "cannot resolve service * to port number" error. Simon Barner. (MA)
1434 * Failure to set up SSL connections now results in PS_SOCKET. Suggested by
1435 Thomas Wolff. Matthias Andree.
1436 * Kerberos IV detection fix for FreeBSD 4. Simon Barner. (MA)
1437 * Fix display and documentation of --envelope option. Matthias Andree
1438 * Make "envelope 'Delivered-To'" work with dropdelivered. Timothy Lee. (MA)
1439 * Add -DBIND_8_COMPAT to Darwin (MacOS X) compiles, to fix build problems on
1440 newer Darwin versions. Matthias Andree.
1441 * fetchmail should now automatically detect if OpenSSL requires -ldl.
1443 * Fix Solaris build with --disable-nls (blastwave.org). Matthias Andree.
1444 * Missed --port/--service/--ssl cleanups in the manual. Reminder from Thomas
1446 * Complain in POP3 if NTLM/MSN auth is requested but had not been enabled at
1447 compile time. This configuration mismatch now causes an error message and
1448 authentication failure. Found by Yves Boisjoly. Matthias Andree
1449 * fetchmailconf now allows expert users to choose the authorization type and
1450 also offers MSN and NTLM, suggested by Yves Boisjoly. Matthias Andree
1451 * fetchmailconf now (as of 1.49) writes its version to the comment of the
1452 saved run control file. Matthias Andree
1453 * Properly shut down SSL connections. Berlios Patch #647 by Arkadiusz
1455 * Global variable cleanup, to fix daemon mode reinitialization problems. Patch
1456 by Sunil Shetye. (MA)
1457 * fetchmailconf -h documents the fetchmailconf -h option. Matthias Andree
1458 * fetchmailconf -V now prints the fetchmailconf version. Matthias Andree
1459 * Add support for SubjectAltName (RFC-2595 or 2818), to avoid bogus certificate
1460 mismatch errors. Patch by Roland Stigge, Debian Bug#201113. (MA)
1461 * make fetchmail --silent --quit really silent, Debian Bug #229014 by Dr.
1462 Andreas Krüger. Matthias Andree
1463 * cleanup --quit handling again (so that --silent --quit just kills the
1464 existing daemon, rather than continue running), and document it more clearly.
1466 * Print an error message if multiple "defaults" records are found in the
1467 configuration file. Matthias Andree
1468 * Bury on_exit officially - the necessary code had been missing from 6.0.0,
1469 6.2.0, 6.2.5. Matthias Andree
1470 * Exit with error if the lock file cannot be read. Matthias Andree
1471 * Exit with error if the lock file cannot be created exclusively, this got
1472 broken in a 6.2.6-pre, 6.2.5.2 and older were fine. Matthias Andree
1473 * Do not break some other process's lockfile in "-q" mode, but wait for the
1474 other process's exit. Matthias Andree
1475 * Man page: --sslfingerprint points user to x509(1ssl) and gives an example
1476 how to use it. Debian Bug#213484, Eduard Bloch. (MA)
1477 * fetchmailconf now sets the service properly after autoprobe. Fixes Debian
1478 Bug#320645. Matthias Andree
1479 * Man page: Fix Debian Bug#241883, making global options more clear. Matt
1480 Swift, Matthias Andree.
1481 * When eating IMAP message trailer, don't see any line containing "OK" as the
1482 end of the trailer, but wait for the proper tagged OK line. To work around
1483 the qmail + Courier-IMAP problem in Debian Bug#338007. Matthias Andree
1484 * Fix Debian Bug#317761: when trying to send a bounce message, don't bail out
1485 if we cannot qualify our own hostname, so we aren't losing the bounce.
1486 Instead, pass the buck on to the SMTP server and use our own unqualified
1487 hostname. Matthias Andree
1488 * Revise some error messages so they are less confusing. Sunil Shetye.
1489 * Man page: update --smtphost documentation. Sunil Shetye, Matthias Andree.
1490 * Man page: clarify --loghost works only while detached. Matthias Andree
1491 * Man page: update --smtpaddress documentation. Sunil Shetye.
1492 * Fix several memory leaks and bugs in the SMTP/LMTP retry logic where
1493 fetchmail confused UNIX and Internet domain sockets. Sunil Shetye.
1494 * Man page (BUGS): document that passwords are length limited. Matthias Andree
1495 * Man page: Document that quoted strings that run across line boundaries
1496 contain the control characters (CR or LF). Document explicitly the backslash
1497 escape sequences and their differences from the escape sequences used in the
1498 C programming language. Matthias Andree
1499 * Fix segfault when run control file ends with a backslash inside an
1500 unterminated quoted string. Matthias Andree.
1501 * In quoted strings, support backslash as last character on a line to join the
1502 following line to the current. Matthias Andree.
1503 * Parsing untagged IMAP responses is more robust now. Matthias Andree.
1504 * Man page: Remove some procmail praises in --mda documentation, suggest
1505 maildrop instead, warn of procmail fallthrough behavior. Matthias Andree.
1506 * Man page: Revise AUTHORS and SEE ALSO sections. Matthias Andree.
1507 * Updated translations: Albanian [sq] (Besnik Bleta), Catalan [ca] (Ernest
1508 Adrogué Calveras), Czech [cs] (Miloslav Trmac), German [de] (MA),
1509 Spanish (Castilian) [es] (Javier Kohen), French [fr] (MA),
1510 Polish [pl] (Jakub Bogusz), Russian [ru] (Pavel Maryanov).
1511 * In oversized warning messages, print the account name, too. Fixes Debian
1512 Bug#213299. Sunil Shetye (MA).
1513 * Fix installation without Python. Sunil Shetye, reported by Peter Church. (MA)
1514 * Update Japanese translation. Fixes Debian Bug#329342, Takeshi Hamasaki. (MA)
1515 * Fix imap.c size safeguard that broke on x86_64 architecture. Matthias Andree
1516 * The FAQ is now available for duplex DIN A4 printing in PDF format.
1517 Don't bother to ask for a Letter version, I don't care. Matthias Andree
1518 * Man page: Use \- in the manual page where appropriate so that copy & paste
1519 works. I hope we got them all. Héctor García, Matthias Andree.
1522 * Switched to automake. Matthias Andree.
1523 * Got rid of alloca() in fetchmail proper. Matthias Andree
1524 * Got rid of ipv6-connect, inner_connect and thereabouts. Matthias Andree
1526 --------------------------------------------------------------------------------
1528 fetchmail-6.2.5 (Wed Oct 15 18:39:22 EDT 2003), 23079 lines:
1530 * Updated Spanish, Turkish, and German translation files.
1531 * Matthew Gregan's patch to handle garbage lengths from dbmail;
1532 closes Debian bug #212484.
1533 * Fix IMAP query so new-message count doesn't include deleted messages.
1534 * Man page typo fix, closes Debian bug #205892.
1535 * OpenSSL cleanup patches from levinedl@acm.org.
1536 * Benjamin Drieu's patch to fix Debian bug #212240, no oversized-message
1537 flushing if both "flush" and "limit" were specified.
1538 * Benjamin Drieu's patch for Debian bug #156592, incorrect handing of
1540 * Smash all NULs out of headers right after the socket read.
1541 * Dup-killer code now keys on an MD5 hash of the raw headers.
1542 * Sunil Shetye's patches to break up fetching of sizes and UIDLs.
1544 There are 599 people on fetchmail-friends and 748 on fetchmail-announce.
1546 fetchmail-6.2.4 (Wed Aug 13 04:27:35 EDT 2003), 22625 lines:
1548 * Updated German, Spanish, Catalan, and Turkish translations.
1549 * IDLE is now supported using NOOP commands even if the server doesn't support
1550 the IMAP IDLE extension. Patch by Chris Boyle.
1551 * Sunil Shetye's patch to do better password shrouding.
1552 * Sunil Shetye's bug-fix rollup patch.
1553 * Introduce a translation item for the word "seen".
1554 * Back out the hack to deal with lack of byte stuffing on some POP3 servers.
1555 * Thomas Steudten's patch to improve SMTP handling of 550 errors.
1557 There are 585 people on fetchmail-friends and 745 on fetchmail-announce.
1559 fetchmail-6.2.3 (Thu Jul 17 14:53:00 EDT 2003), 22490 lines:
1561 * French, German, Danish, Spanish, and Turkish translations updated.
1562 * Brian Sammon's patch to deal with malformed message lines containing NULs.
1563 * Fai's patch to ignore all but the first Return-Path (some spams have
1564 more than one of these).
1565 * Benjamin Drieu's patch to properly byte-stuff when talking to BSMTP.
1566 Fixes Debian bug #184469.
1567 * Benjamin Drieu's patch to enable auth=cram-md5.
1568 Fixes Debian bug #185232.
1569 * Sunil Shetye's configure.in patch to avoid spurious search order messages
1571 * Header-reading code now copes better with lines ending in \n only.
1572 * Elias Israel's patches for POP3 NTLM support and dealing with byte-
1573 stuffing failures at socket level.
1575 There are 580 people on fetchmail-friends and 750 on fetchmail-announce.
1577 fetchmail-6.2.2 (Fri Feb 28 21:34:26 EST 2003), 22345 lines:
1579 * Sunil Shetye's patch to improve behavior on empty messages.
1580 * Conform to RFC2595; reissue capability probes after successful
1581 STARTTLS negotiation.
1582 * Sunil's patch to make handling of failed STARTTLS more graceful.
1583 * Sunil's JF2 fix patch for .fetchmailrc security.
1584 * Christophe GIAUME <christophe@giaume.com> finished the implementation
1586 * Jason Tishler's fix patch for Cygwin.
1587 * Support ssh-style authentication in POP3
1588 * Fix for Debian bug #108977, clean up config file evaluation,
1591 There are 554 people on fetchmail-friends and 727 on fetchmail-announce.
1593 fetchmail-6.2.1 (Tue Jan 14 08:17:19 EST 2003), 22219 lines:
1595 * Updated German, Turkish, Spanish, and Danish translation files.
1596 * Integrated Sunil Shetye's patch to make mark_seen an explicit method.
1597 * Removed FAQ warning about GMX and associated fetchmailconf check,
1598 we have a report that its servers are conformant now.
1599 * Another Sunil patch to fix a minor bug in bouncemail generation.
1601 There are 536 people on fetchmail-friends and 716 on fetchmail-announce.
1603 fetchmail-6.2.0 (Fri Dec 13 00:10:07 EST 2002), 22235 lines:
1605 * Applied Steffen Esser's fix for a buffer-overflow bug in rfc822.c
1606 * Updated Danish, German, and Turkish translation files.
1607 * Sunil Shetye's SMTP timeout patch.
1609 There are 538 people on fetchmail-friends and 701 on fetchmail-announce.
1611 --------------------------------------------------------------------------------
1613 fetchmail-6.1.3 (Thu Nov 28 05:35:15 EST 2002), 22203 lines:
1615 * Updated Turkish, Danish, German, Spanish, Catalan po files.
1616 * Added Slovak support.
1617 * Configure.in update for autoconf 2.5 (Art Haas).
1618 * Be case-insensitive when looking for IMAP responses.
1619 * Fix logout-after-idle-delivery bug (Sunil Shetye).
1620 * Sunil Shetye's patch to bulletproof end-of-header detection.
1621 * Sunil's fix for the STARTTLS problem -- repoll if TLS nabdshake
1622 fails. The attempt to set up STARTTLS can be suppressed with 'sslproto ""'.
1624 There are 540 people on fetchmail-friends and 701 on fetchmail-announce.
1626 fetchmail-6.1.2 (Thu Oct 31 11:41:02 EST 2002), 22135 lines:
1628 * Jan Klaverstijn's verbosity-lowering patch.
1629 * Updated Turkish, German, Catalan, and Danish translation files.
1630 * Fix processing of POP3 messages with missing bodies.
1631 * Minor fixes by Sunil Shetye: fix generation of auth fail note, handle
1632 unexpected SIGALRM, plug memory leak, handle lines beginning with '\0',
1633 try to bulletproof error handling against read failures.
1635 There are 535 people on fetchmail-friends and 696 on fetchmail-announce.
1637 fetchmail-6.1.1 (Fri Oct 18 14:53:51 EDT 2002), 22087 lines:
1639 * OTP fix patches from Stanislav Brabec <utx@penguin.cz>
1640 * fix patch for writing antispam capability correctly in conf.c.
1641 * Fix patches for Debian bugs #162571, #156592.
1642 * Correction to manpage re -b and qmail.
1643 * Patch to disable use of STLS if auth passwd is specified.
1644 * Fix specfile generation to handle SSL correctly.
1645 * New Danish, Turkish, and Catalan translation files.
1646 * Improved ODMR debug messages.
1647 * IMAP efficiency hack; don't fetch sizes unless needed.
1648 * Detect and rewrite invalid return paths beginning with @.
1649 * Fix for subtle freeing bug that suppressed information in some bounce msgs.
1650 * Newline fix patches for internationalization files.
1651 * Fix reversed test guarding authentication-failure warnings.
1652 * Fix POP3 breakage starting at 5.9.14.
1654 There are 529 people on fetchmail-friends and 693 on fetchmail-announce.
1656 fetchmail-6.1.0 (Sun Sep 22 18:31:23 EDT 2002), 21999 lines:
1658 * Updated French translation.
1659 * Stefan Esser's fix for potential remote vulnerability in multidrop mode.
1660 This is an important security fix!
1662 There are 519 people on fetchmail-friends and 680 on fetchmail-announce.
1664 --------------------------------------------------------------------------------
1666 fetchmail-6.0.0 (Tue Sep 17 19:48:25 EDT 2002), 21972 lines:
1668 * Applied Matt Kraai's fix for minor Debian bug #144539.
1669 * Nerijus Baliunas's patch to support STARTTLS over IMAP.
1670 * More cleanups and minor bugfixes from Sunil Shetye.
1671 * Default antispam-response list is now empty.
1672 * Updated de and po translations.
1674 --------------------------------------------------------------------------------
1676 There are 520 people on fetchmail-friends and 683 on fetchmail-announce.
1678 --------------------------------------------------------------------------------
1680 vim:tw=80 com=bf\:* ts=8 sts=8 sw=8 ai: