aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMatthias Andree <matthias.andree@gmx.de>2021-08-26 23:53:14 +0200
committerMatthias Andree <matthias.andree@gmx.de>2021-08-26 23:53:14 +0200
commit4df94d5937ea078ceae84f1650b6f0409d27cb6b (patch)
tree4a1c64ca118c4d88672abe5b97b04abed254c4e2
parent5b22b38daf3f94eadfa0667ae799bcd0f9ee40b9 (diff)
downloadfetchmail-4df94d5937ea078ceae84f1650b6f0409d27cb6b.tar.gz
fetchmail-4df94d5937ea078ceae84f1650b6f0409d27cb6b.tar.bz2
fetchmail-4df94d5937ea078ceae84f1650b6f0409d27cb6b.zip
fetchmail.c: reword port/--ssl checks to nudge user towards --ssl
-rw-r--r--fetchmail.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/fetchmail.c b/fetchmail.c
index ddac95df..ac8e4607 100644
--- a/fetchmail.c
+++ b/fetchmail.c
@@ -1415,11 +1415,11 @@ static int load_params(int argc, char **argv, int optind)
switch (ctl->server.protocol) {
case P_POP3: case P_APOP:
if (port == 995 && !ctl->use_ssl) report(stderr, GT_("WARNING: %s configuration invalid, you normally need --ssl for port 995/service pop3s.\n"), ctl->server.pollname);
- if (port == 110 && ctl->use_ssl) report(stderr, GT_("WARNING: %s configuration invalid, you should normally omit --ssl for port 110/service pop3.\n"), ctl->server.pollname);
+ if (port == 110 && ctl->use_ssl) report(stderr, GT_("WARNING: %s configuration invalid, you normally need port 995/service pop3s for --ssl.\n"), ctl->server.pollname);
break;
case P_IMAP:
if (port == 993 && !ctl->use_ssl) report(stderr, GT_("WARNING: %s configuration invalid, you normally need --ssl for port 993/service imaps.\n"), ctl->server.pollname);
- if (port == 143 && ctl->use_ssl) report(stderr, GT_("WARNING: %s configuration invalid, you should normally omit --ssl for port 143/service imap.\n"), ctl->server.pollname);
+ if (port == 143 && ctl->use_ssl) report(stderr, GT_("WARNING: %s configuration invalid, you normally need port 993/service imaps for --ssl.\n"), ctl->server.pollname);
break;
}
}