aboutsummaryrefslogtreecommitdiffstats
path: root/options.c
diff options
context:
space:
mode:
authorEric S. Raymond <esr@thyrsus.com>1999-09-22 02:00:17 +0000
committerEric S. Raymond <esr@thyrsus.com>1999-09-22 02:00:17 +0000
commit74eb0be1e799d5485fae6e9c82fddc4d4b785df5 (patch)
treefc00a64c98bd0f5d70e2c3c5fc447e8060164216 /options.c
parent6e6b976915e8c29bf4684b535addf7bd7d83c8b2 (diff)
downloadfetchmail-74eb0be1e799d5485fae6e9c82fddc4d4b785df5.tar.gz
fetchmail-74eb0be1e799d5485fae6e9c82fddc4d4b785df5.tar.bz2
fetchmail-74eb0be1e799d5485fae6e9c82fddc4d4b785df5.zip
Added Todd Sabin's new protocol options.
svn path=/trunk/; revision=2571
Diffstat (limited to 'options.c')
-rw-r--r--options.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/options.c b/options.c
index 63362997..3338323f 100644
--- a/options.c
+++ b/options.c
@@ -346,6 +346,10 @@ struct query *ctl; /* option record to be initialized */
else if (strcasecmp(optarg, "imap-gss") == 0)
ctl->server.protocol = P_IMAP_GSS;
#endif /* GSSAPI */
+ else if (strcasecmp(optarg, "imap-crammd5") == 0)
+ ctl->server.protocol = P_IMAP_CRAM_MD5;
+ else if (strcasecmp(optarg, "imap-login") == 0)
+ ctl->server.protocol = P_IMAP_LOGIN;
else if (strcasecmp(optarg,"etrn") == 0)
ctl->server.protocol = P_ETRN;
else {