aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorEric S. Raymond <esr@thyrsus.com>1999-05-16 16:28:14 +0000
committerEric S. Raymond <esr@thyrsus.com>1999-05-16 16:28:14 +0000
commitc0d9eb8c98ae5032cb7feecece58bdd13bdb7cfa (patch)
tree42eecc01589a8b9a0df2380abc44b06ef3863afb
parentaf3795ec802dfcc7760b6a8ca0317b9e3ad2aa48 (diff)
downloadfetchmail-c0d9eb8c98ae5032cb7feecece58bdd13bdb7cfa.tar.gz
fetchmail-c0d9eb8c98ae5032cb7feecece58bdd13bdb7cfa.tar.bz2
fetchmail-c0d9eb8c98ae5032cb7feecece58bdd13bdb7cfa.zip
There is now a documented return code 13 for termination on fetchlimit.
svn path=/trunk/; revision=2476
-rw-r--r--NEWS3
-rw-r--r--fetchmail.h2
-rw-r--r--fetchmail.man2
3 files changed, 5 insertions, 2 deletions
diff --git a/NEWS b/NEWS
index 7c7225da..1875a41b 100644
--- a/NEWS
+++ b/NEWS
@@ -11,7 +11,8 @@
fetchmail-5.1.0 ():
* Fixed compilation error on systems without vnsprintf.
* No more GIFs! RPM is now patent-encumbrance-free.
-* Fix yet nother annoying qmail \n bug (thanks to Paul Gilmore).
+* Fix yet another annoying qmail \n bug (thanks to Paul Gilmore).
+* There is now a documented return code 13 for termination on fetchlimit.
There are 260 people on fetchmail-friends and 387 on fetchmail-announce.
diff --git a/fetchmail.h b/fetchmail.h
index 0c0118e7..9ff6d899 100644
--- a/fetchmail.h
+++ b/fetchmail.h
@@ -68,13 +68,13 @@
#define PS_SMTP 10 /* SMTP error */
#define PS_DNS 11 /* fatal DNS error */
#define PS_BSMTP 12 /* output batch could not be opened */
+#define PS_MAXFETCH 13 /* poll ended by fetch limit */
/* leave space for more codes */
#define PS_UNDEFINED 23 /* something I hadn't thought of */
#define PS_TRANSIENT 24 /* transient failure (internal use) */
#define PS_REFUSED 25 /* mail refused (internal use) */
#define PS_RETAINED 26 /* message retained (internal use) */
#define PS_TRUNCATED 27 /* headers incomplete (internal use) */
-#define PS_MAXFETCH 28 /* poll ended by fetch limit */
/* output noise level */
#define O_SILENT 0 /* mute, max squelch, etc. */
diff --git a/fetchmail.man b/fetchmail.man
index 2e860624..ce5f4ef8 100644
--- a/fetchmail.man
+++ b/fetchmail.man
@@ -1717,6 +1717,8 @@ Fatal DNS error. Fetchmail encountered an error while performing
a DNS lookup at startup and could not proceed.
.IP 12
BSMTP batch file could not be opened.
+.IP 13
+Poll terminated by a fetch limit (see the --fetchlimit option).
.IP 23
Internal error. You should see a message on standard error with
details.