aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--fetchmail.man6
-rw-r--r--options.c1
2 files changed, 7 insertions, 0 deletions
diff --git a/fetchmail.man b/fetchmail.man
index 7e78b80f..1373840b 100644
--- a/fetchmail.man
+++ b/fetchmail.man
@@ -319,6 +319,12 @@ The
.B \-N
or --nodetach option suppresses detachment of the daemon process
from its control terminal. This is primarily useful for debugging.
+.PP
+Note that running fetchmail in daemon mode forces the --fetchall option on.
+This is a robustness feature. It means that if a message is fetched
+(and thus marked seen by the mailserver) but not delivered locally
+due to some transient error, it will be re-fetched during the next
+poll cycle.
.SH RETRIEVAL FAILURE MODES
The protocols \fIfetchmail\fR uses to talk to mailservers are next to
bulletproof. In normal operation forwarding to port 25, no message is
diff --git a/options.c b/options.c
index 31ca26eb..feb6ea7d 100644
--- a/options.c
+++ b/options.c
@@ -126,6 +126,7 @@ struct query *ctl; /* option record to be initialized */
case 'd':
case LA_DAEMON:
poll_interval = atoi(optarg);
+ ctl->fetchall = TRUE;
break;
case 'N':
case LA_NODETACH: