Mercurial > dovecot > original-hg > dovecot-1.2
changeset 8633:7e4c1d8b2a1a HEAD
Removed some old backwards compatibility handling code.
author | Timo Sirainen <tss@iki.fi> |
---|---|
date | Thu, 15 Jan 2009 15:54:39 -0500 |
parents | 5a4fcfde3e91 |
children | 86c28d14ddeb |
files | src/master/master-settings.c |
diffstat | 1 files changed, 0 insertions(+), 26 deletions(-) [+] |
line wrap: on
line diff
--- a/src/master/master-settings.c Thu Jan 15 15:52:44 2009 -0500 +++ b/src/master/master-settings.c Thu Jan 15 15:54:39 2009 -0500 @@ -964,19 +964,6 @@ i_error("stat(%s) failed: %m", set->base_dir); return FALSE; } - if ((st.st_mode & 0310) != 0310 || (st.st_mode & 0777) == 0777) { - /* FIXME: backwards compatibility: fix permissions so that - login processes can find ssl-parameters file. Group rx is - enough, but change it to world-rx so that we don't have to - start changing groups and causing possibly other problems. - - The second check is to fix 1.0beta1's accidental 0777 - mode change.. */ - i_warning("Fixing permissions of %s to be world-readable", - set->base_dir); - if (chmod(set->base_dir, 0755) < 0) - i_error("chmod(%s) failed: %m", set->base_dir); - } /* remove auth worker sockets left by unclean exits */ unlink_auth_sockets(set->base_dir, "auth-worker."); @@ -1215,19 +1202,6 @@ { const char *error; - /* backwards compatibility */ - if (strcmp(key, "auth") == 0) { - ctx->auth = parse_new_auth(ctx->server, value, &error); - return ctx->auth == NULL ? error : NULL; - } - - if (strcmp(key, "login") == 0) { - i_warning("Ignoring deprecated 'login' section handling. " - "Use protocol imap/pop3 { .. } instead. " - "Some settings may have been read incorrectly."); - return NULL; - } - switch (ctx->type) { case SETTINGS_TYPE_ROOT: case SETTINGS_TYPE_SERVER: