aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--fetchmail.man1
-rw-r--r--rcfile_l.l1
-rw-r--r--sample.rcfile1
3 files changed, 3 insertions, 0 deletions
diff --git a/fetchmail.man b/fetchmail.man
index fdd02a7b..fd696d76 100644
--- a/fetchmail.man
+++ b/fetchmail.man
@@ -768,6 +768,7 @@ Legal protocol identifiers are
pop2 (or POP2)
pop3 (or POP3)
imap (or IMAP)
+ imap-k4 (or IMAP-K4)
apop (or APOP)
kpop (or KPOP)
diff --git a/rcfile_l.l b/rcfile_l.l
index bae66f0c..c1234fcf 100644
--- a/rcfile_l.l
+++ b/rcfile_l.l
@@ -81,6 +81,7 @@ options {/* EMPTY */}
(auto)|(AUTO) { yylval.proto = P_AUTO; return PROTO; }
(pop2)|(POP2) { yylval.proto = P_POP2; return PROTO; }
(pop3)|(POP3) { yylval.proto = P_POP3; return PROTO; }
+(imap-k4)|(IMAP-K4) { yylval.proto = P_IMAP_K4; return PROTO; }
(imap)|(IMAP) { yylval.proto = P_IMAP; return PROTO; }
(apop)|(APOP) { yylval.proto = P_APOP; return PROTO; }
(etrn)|(ETRN) { yylval.proto = P_ETRN; return PROTO; }
diff --git a/sample.rcfile b/sample.rcfile
index 7547c2d5..9f0fa62b 100644
--- a/sample.rcfile
+++ b/sample.rcfile
@@ -65,6 +65,7 @@
# pop2 (or POP2)
# pop3 (or POP3)
# imap (or IMAP)
+# imap-k4 (or IMAP-K4)
# apop (or APOP)
# rpop (or RPOP)
# kpop (or KPOP)