aboutsummaryrefslogtreecommitdiffstats
path: root/rcfile_y.y
diff options
context:
space:
mode:
authorEric S. Raymond <esr@thyrsus.com>1998-07-20 06:19:22 +0000
committerEric S. Raymond <esr@thyrsus.com>1998-07-20 06:19:22 +0000
commita4c3040559e99af016af82c97a3b7598a7a19e5a (patch)
tree5fdf8080f9c3d5405a6765ae94b95e9a702692c8 /rcfile_y.y
parent710de604fb09fdad36b04817c86e5dc9d09fdf95 (diff)
downloadfetchmail-a4c3040559e99af016af82c97a3b7598a7a19e5a.tar.gz
fetchmail-a4c3040559e99af016af82c97a3b7598a7a19e5a.tar.bz2
fetchmail-a4c3040559e99af016af82c97a3b7598a7a19e5a.zip
Added postmaster option.
svn path=/trunk/; revision=1986
Diffstat (limited to 'rcfile_y.y')
-rw-r--r--rcfile_y.y8
1 files changed, 3 insertions, 5 deletions
diff --git a/rcfile_y.y b/rcfile_y.y
index f3af36f8..d6930b2a 100644
--- a/rcfile_y.y
+++ b/rcfile_y.y
@@ -33,10 +33,6 @@ char *rcfile; /* path name of rc file */
struct query cmd_opts; /* where to put command-line info */
/* parser sets these */
-int poll_interval; /* poll interval in seconds */
-char *logfile; /* log file for daemon mode */
-flag errors_to_syslog; /* if syslog was set */
-flag use_invisible; /* if invisible was set */
struct query *querylist; /* head of server list (globally visible) */
int yydebug; /* in case we didn't generate with -- debug */
@@ -65,9 +61,10 @@ extern char * yytext;
%token AUTHENTICATE TIMEOUT KPOP KERBEROS4 KERBEROS5 KERBEROS
%token ENVELOPE QVIRTUAL USERNAME PASSWORD FOLDER SMTPHOST MDA SMTPADDRESS
%token SPAMRESPONSE PRECONNECT POSTCONNECT LIMIT
+%token NETSEC INTERFACE MONITOR
%token IS HERE THERE TO MAP WILDCARD
%token BATCHLIMIT FETCHLIMIT EXPUNGE
-%token SET LOGFILE DAEMON SYSLOG IDFILE INVISIBLE NETSEC INTERFACE MONITOR
+%token SET LOGFILE DAEMON SYSLOG IDFILE INVISIBLE POSTMASTER
%token <proto> PROTO
%token <sval> STRING
%token <number> NUMBER
@@ -90,6 +87,7 @@ optmap : MAP | /* EMPTY */;
statement : SET LOGFILE optmap STRING {run.logfile = xstrdup($4);}
| SET IDFILE optmap STRING {run.idfile = xstrdup($4);}
| SET DAEMON optmap NUMBER {run.poll_interval = $4;}
+ | SET POSTMASTER optmap STRING {run.postmaster = xstrdup($4);}
| SET SYSLOG {run.use_syslog = TRUE;}
| SET INVISIBLE {run.invisible = TRUE;}