From c1cf83738a260121cf7dcc007af8709d0bc15419 Mon Sep 17 00:00:00 2001 From: Matthias Andree Date: Wed, 24 Feb 2010 01:54:22 +0100 Subject: Feature: bad-header {reject|pass} --- rcfile_y.y | 3 +++ 1 file changed, 3 insertions(+) (limited to 'rcfile_y.y') 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 AUTHTYPE %token STRING %token 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();} -- cgit v1.2.3