aboutsummaryrefslogtreecommitdiffstats
path: root/rcfile_y.y
diff options
context:
space:
mode:
authorEric S. Raymond <esr@thyrsus.com>1997-08-04 04:10:40 +0000
committerEric S. Raymond <esr@thyrsus.com>1997-08-04 04:10:40 +0000
commit4fe1884292376b223d3dee76b194a47e90323541 (patch)
treeb47d68765ace204afe94e2fa14576ba6bb42566b /rcfile_y.y
parentdcb63c343a411c59257407b07f08c2210e236c80 (diff)
downloadfetchmail-4fe1884292376b223d3dee76b194a47e90323541.tar.gz
fetchmail-4fe1884292376b223d3dee76b194a47e90323541.tar.bz2
fetchmail-4fe1884292376b223d3dee76b194a47e90323541.zip
Added `postconnect'.
svn path=/trunk/; revision=1226
Diffstat (limited to 'rcfile_y.y')
-rw-r--r--rcfile_y.y5
1 files changed, 4 insertions, 1 deletions
diff --git a/rcfile_y.y b/rcfile_y.y
index 058d4e69..da9bb9eb 100644
--- a/rcfile_y.y
+++ b/rcfile_y.y
@@ -56,7 +56,8 @@ extern char * yytext;
%token DEFAULTS POLL SKIP VIA AKA LOCALDOMAINS PROTOCOL
%token AUTHENTICATE TIMEOUT KPOP KERBEROS4
-%token ENVELOPE USERNAME PASSWORD FOLDER SMTPHOST MDA PRECONNECT LIMIT
+%token ENVELOPE USERNAME PASSWORD FOLDER SMTPHOST MDA
+%token PRECONNECT POSTCONNECT LIMIT
%token IS HERE THERE TO MAP WILDCARD
%token SET BATCHLIMIT FETCHLIMIT LOGFILE DAEMON SYSLOG INTERFACE MONITOR
%token <proto> PROTO
@@ -219,6 +220,7 @@ user_option : TO localnames HERE
| SMTPHOST smtp_list
| MDA STRING {current.mda = xstrdup($2);}
| PRECONNECT STRING {current.preconnect = xstrdup($2);}
+ | POSTCONNECT STRING {current.postconnect = xstrdup($2);}
| KEEP {current.keep = FLAG_TRUE;}
| FLUSH {current.flush = FLAG_TRUE;}
@@ -426,6 +428,7 @@ static void record_current(void)
save_str(&current.smtphunt, -1, cmd_opts.smtphunt->id);
FLAG_FORCE(mda);
FLAG_FORCE(preconnect);
+ FLAG_FORCE(postconnect);
FLAG_FORCE(keep);
FLAG_FORCE(flush);