aboutsummaryrefslogtreecommitdiffstats
path: root/rcfile_y.y
diff options
context:
space:
mode:
authorEric S. Raymond <esr@thyrsus.com>2002-03-10 19:59:59 +0000
committerEric S. Raymond <esr@thyrsus.com>2002-03-10 19:59:59 +0000
commita016460027f89e7c81106a0560d1d495f727c182 (patch)
tree0daf10c7b95f73d7ed3f3330f11f35a00cc96c78 /rcfile_y.y
parent7c33daaf6fd2bd4342903ad5ce025b5ab6bc89bd (diff)
downloadfetchmail-a016460027f89e7c81106a0560d1d495f727c182.tar.gz
fetchmail-a016460027f89e7c81106a0560d1d495f727c182.tar.bz2
fetchmail-a016460027f89e7c81106a0560d1d495f727c182.zip
Expose the ESMTP name and password options.
svn path=/trunk/; revision=3596
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 7701d2c4..a85a7fa0 100644
--- a/rcfile_y.y
+++ b/rcfile_y.y
@@ -74,7 +74,7 @@ extern char * yytext;
%token DROPSTATUS DROPDELIVERED
%token DNS SERVICE PORT UIDL INTERVAL MIMEDECODE IDLE CHECKALIAS
%token SSL SSLKEY SSLCERT SSLPROTO SSLCERTCK SSLCERTPATH SSLFINGERPRINT
-%token PRINCIPAL
+%token PRINCIPAL ESMTPNAME ESMTPPASSWORD
%token TRACEPOLLS
%%
@@ -157,6 +157,8 @@ serv_option : AKA alias_list
#endif /* INET6_ENABLE */
}
| PRINCIPAL STRING {current.server.principal = xstrdup($2);}
+ | ESMTPNAME STRING {current.server.esmtp_name = xstrdup($2);}
+ | ESMTPPASSWORD STRING {current.server.esmtp_password = xstrdup($2);}
| PROTOCOL SDPS {
#ifdef SDPS_ENABLE
current.server.protocol = P_POP3;