aboutsummaryrefslogtreecommitdiffstats
path: root/rcfile_y.y
diff options
context:
space:
mode:
authorEric S. Raymond <esr@thyrsus.com>1997-10-02 03:06:13 +0000
committerEric S. Raymond <esr@thyrsus.com>1997-10-02 03:06:13 +0000
commitb5ce06b90ea4283596a70458d72b474bcc9d24da (patch)
tree3d258bde9cb3a95f2b0c8dcd08dd1bd242ce770a /rcfile_y.y
parent1fcf9c01862b261c150dd0c55519699fec23615c (diff)
downloadfetchmail-b5ce06b90ea4283596a70458d72b474bcc9d24da.tar.gz
fetchmail-b5ce06b90ea4283596a70458d72b474bcc9d24da.tar.bz2
fetchmail-b5ce06b90ea4283596a70458d72b474bcc9d24da.zip
Lica Olivetti's qvirtual option.
svn path=/trunk/; revision=1465
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 29a64b0e..69813a0e 100644
--- a/rcfile_y.y
+++ b/rcfile_y.y
@@ -56,7 +56,7 @@ extern char * yytext;
%token DEFAULTS POLL SKIP VIA AKA LOCALDOMAINS PROTOCOL
%token AUTHENTICATE TIMEOUT KPOP KERBEROS4
-%token ENVELOPE USERNAME PASSWORD FOLDER SMTPHOST MDA
+%token ENVELOPE QVIRTUAL USERNAME PASSWORD FOLDER SMTPHOST MDA
%token PRECONNECT POSTCONNECT LIMIT
%token IS HERE THERE TO MAP WILDCARD
%token BATCHLIMIT FETCHLIMIT EXPUNGE
@@ -130,6 +130,7 @@ serv_option : AKA alias_list
| AUTHENTICATE KERBEROS4 {current.server.preauthenticate = A_KERBEROS_V4;}
| TIMEOUT NUMBER {current.server.timeout = $2;}
| ENVELOPE STRING {current.server.envelope = xstrdup($2);}
+ | QVIRTUAL STRING {current.server.qvirtual = xstrdup($2);}
| INTERFACE STRING {
#ifdef linux
interface_parse($2, &current.server);
@@ -396,6 +397,7 @@ static void record_current(void)
FLAG_FORCE(server.preauthenticate);
FLAG_FORCE(server.timeout);
FLAG_FORCE(server.envelope);
+ FLAG_FORCE(server.qvirtual);
FLAG_FORCE(server.skip);
FLAG_FORCE(server.dns);
FLAG_FORCE(server.uidl);
@@ -452,6 +454,7 @@ void optmerge(struct query *h2, struct query *h1)
FLAG_MERGE(server.preauthenticate);
FLAG_MERGE(server.timeout);
FLAG_MERGE(server.envelope);
+ FLAG_MERGE(server.qvirtual);
FLAG_MERGE(server.skip);
FLAG_MERGE(server.dns);
FLAG_MERGE(server.uidl);