X-Git-Url: https://code.citadel.org/?p=citadel.git;a=blobdiff_plain;f=citadel%2Fmodules%2Fupgrade%2Fserv_upgrade.c;h=8e7ef34553a73014799218c4d0dff59adad75140;hp=6eebe67bac1b475b9f9f6299665124dc86790c2f;hb=e8b23a8564bb4c78c01cc798bdd9ff7a16eb99da;hpb=1ed760f6e9cd5e5c4b18ab0f18686d08e268b373 diff --git a/citadel/modules/upgrade/serv_upgrade.c b/citadel/modules/upgrade/serv_upgrade.c index 6eebe67ba..8e7ef3455 100644 --- a/citadel/modules/upgrade/serv_upgrade.c +++ b/citadel/modules/upgrade/serv_upgrade.c @@ -265,6 +265,10 @@ void guess_time_zone(void) { void update_config(void) { get_config(); + if (CitControl.version == 0) { + config.c_instant_expunge = 1; + } + if (CitControl.version < 606) { config.c_rfc822_strict_from = 0; }