aboutsummaryrefslogtreecommitdiffstats
path: root/rcfile_y.y
diff options
context:
space:
mode:
authorMatthias Andree <matthias.andree@gmx.de>2009-05-24 14:45:17 +0000
committerMatthias Andree <matthias.andree@gmx.de>2009-05-24 14:45:17 +0000
commit570e3ef1831cdb13a1baf846029ffa1cb7ec1b79 (patch)
treedd13bcd23351a7ac931457b9535a2b670dc9dda8 /rcfile_y.y
parentc74e0b613d3d4782a7ad34af1f9e14ebb3776e1b (diff)
downloadfetchmail-570e3ef1831cdb13a1baf846029ffa1cb7ec1b79.tar.gz
fetchmail-570e3ef1831cdb13a1baf846029ffa1cb7ec1b79.tar.bz2
fetchmail-570e3ef1831cdb13a1baf846029ffa1cb7ec1b79.zip
Treat permanent delivery errors as temporary (configurable).
Fetchmail no longer drops permanently undelivered messages by default, to match historic documentation. It does this by adding a new "softbounce" option, see below. Fixes Debian Bug#471283, demotes Debian Bug#494418 to wishlist. There is a new "softbounce" global option that prevents the deletion of messages that have not been forwarded. It defaults to "true" for fetchmail 6.3.X in order to match historic documentation. This may change its default in the next major release. NOTE: untested. svn path=/branches/BRANCH_6-3/; revision=5315
Diffstat (limited to 'rcfile_y.y')
-rw-r--r--rcfile_y.y4
1 files changed, 3 insertions, 1 deletions
diff --git a/rcfile_y.y b/rcfile_y.y
index cb9a262f..c28c6b42 100644
--- a/rcfile_y.y
+++ b/rcfile_y.y
@@ -69,7 +69,7 @@ extern char * yytext;
%token IS HERE THERE TO MAP WILDCARD
%token BATCHLIMIT FETCHLIMIT FETCHSIZELIMIT FASTUIDL EXPUNGE PROPERTIES
%token SET LOGFILE DAEMON SYSLOG IDFILE PIDFILE INVISIBLE POSTMASTER BOUNCEMAIL
-%token SPAMBOUNCE SHOWDOTS
+%token SPAMBOUNCE SOFTBOUNCE SHOWDOTS
%token <proto> PROTO AUTHTYPE
%token <sval> STRING
%token <number> NUMBER
@@ -102,6 +102,8 @@ statement : SET LOGFILE optmap STRING {run.logfile = prependdir ($4, rcfiledir);
| SET NO BOUNCEMAIL {run.bouncemail = FALSE;}
| SET SPAMBOUNCE {run.spambounce = TRUE;}
| SET NO SPAMBOUNCE {run.spambounce = FALSE;}
+ | SET SOFTBOUNCE {run.softbounce = TRUE;}
+ | SET NO SOFTBOUNCE {run.softbounce = FALSE;}
| SET PROPERTIES optmap STRING {run.properties =xstrdup($4);}
| SET SYSLOG {run.use_syslog = TRUE;}
| SET NO SYSLOG {run.use_syslog = FALSE;}