aboutsummaryrefslogtreecommitdiffstats
path: root/options.c
diff options
context:
space:
mode:
authorEric S. Raymond <esr@thyrsus.com>1997-03-07 14:32:43 +0000
committerEric S. Raymond <esr@thyrsus.com>1997-03-07 14:32:43 +0000
commit9ff30b595fcce9126cb44c155449aa218fdcefc7 (patch)
treea3a27e8d55e6219f161aaf2d272d5fb43b9e99e4 /options.c
parent3a86e7e6d5137d352ea61ce10c799632d21ab7d2 (diff)
downloadfetchmail-9ff30b595fcce9126cb44c155449aa218fdcefc7.tar.gz
fetchmail-9ff30b595fcce9126cb44c155449aa218fdcefc7.tar.bz2
fetchmail-9ff30b595fcce9126cb44c155449aa218fdcefc7.zip
Ready for the UIDL patch.
svn path=/trunk/; revision=918
Diffstat (limited to 'options.c')
-rw-r--r--options.c6
1 files changed, 5 insertions, 1 deletions
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);