Mercurial > dovecot > core-2.2
changeset 16562:e8cba978850d
config: Give a somewhat better warning for when using protocols=imaps or pop3s.
author | Timo Sirainen <tss@iki.fi> |
---|---|
date | Wed, 26 Jun 2013 21:35:37 +0300 |
parents | 0144704e1b99 |
children | c2c09416d8a4 |
files | src/config/old-set-parser.c |
diffstat | 1 files changed, 2 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/src/config/old-set-parser.c Wed Jun 26 20:53:01 2013 +0300 +++ b/src/config/old-set-parser.c Wed Jun 26 21:35:37 2013 +0300 @@ -104,14 +104,14 @@ 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);