Release Notes:
+fetchmail-5.0.6 ():
+* Czech internationalization support (thanks to Jiri Pavlovsky).
+* Russion internationalization support (but I couldn't read the contributor
+ name in the headers!)
+* Update of the French internationalization support by Guy Brand.
+* Fix for the `nokeep' problem by Robert de Bath.
+* Interface option fix from Bill Currie.
+
+There are 267 people on fetchmail-friends and 420 on fetchmail-announce.
+
fetchmail-5.0.5 (Sat Jun 26 14:41:27 EDT 1999):
* Merged in official OpenBSD port patches.
* Added Spanish and German descriptions to spec (thanks to Horst von Brand).
# Arnaldo Carvalho de Melo <acme@conectiva.com.br>
# Sat Nov 7 15:39:03 EDT 1998
-ALL_LINGUAS="pt_BR es pl fr"
+ALL_LINGUAS="cs es fr pl pt_BR ru"
AM_GNU_GETTEXT
<table width="100%" cellpadding=0><tr>
<td width="30%">Back to <a href="index.html">Fetchmail Home Page</a>
<td width="30%" align=center>To <a href="/~esr/sitemap.html">Site Map</a>
-<td width="30%" align=right>$Date: 1999/06/26 20:18:19 $
+<td width="30%" align=right>$Date: 1999/07/31 20:44:54 $
</table>
<HR>
<H1>Frequently Asked Questions About Fetchmail</H1>
accomplish this. Thank James Laferriere <babydr@nwrain.net> for
it.<p>
+Some people start up and shut down fetchmail using the ppp-up and
+ppp-down scripts of pppd.<p>
+
<hr>
<h2><a name="C3">C3. How do I know what interface and address to use with --interface?</a></h2>
fault of our own, and someone informs us of their location, we can
provide the URL pointing to archive sites outside of the U.S.<P>
-Newer versions of the SSL patches make appear in the `incoming' directory
+Newer versions of the SSL patches make appear in the `new' directory
and stay there a while until they can be processed and moved to the SSL
-directory. Check for patches in `incoming' if you do not find patches
+directory. Check for patches in `new' if you do not find patches
for the latest fetchmail release.<P>
<hr>
<table width="100%" cellpadding=0><tr>
<td width="30%">Back to <a href="index.html">Fetchmail Home Page</a>
<td width="30%" align=center>To <a href="/~esr/sitemap.html">Site Map</a>
-<td width="30%" align=right>$Date: 1999/06/26 20:18:19 $
+<td width="30%" align=right>$Date: 1999/07/31 20:44:54 $
</table>
<P><ADDRESS>Eric S. Raymond <A HREF="mailto:esr@thyrsus.com"><esr@snark.thyrsus.com></A></ADDRESS>
#include "fetchmail.h"
#include "tunable.h"
#include "smtp.h"
-#include "getopt.h"
#include "netrc.h"
#include "i18n.h"
}
#endif
-int main (int argc, char **argv)
+int main(int argc, char **argv)
{
int st, bkgd = FALSE;
int parsestatus, implicitmode = FALSE;
#include "config.h"
#include "fetchmail.h"
#include "i18n.h"
+#include "tunable.h"
typedef struct {
struct in_addr addr, dstaddr, netmask;
#if defined(linux)
+/*
+ * Count of packets to see on an interface before monitor considers it up.
+ * Needed because when pppd shuts down the link, the packet counts go up
+ * by two (one rx and one tx?, maybe). A value of 2 seems to do the trick.
+ */
+#define MONITOR_SLOP 2
+
void interface_init(void)
/* figure out which /proc/dev/net format to use */
{
if (major >= 2 && minor >= 2)
/* Linux 2.2 -- transmit packet count in 10th field */
- netdevfmt = "%d %d %*d %*d %*d %d %*d %*d %*d %*d %d %*d %d";
+ netdevfmt = "%d %d %*d %*d %*d %d %*d %*d %*d %d %*d %*d %d";
}
}
#endif
/* if monitoring, check link for activity if it is up */
if (get_ifinfo(hp->monitor, &ifinfo) &&
- hp->monitor_io == ifinfo.rx_packets +
- ifinfo.tx_packets) {
+ hp->monitor_io - (ifinfo.rx_packets +
+ ifinfo.tx_packets) >= -MONITOR_SLOP) {
(void) report(stdout,
_("skipping poll of %s, %s inactive\n"),
hp->pollname, hp->monitor);
}
#ifdef ACTIVITY_DEBUG
- error(0, 0, _("activity on %s was %d, is %d"),
+ report(stdout _("activity on %s was %d, is %d"),
hp->monitor, hp->monitor_io,
ifinfo.rx_packets + ifinfo.tx_packets);
#endif
= { return MAP; }
"*" { return WILDCARD; }
-no/[a-z \t].* { return NO;}
+nobouncemail |
+nouidl |
+nocheckalias |
+nodns |
+noenvelope |
+nokeep |
+noflush |
+nofetchall |
+norewrite |
+noforcecr |
+nostripcr |
+nopass8(bits)? |
+nodropstatus |
+nomimedec(ode)? {
+ yyless(2);
+ return NO;
+ }
+
+no {return NO;}
keep { return KEEP; }
flush { return FLUSH; }
forcecr { return FORCECR; }
stripcr { return STRIPCR; }
pass8(bits)? { return PASS8BITS; }
-dropstatus? { return DROPSTATUS; }
+dropstatus { return DROPSTATUS; }
mimedec(ode)? { return MIMEDECODE; }
dns { return DNS; }
uidl { return UIDL; }