dovecot-2.0: config: Updated obsolete protocol warning messages.

dovecot at dovecot.org dovecot at dovecot.org
Wed May 11 16:20:24 EEST 2011


details:   http://hg.dovecot.org/dovecot-2.0/rev/7f88557102c3
changeset: 12797:7f88557102c3
user:      Timo Sirainen <tss at iki.fi>
date:      Wed May 11 16:20:15 2011 +0300
description:
config: Updated obsolete protocol warning messages.

diffstat:

 src/config/old-set-parser.c |  8 ++++----
 1 files changed, 4 insertions(+), 4 deletions(-)

diffs (27 lines):

diff -r dab7043e8263 -r 7f88557102c3 src/config/old-set-parser.c
--- a/src/config/old-set-parser.c	Wed May 11 15:57:47 2011 +0300
+++ b/src/config/old-set-parser.c	Wed May 11 16:20:15 2011 +0300
@@ -102,19 +102,19 @@
 		value = t_strarray_join((const char *const *)protos, " ");
 
 		if (have_imaps && !have_imap) {
-			obsolete(ctx, "protocols=imaps is no longer supported. to disable non-ssl imap, use service imap-login { inet_listener imap { port=0 } }");
+			obsolete(ctx, "'imaps' protocol is no longer supported. to disable non-ssl imap, use service imap-login { inet_listener imap { port=0 } }");
 			value = t_strconcat(value, " imap", NULL);
 			config_apply_line(ctx, "port",
 				"service/imap-login/inet_listener/imap/port=0", NULL);
 		} else if (have_imaps)
-			obsolete(ctx, "protocols=imaps is no longer necessary, remove it");
+			obsolete(ctx, "'imaps' protocol is no longer necessary, remove it");
 		if (have_pop3s && !have_pop3) {
-			obsolete(ctx, "protocols=pop3s is no longer supported. to disable non-ssl pop3, use service pop3-login { inet_listener pop3 { port=0 } }");
+			obsolete(ctx, "'pop3s' protocol is no longer supported. to disable non-ssl pop3, use service pop3-login { inet_listener pop3 { port=0 } }");
 			value = t_strconcat(value, " pop3", NULL);
 			config_apply_line(ctx, "port",
 				"service/pop3-login/inet_listener/pop3/port=0", NULL);
 		} else if (have_pop3s)
-			obsolete(ctx, "protocols=pop3s is no longer necessary, remove it");
+			obsolete(ctx, "'pop3s' protocol is no longer necessary, remove it");
 
 		if (*value == ' ') value++;
 		config_parser_apply_line(ctx, CONFIG_LINE_TYPE_KEYVALUE,


More information about the dovecot-cvs mailing list