diff options
Diffstat (limited to 'rcfile_y.y')
-rw-r--r-- | rcfile_y.y | 38 |
1 files changed, 19 insertions, 19 deletions
@@ -59,7 +59,7 @@ extern char * yytext; } %token DEFAULTS POLL SKIP VIA AKA LOCALDOMAINS PROTOCOL ANY -%token PREAUTHENTICATE TIMEOUT KPOP SDPS KERBEROS4 KERBEROS5 KERBEROS GSSAPI +%token AUTHENTICATE TIMEOUT KPOP SDPS KERBEROS4 KERBEROS5 KERBEROS GSSAPI %token SSH ENVELOPE QVIRTUAL USERNAME PASSWORD FOLDER SMTPHOST MDA BSMTP LMTP %token SMTPADDRESS SMTPNAME SPAMRESPONSE PRECONNECT POSTCONNECT LIMIT WARNINGS %token NETSEC INTERFACE MONITOR PLUGIN PLUGOUT @@ -140,11 +140,11 @@ serv_option : AKA alias_list | PROTOCOL KPOP { current.server.protocol = P_POP3; - if (current.server.preauthenticate == A_PASSWORD) + if (current.server.authenticate == A_PASSWORD) #ifdef KERBEROS_V5 - current.server.preauthenticate = A_KERBEROS_V5; + current.server.authenticate = A_KERBEROS_V5; #else - current.server.preauthenticate = A_KERBEROS_V4; + current.server.authenticate = A_KERBEROS_V4; #endif /* KERBEROS_V5 */ #if INET6_ENABLE current.server.service = KPOP_PORT; @@ -182,25 +182,25 @@ serv_option : AKA alias_list } | INTERVAL NUMBER {current.server.interval = $2;} - | PREAUTHENTICATE ANY - {current.server.preauthenticate = A_ANY;} - | PREAUTHENTICATE PASSWORD - {current.server.preauthenticate = A_PASSWORD;} - | PREAUTHENTICATE GSSAPI - {current.server.preauthenticate = A_GSSAPI;} - | PREAUTHENTICATE KERBEROS4 - {current.server.preauthenticate = A_KERBEROS_V4;} - | PREAUTHENTICATE KERBEROS5 - {current.server.preauthenticate = A_KERBEROS_V5;} - | PREAUTHENTICATE KERBEROS { + | AUTHENTICATE ANY + {current.server.authenticate = A_ANY;} + | AUTHENTICATE PASSWORD + {current.server.authenticate = A_PASSWORD;} + | AUTHENTICATE GSSAPI + {current.server.authenticate = A_GSSAPI;} + | AUTHENTICATE KERBEROS4 + {current.server.authenticate = A_KERBEROS_V4;} + | AUTHENTICATE KERBEROS5 + {current.server.authenticate = A_KERBEROS_V5;} + | AUTHENTICATE KERBEROS { #ifdef KERBEROS_V5 - current.server.preauthenticate = A_KERBEROS_V5; + current.server.authenticate = A_KERBEROS_V5; #else - current.server.preauthenticate = A_KERBEROS_V4; + current.server.authenticate = A_KERBEROS_V4; #endif /* KERBEROS_V5 */ } - | PREAUTHENTICATE SSH - {current.server.preauthenticate = A_SSH;} + | AUTHENTICATE SSH + {current.server.authenticate = A_SSH;} | TIMEOUT NUMBER {current.server.timeout = $2;} | ENVELOPE NUMBER STRING |