From 9ff30b595fcce9126cb44c155449aa218fdcefc7 Mon Sep 17 00:00:00 2001 From: "Eric S. Raymond" Date: Fri, 7 Mar 1997 14:32:43 +0000 Subject: Ready for the UIDL patch. svn path=/trunk/; revision=918 --- options.c | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'options.c') diff --git a/options.c b/options.c index 7081ee84..52a08ef3 100644 --- a/options.c +++ b/options.c @@ -178,12 +178,16 @@ struct query *ctl; /* option record to be initialized */ ctl->server.protocol = P_IMAP; else if (strcasecmp(optarg,"apop") == 0) ctl->server.protocol = P_APOP; + else if (strcasecmp(optarg,"rpop") == 0) + ctl->server.protocol = P_RPOP; else if (strcasecmp(optarg,"kpop") == 0) { ctl->server.protocol = P_POP3; ctl->server.port = KPOP_PORT; ctl->server.authenticate = A_KERBEROS; } + else if (strcasecmp(optarg,"etrn") == 0) + ctl->server.protocol = P_ETRN; else { fprintf(stderr,"Invalid protocol `%s' specified.\n", optarg); errflag++; @@ -325,7 +329,7 @@ struct query *ctl; /* option record to be initialized */ fputs(" -M, --monitor monitor interface for activity\n",stderr); #endif - fputs(" -p, --protocol specify pop2, pop3, imap, apop, rpop, kpop\n", stderr); + fputs(" -p, --protocol specify pop2, pop3, imap, apop, rpop, kpop, etrn\n", stderr); fputs(" -P, --port TCP/IP service port to connect to\n",stderr); fputs(" -A, --auth authentication type (password or kerberos)\n",stderr); fputs(" -t, --timeout server nonresponse timeout\n",stderr); -- cgit v1.2.3