warning for smtp/pop3/imap usage with -S when starttls is needed

This commit is contained in:
van Hauser 2016-09-13 11:33:04 +02:00
parent d89983364b
commit d1d39badc0
4 changed files with 10 additions and 3 deletions

View file

@ -409,7 +409,7 @@ void service_imap(char *ip, int sp, unsigned char options, char *miscptr, FILE *
for (i = 0; i < strlen(miscptr); i++)
miscptr[i] = (char) toupper((int) miscptr[i]);
if (strstr(miscptr, "TLS") || strstr(miscptr, "SSL")) {
if (strstr(miscptr, "TLS") || strstr(miscptr, "SSL") || strstr(miscptr, "STARTTLS")) {
disable_tls = 0;
}
}