]> git.ipfire.org Git - thirdparty/dovecot/core.git/commitdiff
config: Give a somewhat better warning for when using protocols=imaps or pop3s.
authorTimo Sirainen <tss@iki.fi>
Wed, 26 Jun 2013 18:35:37 +0000 (21:35 +0300)
committerTimo Sirainen <tss@iki.fi>
Wed, 26 Jun 2013 18:35:37 +0000 (21:35 +0300)
src/config/old-set-parser.c

index db74545dcc3a0f4c0eb3f7e6572c9526c63f198e..94d76b294e7adb8a425d5fb3065356abc67bb71b 100644 (file)
@@ -104,14 +104,14 @@ old_settings_handle_root(struct config_parser_context *ctx,
                value = t_strarray_join((const char *const *)protos, " ");
 
                if (have_imaps && !have_imap) {
-                       obsolete(ctx, "'imaps' protocol is no longer supported. to disable non-ssl imap, use service imap-login { inet_listener imap { port=0 } }");
+                       obsolete(ctx, "'imaps' protocol can no longer be specified (use protocols=imap). 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, "'imaps' protocol is no longer necessary, remove it");
                if (have_pop3s && !have_pop3) {
-                       obsolete(ctx, "'pop3s' protocol is no longer supported. to disable non-ssl pop3, use service pop3-login { inet_listener pop3 { port=0 } }");
+                       obsolete(ctx, "'pop3s' protocol can no longer be specified (use protocols=pop3). 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);