aboutsummaryrefslogtreecommitdiffstats
path: root/options.c
diff options
context:
space:
mode:
authorMatthias Andree <matthias.andree@gmx.de>2006-08-14 23:27:23 +0000
committerMatthias Andree <matthias.andree@gmx.de>2006-08-14 23:27:23 +0000
commit221e4bda865f30ce604386b5266c564e4cd5d95e (patch)
tree4afccca00751eec7635e42e83162ae712f66e313 /options.c
parentdf4a264f6a4bf53592f9e273462a8861ea7e6a6d (diff)
downloadfetchmail-221e4bda865f30ce604386b5266c564e4cd5d95e.tar.gz
fetchmail-221e4bda865f30ce604386b5266c564e4cd5d95e.tar.bz2
fetchmail-221e4bda865f30ce604386b5266c564e4cd5d95e.zip
Add IMAP AUTH=EXTERNAL support. BerliOS Patch #1095.
Courtesy of Götz 'nimrill' Babin-Ebell. This patch also makes --sslproto arguments case insensitive. svn path=/branches/BRANCH_6-3/; revision=4896
Diffstat (limited to 'options.c')
-rw-r--r--options.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/options.c b/options.c
index 25ea005e..87a308c7 100644
--- a/options.c
+++ b/options.c
@@ -362,6 +362,8 @@ int parsecmdline (int argc /** argument count */,
ctl->server.authenticate = A_KERBEROS_V4;
else if (strcmp(optarg, "ssh") == 0)
ctl->server.authenticate = A_SSH;
+ else if (strcasecmp(optarg, "external") == 0)
+ ctl->server.authenticate = A_EXTERNAL;
else if (strcmp(optarg, "otp") == 0)
ctl->server.authenticate = A_OTP;
else if (strcmp(optarg, "opie") == 0)
@@ -610,7 +612,7 @@ int parsecmdline (int argc /** argument count */,
P(GT_(" --sslcertck do strict server certificate check (recommended)\n"));
P(GT_(" --sslcertpath path to ssl certificates\n"));
P(GT_(" --sslfingerprint fingerprint that must match that of the server's cert.\n"));
- P(GT_(" --sslproto force ssl protocol (ssl2/ssl3/tls1)\n"));
+ P(GT_(" --sslproto force ssl protocol (SSL2/SSL3/TLS1)\n"));
#endif
P(GT_(" --plugin specify external command to open connection\n"));
P(GT_(" --plugout specify external command to open smtp connection\n"));