aboutsummaryrefslogtreecommitdiffstats
path: root/rcfile_y.y
diff options
context:
space:
mode:
Diffstat (limited to 'rcfile_y.y')
-rw-r--r--rcfile_y.y3
1 files changed, 2 insertions, 1 deletions
diff --git a/rcfile_y.y b/rcfile_y.y
index 11bd6419..8b8cbc82 100644
--- a/rcfile_y.y
+++ b/rcfile_y.y
@@ -49,7 +49,7 @@ extern char * yytext;
%token AUTHENTICATE TIMEOUT KPOP KERBEROS4
%token ENVELOPE USERNAME PASSWORD FOLDER SMTPHOST MDA PRECONNECT LIMIT
%token IS HERE THERE TO MAP WILDCARD
-%token SET BATCHLIMIT FETCHLIMIT LOGFILE DAEMON INTERFACE MONITOR
+%token SET BATCHLIMIT FETCHLIMIT LOGFILE DAEMON SYSLOG INTERFACE MONITOR
%token <proto> PROTO
%token <sval> STRING
%token <number> NUMBER
@@ -68,6 +68,7 @@ statement_list : statement
/* future global options should also have the form SET <name> <value> */
statement : SET LOGFILE MAP STRING {logfile = xstrdup($4);}
| SET DAEMON NUMBER {poll_interval = $3;}
+ | SET SYSLOG {use_syslog = TRUE;}
/*
* The way the next two productions are written depends on the fact that