From: Timo Sirainen Date: Tue, 20 Jan 2009 22:36:50 +0000 (-0500) Subject: Don't warn about maybe not being able to log in if protocols=none. X-Git-Tag: 1.2.beta1~76 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=58b4171b2cc605fa9f5ba94cf8f0966635af16aa;p=thirdparty%2Fdovecot%2Fcore.git Don't warn about maybe not being able to log in if protocols=none. --HG-- branch : HEAD --- diff --git a/src/master/master-settings.c b/src/master/master-settings.c index 5cf9d51c06..010c2235d1 100644 --- a/src/master/master-settings.c +++ b/src/master/master-settings.c @@ -865,6 +865,7 @@ static bool settings_verify(struct settings *set) #endif if (strcmp(set->ssl, "no") == 0 && set->disable_plaintext_auth && strncmp(set->listen, "127.", 4) != 0 && + strcmp(set->protocols, "none") != 0 && !settings_have_nonplaintext_auths(set)) { i_warning("There is no way to login to this server: " "disable_plaintext_auth=yes, ssl=no, "