dovecot-2.0: config: Added support for parsing obsolete setting ...
dovecot at dovecot.org
dovecot at dovecot.org
Fri Apr 16 18:24:47 EEST 2010
details: http://hg.dovecot.org/dovecot-2.0/rev/a6b050cc4a9a
changeset: 11168:a6b050cc4a9a
user: Timo Sirainen <tss at iki.fi>
date: Fri Apr 16 18:24:34 2010 +0300
description:
config: Added support for parsing obsolete setting ssl_disable.
diffstat:
src/config/old-set-parser.c | 8 ++++++++
1 files changed, 8 insertions(+), 0 deletions(-)
diffs (18 lines):
diff -r c2f00a85a177 -r a6b050cc4a9a src/config/old-set-parser.c
--- a/src/config/old-set-parser.c Fri Apr 16 17:53:41 2010 +0300
+++ b/src/config/old-set-parser.c Fri Apr 16 18:24:34 2010 +0300
@@ -122,6 +122,14 @@
p, value);
return TRUE;
}
+ if (strcmp(key, "ssl_disable") == 0) {
+ if (strcasecmp(value, "yes") == 0)
+ value = "no";
+ else if (strcasecmp(value, "no") == 0)
+ value = "yes";
+ set_rename(ctx, key, "ssl", value);
+ return TRUE;
+ }
if (strcmp(key, "dbox_rotate_size") == 0) {
set_rename(ctx, key, "mdbox_rotate_size", value);
return TRUE;
More information about the dovecot-cvs
mailing list