aboutsummaryrefslogtreecommitdiffstats
path: root/rcfile_y.y
diff options
context:
space:
mode:
authorMatthias Andree <matthias.andree@gmx.de>2010-02-24 01:54:22 +0100
committerMatthias Andree <matthias.andree@gmx.de>2010-02-24 01:54:22 +0100
commitc1cf83738a260121cf7dcc007af8709d0bc15419 (patch)
tree65b087c9056013f75192a81ce573ebb7014c3321 /rcfile_y.y
parent1c10c414e45ccedc8999f7dd95889fce6f6890ff (diff)
downloadfetchmail-c1cf83738a260121cf7dcc007af8709d0bc15419.tar.gz
fetchmail-c1cf83738a260121cf7dcc007af8709d0bc15419.tar.bz2
fetchmail-c1cf83738a260121cf7dcc007af8709d0bc15419.zip
Feature: bad-header {reject|pass}
Diffstat (limited to 'rcfile_y.y')
-rw-r--r--rcfile_y.y3
1 files changed, 3 insertions, 0 deletions
diff --git a/rcfile_y.y b/rcfile_y.y
index e57973b6..b5765d77 100644
--- a/rcfile_y.y
+++ b/rcfile_y.y
@@ -70,6 +70,7 @@ extern char * yytext;
%token BATCHLIMIT FETCHLIMIT FETCHSIZELIMIT FASTUIDL EXPUNGE PROPERTIES
%token SET LOGFILE DAEMON SYSLOG IDFILE PIDFILE INVISIBLE POSTMASTER BOUNCEMAIL
%token SPAMBOUNCE SOFTBOUNCE SHOWDOTS
+%token BADHEADER PASS REJECT_
%token <proto> PROTO AUTHTYPE
%token <sval> STRING
%token <number> NUMBER
@@ -231,6 +232,8 @@ serv_option : AKA alias_list
| NO ENVELOPE {current.server.envelope = STRING_DISABLED;}
| TRACEPOLLS {current.server.tracepolls = FLAG_TRUE;}
| NO TRACEPOLLS {current.server.tracepolls = FLAG_FALSE;}
+ | BADHEADER PASS {current.server.badheader = BHPASS;}
+ | BADHEADER REJECT_ {current.server.badheader = BHREJECT;}
;
userspecs : user1opts {record_current(); user_reset();}