From 4ee8d22351243e9a79bb40f181786e5650abae47 Mon Sep 17 00:00:00 2001 From: "Eric S. Raymond" Date: Mon, 2 Nov 1998 16:25:09 +0000 Subject: Added plugin/plugout option. svn path=/trunk/; revision=2168 --- rcfile_y.y | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'rcfile_y.y') 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;} -- cgit v1.2.3