aboutsummaryrefslogtreecommitdiffstats
path: root/options.c
diff options
context:
space:
mode:
authorEric S. Raymond <esr@thyrsus.com>1996-11-04 05:36:04 +0000
committerEric S. Raymond <esr@thyrsus.com>1996-11-04 05:36:04 +0000
commit524a6e71a397f24e39afb42aa87c18277e6eddb0 (patch)
treed37dbe7ba5b3fa4381ebf7b992c963a394b67dfd /options.c
parent3b9d70b08e7309ff294e20e2d2be617a9a182bc6 (diff)
downloadfetchmail-524a6e71a397f24e39afb42aa87c18277e6eddb0.tar.gz
fetchmail-524a6e71a397f24e39afb42aa87c18277e6eddb0.tar.bz2
fetchmail-524a6e71a397f24e39afb42aa87c18277e6eddb0.zip
Running fetchmail in daemon mode now 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. svn path=/trunk/; revision=471
Diffstat (limited to 'options.c')
-rw-r--r--options.c1
1 files changed, 1 insertions, 0 deletions
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: