dovecot-1.2: Don't warn about maybe not being able to log in if ...

dovecot at dovecot.org dovecot at dovecot.org
Wed Jan 21 00:36:54 EET 2009


details:   http://hg.dovecot.org/dovecot-1.2/rev/d4376328f8c0
changeset: 8667:d4376328f8c0
user:      Timo Sirainen <tss at iki.fi>
date:      Tue Jan 20 17:36:50 2009 -0500
description:
Don't warn about maybe not being able to log in if protocols=none.

diffstat:

1 file changed, 1 insertion(+)
src/master/master-settings.c |    1 +

diffs (11 lines):

diff -r ca964325664e -r d4376328f8c0 src/master/master-settings.c
--- a/src/master/master-settings.c	Tue Jan 20 15:04:25 2009 -0500
+++ b/src/master/master-settings.c	Tue Jan 20 17:36:50 2009 -0500
@@ -865,6 +865,7 @@ static bool settings_verify(struct setti
 #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, "


More information about the dovecot-cvs mailing list