diff options
author | Eric S. Raymond <esr@thyrsus.com> | 1998-07-20 06:19:22 +0000 |
---|---|---|
committer | Eric S. Raymond <esr@thyrsus.com> | 1998-07-20 06:19:22 +0000 |
commit | a4c3040559e99af016af82c97a3b7598a7a19e5a (patch) | |
tree | 5fdf8080f9c3d5405a6765ae94b95e9a702692c8 /rcfile_y.y | |
parent | 710de604fb09fdad36b04817c86e5dc9d09fdf95 (diff) | |
download | fetchmail-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.y | 8 |
1 files changed, 3 insertions, 5 deletions
@@ -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;} |