aboutsummaryrefslogtreecommitdiffstats
path: root/rcfile_y.y
diff options
context:
space:
mode:
authorEric S. Raymond <esr@thyrsus.com>1998-11-02 16:25:09 +0000
committerEric S. Raymond <esr@thyrsus.com>1998-11-02 16:25:09 +0000
commit4ee8d22351243e9a79bb40f181786e5650abae47 (patch)
treefdea4ac21bbe7f5c248a6085645069994c64621e /rcfile_y.y
parente98f220bcfa290b355c724b62b4c8c3c15da8e9c (diff)
downloadfetchmail-4ee8d22351243e9a79bb40f181786e5650abae47.tar.gz
fetchmail-4ee8d22351243e9a79bb40f181786e5650abae47.tar.bz2
fetchmail-4ee8d22351243e9a79bb40f181786e5650abae47.zip
Added plugin/plugout option.
svn path=/trunk/; revision=2168
Diffstat (limited to 'rcfile_y.y')
-rw-r--r--rcfile_y.y4
1 files changed, 3 insertions, 1 deletions
diff --git a/rcfile_y.y b/rcfile_y.y
index 044cf0c3..12851030 100644
--- a/rcfile_y.y
+++ b/rcfile_y.y
@@ -61,7 +61,7 @@ extern char * yytext;
%token AUTHENTICATE TIMEOUT KPOP SDPS KERBEROS4 KERBEROS5 KERBEROS
%token ENVELOPE QVIRTUAL USERNAME PASSWORD FOLDER SMTPHOST MDA BSMTP
%token SMTPADDRESS SPAMRESPONSE PRECONNECT POSTCONNECT LIMIT
-%token NETSEC INTERFACE MONITOR
+%token NETSEC INTERFACE MONITOR PLUGIN PLUGOUT
%token IS HERE THERE TO MAP WILDCARD
%token BATCHLIMIT FETCHLIMIT EXPUNGE PROPERTIES
%token SET LOGFILE DAEMON SYSLOG IDFILE INVISIBLE POSTMASTER WARNINGS
@@ -219,6 +219,8 @@ serv_option : AKA alias_list
fprintf(stderr, "fetchmail: monitor option is only supported under Linux\n");
#endif /* defined(linux) && !defined(INET6) */
}
+ | PLUGIN STRING { current.server.plugin = xstrdup($2); }
+ | PLUGOUT STRING { current.server.plugout = xstrdup($2); }
| DNS {current.server.dns = FLAG_TRUE;}
| NO DNS {current.server.dns = FLAG_FALSE;}
| NO ENVELOPE {current.server.envelope = STRING_DISABLED;}