aboutsummaryrefslogtreecommitdiffstats
path: root/rcfile_l.l
diff options
context:
space:
mode:
Diffstat (limited to 'rcfile_l.l')
-rw-r--r--rcfile_l.l11
1 files changed, 9 insertions, 2 deletions
diff --git a/rcfile_l.l b/rcfile_l.l
index 4fa4185e..d52d6389 100644
--- a/rcfile_l.l
+++ b/rcfile_l.l
@@ -41,7 +41,7 @@ envelope { return ENVELOPE; }
user(name)? { return USERNAME; }
pass(word)? { return PASSWORD; }
-remote(folder)? { return FOLDER; }
+folder(s) { return FOLDER; }
smtp(host)? { return SMTPHOST; }
mda { return MDA; }
pre(connect) { return PRECONNECT; }
@@ -55,7 +55,7 @@ to { return TO; }
= { return MAP; }
"*" { return WILDCARD; }
-no/[kfrsdu ] { return NO;}
+no/[kfrsdu ].* { return NO;}
keep { return KEEP; }
flush { return FLUSH; }
@@ -83,6 +83,11 @@ options {/* EMPTY */}
(etrn)|(ETRN) { yylval.proto = P_ETRN; return PROTO; }
(kpop)|(KPOP) { return KPOP; }
+remote(folder)? {
+ fprintf(stderr,
+ "fetchmail: `remote' keyword is gone, use `folder'\n");
+ }
+
(#.*)?\\?\n { prc_lineno++; } /* newline is ignored */
@@ -106,3 +111,5 @@ options {/* EMPTY */}
[ \t\r]+ ; /* whitespace */
+
+