cd $(distdir) && find $(distdirs) po -name .git -type d -prune -exec rm -rf '{}' ';'
cd $(distdir) && find $(distdirs) po -name '*~' -exec rm -f '{}' ';'
-.PHONY: lsm
-lsm: genlsm.sh dist
- $(SHELL) genlsm.sh >$(PACKAGE)-$(VERSION).lsm
-
# this target expects a .rsyncs file with lines of this format:
# host:directory/
# it will call rsync from its source directory to the destination for
* The --bsmtp - mode of operation may be removed in a future release.
* Given that OpenSSL is severely underdocumented, and needs license exceptions,
fetchmail may switch to a different SSL library.
-
--------------------------------------------------------------------------------
fetchmail-7.0.0 (not yet released):
--------------------------------------------------------------------------------
-fetchmail-6.3.23 (not yet released)
+fetchmail-6.3.24 (released 2012-12-23, 26108 LoC):
# NOTE THAT THE RELEASE OF FUTURE FETCHMAIL 6.3.X VERSIONS IS UNCLEAR.
Should a 7.0 release be made earlier, chances are that the 6.3.X branch
is abandoned and its changes be folded into the 7.0 release, with changes
-after 6.3.22 not available on their own in a newer 6.3.X release.
+after 6.3.24 not available on their own in a newer 6.3.X release.
+
+# NOTE THAT FETCHMAIL IS NO LONGER PUBLISHED THROUGH IBIBLIO.
+ They have stopped accepting submissions and consider themselves an archive.
+
+# CRITICAL AND REGRESSION FIXES
+* Plug a memory leak in OpenSSL's certificate verification callback.
+ This would affect fetchmail configurations running with SSL in daemon mode
+ more than one-shot runs.
+ Reported by Erik Thiele, and pinned by Dominik Heeg,
+ fixes Debian Bug #688015.
+ This bug was introduced into fetchmail 6.3.0 (committed 2005-10-29)
+ when support for subjectAltName was added through a patch by Roland
+ Stigge, submitted as Debian Bug#201113.
+
+* The --logfile option now works again outside daemon mode, reported by Heinz
+ Diehl. The documentation that I had been reading was inconsistent with the
+ code, and only parts of the manual page claimed that --logfile was only
+ effective in daemon mode.
+
+# KNOWN BUGS AND WORKAROUNDS
+ (This section floats upwards through the NEWS file so it stays with the
+ current release information)
+* Fetchmail does not handle messages without Message-ID header well
+ (See sourceforge.net bug #780933)
+* BSMTP is mostly untested and errors can cause corrupt output.
+* Sun Workshop 6 (SPARC) is known to miscompile the configuration file lexer in
+ 64-bit mode. Either compile 32-bit code or use GCC to compile 64-bit
+ fetchmail. Note that fetchmail doesn't take advantage of 64-bit code,
+ so compiling 32-bit SPARC code should not cause any difficulties.
+* Fetchmail does not track pending deletes across crashes.
+* The command line interface is sometimes a bit stubborn, for instance,
+ fetchmail -s doesn't work with a daemon running.
+* Linux systems may return duplicates of an IP address in some circumstances if
+ no or no global IPv6 addresses are configured.
+ (No workaround. Ubuntu Bug#582585, Novell Bug#606980.)
+* Kerberos 5 may be broken, particularly on Heimdal, and provide bogus error
+ messages. This will not be fixed, because the maintainer has no Kerberos 5
+ server to test against. Use GSSAPI.
+
+
+fetchmail-6.3.23 (released 2012-12-10, 26106 LoC):
# REGRESSION FIXES
* Fix compilation with OpenSSL implementations before 0.9.8m that lack
* Clean up logfile vs. syslog handling, and in case logfile overrides
syslog, send a message to the latter stating where logging goes.
+# CHANGES
+* The build process can now be made a bit more silent and concise through
+ ./configure --enable-silent-rules, or by adding "V=0" to the make command.
+
+# WORKAROUNDS
+* Make Maillennium POP3 workarounds less specific, to encompass
+ Maillennium POP3/UNIBOX (Maillennium V05.00c++). Reported by Eddie
+ via fetchmail-users mailing list, 2012-10-13.
+
+# TRANSLATION UPDATES
+[cs] Czech, by Petr Pisar
+[da] Danish, by Joe Hansen
+[de] German
+[fr] French, Frédéric Marchal
+[ja] Japanese, Takeshi Hamasaki
+[pl] Polish, by Jakub Bogusz
+[sv] Swedish, by Göran Uddeborg
+[vi] Vietnamese, Trần Ngọc Quân
+
fetchmail-6.3.22 (released 2012-08-29, 26077 LoC):
* [vi] Vietnamese, by Trần Ngọc Quân
+
fetchmail-6.3.21 (released 2011-08-21, 26011 LoC):
# CRITICAL BUG FIX
log (and hexdump non-printing characters) raw socket data to a file. It proved
useful to debug Antoine's bug described above.
+
fetchmail-6.3.20 (released 2011-06-06, 26005 LoC):
# SECURITY BUG FIXES
- These would be done automatically by makerelease.pl:
- Upload sig and tarball to ~/public_html/fetchmail/
- Upload sig and tarball to ftp.berlios.de:/incoming/ and release
- - Upload lsm, sig and tarball to ibiblio.org:/incoming/linux/
- Update the fetchmail website for version, link to release nodes
(update release_id) and last update, commit, and upload.
dnl automake options are in Makefile.am
AC_PREREQ(2.64)
dnl 2.60 required for AC_USE_SYSTEM_EXTENSIONS
-AM_INIT_AUTOMAKE(silent-rules)
+AM_INIT_AUTOMAKE([silent-rules -Wall])
+AM_SILENT_RULES
dnl python is optional
#
])
fi])
-AC_CONFIG_FILES([Makefile po/Makefile.in genlsm.sh])
+AC_CONFIG_FILES([Makefile po/Makefile.in])
AC_OUTPUT
dnl Local Variables:
my $project = "fetchmail";
my $website = "http://developer.berlios.de/projects/$project";
my $mailfrom = "<$project-devel\@lists.berlios.de> (Fetchmail Development Team)";
-my $distsufx = '.tar.bz2';
+my $distsufx = '.tar.bz2';
+my $xzsufx = '.tar.xz';
# ---------------------------------------------------------------------
exit($_[1]);
}
+sub makerelnotes($$) {
+ my ($infile, $outfile) = @_;
+ open(F, "<$infile") or die "cannot read $infile: $!";
+ open(G, ">$outfile") or die "cannot write to $outfile: $!";
+ my $ctr = 0;
+ while(<F>) {
+ $ctr++ if /^fetchmail-/;
+ print G if $ctr == 1;
+ }
+ close F or die "cannot read $infile: $!";
+ close G or die "cannot write to $outfile: $!";
+}
+
GetOptions("diffs|d" => \$diffs, "verbose|v" => \$verbose, "help|h|?" => \$help)
or usage($0, 1);
print "### Test-building the software...\n";
if (system("cd autobuild && make -s clean"
- . " && make " . ($verbose ? '' : '-s') . " check distcheck lsm")) {
+ . " && make " . ($verbose ? '' : '-s') . " check distcheck")) {
die("Compilation failure\n");
}
print "### Signing tarballs...\n";
system("cd autobuild && gpg -ba --sign $project-$version$distsufx");
+system("cd autobuild && gpg -ba --sign $project-$version$xzsufx");
+
+print "### Extracting release notes...\n";
+makerelnotes('NEWS', 'autobuild/README');
print "### Uploading\n";
print "=== local\n";
-system("cp", "autobuild/$project-$version$distsufx", "autobuild/$project-$version$distsufx.asc", "$ENV{HOME}/public_html/fetchmail/") and die "Cannot upload to \$HOME/public_html/fetchmail/: $!";
-
-print "=== ibiblio\n";
-
-system("lftp -e \"lcd autobuild ; mput $project-$version$distsufx $project-$version$distsufx.asc $project-$version.lsm ; quit\" ibiblio.org:/incoming/linux/") and warn "Upload to ibiblio failed: $!";
+system("cp", "autobuild/$project-$version$xzsufx", "autobuild/$project-$version$xzsufx.asc", "$ENV{HOME}/public_html/fetchmail/") and die "Cannot upload to \$HOME/public_html/fetchmail/: $!";
print "=== berlios\n";
system("lftp -e \"lcd autobuild ; mput $project-$version$distsufx $project-$version$distsufx.asc ; quit\" ftp.berlios.de:/incoming/") and warn "Upload to berlios failed: $!";
-print "Done - please review final tasks\n";
+print "=== sourceforge \n";
+system("rsync -acvHP autobuild/$project-$version$xzsufx autobuild/$project-$version$xzsufx.asc autobuild/README m-a\@frs.sourceforge.net:/home/frs/project/fetchmail/branch_6.3/");
+unlink 'autobuild/README' or die "cannot unlink autobuild/README: $!";
+
+print "=== Done - please review final tasks\n";
system("cat RELEASE-INSTRUCTIONS");
return 0;
}
#endif
-
int main(int argc, char **argv)
{
int bkgd = FALSE;
#define IDFILE_NAME ".fetchids"
run.idfile = prependdir (IDFILE_NAME, fmhome);
-
outlevel = O_NORMAL;
/*
if (run.logfile) {
/* nodetach -> turn off logfile option */
if (nodetach) {
- if (outlevel >= O_DEBUG) { fprintf(stderr, GT_("The nodetach option is in effect, ignoring logfile option.\n")); }
+ if (outlevel >= O_NORMAL) { fprintf(stderr, GT_("The nodetach option is in effect, ignoring logfile option.\n")); }
xfree(run.logfile);
}
+#if 0
/* not in daemon mode -> turn off logfile option */
if (0 == run.poll_interval) {
- if (outlevel >= O_DEBUG) { fprintf(stderr, GT_("Not running in daemon mode, ignoring logfile option.\n")); }
+ if (outlevel >= O_NORMAL) { fprintf(stderr, GT_("Not running in daemon mode, ignoring logfile option.\n")); }
xfree(run.logfile);
}
+#endif
/* log file not writable -> turn off logfile option */
if (run.logfile && 0 != access(run.logfile, F_OK)) {
- if (outlevel >= O_DEBUG) { fprintf(stderr, GT_("Logfile \"%s\" does not exist, ignoring logfile option.\n"), run.logfile); }
+ if (outlevel >= O_NORMAL) { fprintf(stderr, GT_("Logfile \"%s\" does not exist, ignoring logfile option.\n"), run.logfile); }
xfree(run.logfile);
}
/* log file not writable -> turn off logfile option */
if (run.logfile && 0 != access(run.logfile, W_OK)) {
- if (outlevel >= O_DEBUG) { fprintf(stderr, GT_("Logfile \"%s\" is not writable, aborting.\n"), run.logfile); }
+ fprintf(stderr, GT_("Logfile \"%s\" is not writable, aborting.\n"), run.logfile);
xfree(run.logfile);
exit(PS_UNDEFINED);
}
pwm = NULL;
}
#endif
-
/* close connections cleanly */
terminate_poll(0);
fprintf(stderr,GT_("Warning: multiple mentions of host %s in config file\n"),argv[optind]);
ctl->active = TRUE;
predeclared = TRUE;
-
#ifdef HAVE_LIBPWMD
if (ctl->pwmd_file) {
/*
* call later on.
*/
ctl = hostalloc((struct query *)NULL);
-
#ifdef HAVE_LIBPWMD
if (cmd_opts.pwmd_file) {
/*
if (!ctl->localnames) /* for local delivery via SMTP */
save_str_pair(&ctl->localnames, user, NULL);
+
/*
* can't handle multidrop mailboxes without "envelope"
* option, this causes truckloads full of support complaints
if (ctl->password)
memset(ctl->password, '\0', strlen(ctl->password));
+
if (activecount == 0)
exit(PS_NOMAIL);
else
printf("\t%s\n", rec->id);
return 0;
}
-
static void dump_params (struct runctl *runp,
struct query *querylist, flag implicit)
/* display query parameters in English */
printf(GT_(" No UIDs saved from this host.\n"));
else
{
+
printf(GT_(" %d UIDs saved.\n"), count);
traverse_uid_db(&ctl->oldsaved, print_id_of, NULL);
}
.sp
.nf
auto (or AUTO) (legacy, to be removed from future release)
-
pop3 (or POP3)
sdps (or SDPS) (a POP3 variant specific to Demon)
kpop (or KPOP) (a Kerberos-based variant)
-
imap (or IMAP)
.fi
.sp
+++ /dev/null
-#! /bin/sh
-# @configure_input@
-
-# WARNING:
-# WARNING: If you change the description, also change specgen.sh!
-# WARNING:
-
-cat <<EOF
-Begin4
-Title: @PACKAGE@
-Version: @VERSION@
-Entered-date: `date -u +%Y-%m-%d`
-Description: Fetchmail is a free, full-featured, robust, and well-documented
- remote mail retrieval and forwarding utility intended to be used
- over on-demand TCP/IP links (such as SLIP or PPP connections).
- It retrieves mail from remote mail servers and forwards it
- to your local (client) machine's delivery system, so it can
- then be be read by normal mail user agents such as mutt, elm,
- pine, (x)emacs/gnus, or mailx. Comes with an interactive GUI
- configurator (in Python/Tk) suitable for end-users.
-Keywords: mail, client, POP3, APOP, KPOP, IMAP, ETRN, ODMR, SMTP, ESMTP, GSSAPI, RPA, NTLM, CRAM-MD5, SASL
-Author: matthias.andree@gmx.de (Matthias Andree)
- shetye@bombay.retortsoft.com (Sunil Shetye)
-Maintained-by: fetchmail-devel@lists.berlios.de
-Primary-site: http://developer.berlios.de/projects/fetchmail
- `ls -sk @PACKAGE@-@VERSION@.tar.bz2 | \
- @AWK@ '{ printf "%4dkB", $1 }'` @PACKAGE@-@VERSION@.tar.bz2
- 1kB @PACKAGE@-@VERSION@.tar.bz2.asc
-Platforms: All
-Copying-policy: GPL
-End
-EOF
*
* Matthias Andree
*/
- if (peek_capable && strstr(greeting, "Maillennium POP3/PROXY server")) {
+ if (peek_capable && strstr(greeting, "Maillennium POP3")) {
if ((ctl->server.workarounds & WKA_TOP) == 0) {
- report(stdout, GT_("Warning: \"Maillennium POP3/PROXY server\" found, using RETR command instead of TOP.\n"));
+ report(stdout, GT_("Warning: \"Maillennium POP3\" found, using RETR command instead of TOP.\n"));
ctl->server.workarounds |= WKA_TOP;
}
peek_capable = 0;
}
}
}
- sk_GENERAL_NAME_free(gens);
+ GENERAL_NAMES_free(gens);
}
if (name_match(p1, p2)) {
matched = 1;
#!/bin/sh
-# WARNING:
-# WARNING: If you change the description, also change genlsm.sh.in!
-# WARNING:
version="$1"
set -e
<table width="100%" cellpadding="0" summary="Canned page header">
<tr>
<td>Fetchmail</td>
-<td align="right"><!-- update date -->2012-08-29</td>
+<td align="right"><!-- update date -->2012-12-23</td>
</tr>
</table>
</div>
<h1>Fetchmail</h1>
<div style="background-color:#c0ffc0;color:#000000;">
- <h1>NEWS: FETCHMAIL 6.3.22 RELEASE</h1>
- <p>On 2012-08-29, <a
- href="http://developer.berlios.de/project/showfiles.php?group_id=1824&release_id=19117">fetchmail-6.3.22
+ <h1>NEWS: FETCHMAIL 6.3.24 RELEASE</h1>
+ <p>On 2012-12-23, <a
+ href="http://developer.berlios.de/project/showfiles.php?group_id=1824&release_id=19227">fetchmail-6.3.24
has been released (this is the download link),</a> fixing a
- denial-of service in STARTTLS and makes --keep configurations log
- less verbosely.
- <br>It is a recommended <strong>security update</strong> for all users and
- distributors. <a
- href="http://developer.berlios.de/project/shownotes.php?group_id=1824&release_id=19117">Click
- here to see the change details.</a>
+ minor regression and a memory leak.
+ <br>It is a recommended update for all users and distributors. <a
+ href="http://developer.berlios.de/project/shownotes.php?group_id=1824&release_id=19227">Click
+ here to see the change details.</a> Note that 6.3.22 fixed
+ security bugs, and is the oldest version that should be used.
</p>
<h1>SSL issues after upgrade to OpenSSL 1.0.0?</h1>