diff --git a/en_US/upgrade/0-upgrade.iredmail.0.9.6-0.9.7.md b/en_US/upgrade/0-upgrade.iredmail.0.9.6-0.9.7.md index 05a9bf7a..0b2709db 100644 --- a/en_US/upgrade/0-upgrade.iredmail.0.9.6-0.9.7.md +++ b/en_US/upgrade/0-upgrade.iredmail.0.9.6-0.9.7.md @@ -379,9 +379,9 @@ Restarting Postfix service is required. * Please also upgrade iRedAPD and iRedAdmin-Pro, they need the new SQL structure too. -After migration, few columns in `vmail.alias` table are not used anymore. it's -ok to drop them. But it's strongly recommended to keep them for few more days -until you can confirm all features are working as expected. +After migration, `vmail.alias` table contains few sql columns we will never +use, also old records (accounts) will cause ghost accounts if we don't remove +them. Please connect to MySQL server as MySQL root user, then execute SQL commands below: @@ -392,7 +392,7 @@ USE vmail; -- Remove non-mail-alias account DELETE FROM alias WHERE islist <> 1; --- per-domain catch-all account +-- Remove per-domain catch-all account DELETE FROM alias WHERE address=domain; -- Drop unused columns diff --git a/html/upgrade.iredmail.0.9.6-0.9.7.html b/html/upgrade.iredmail.0.9.6-0.9.7.html index a5c8363d..2bbeade8 100644 --- a/html/upgrade.iredmail.0.9.6-0.9.7.html +++ b/html/upgrade.iredmail.0.9.6-0.9.7.html @@ -395,9 +395,9 @@ perl -pi -e 's#alias,#forwardings,#g' *.cf structure too. -

After migration, few columns in vmail.alias table are not used anymore. it's -ok to drop them. But it's strongly recommended to keep them for few more days -until you can confirm all features are working as expected.

+

After migration, vmail.alias table contains few sql columns we will never +use, also old records (accounts) will cause ghost accounts if we don't remove +them.

Please connect to MySQL server as MySQL root user, then execute SQL commands below:

USE vmail;
@@ -405,7 +405,7 @@ below:

-- Remove non-mail-alias account DELETE FROM alias WHERE islist <> 1; --- per-domain catch-all account +-- Remove per-domain catch-all account DELETE FROM alias WHERE address=domain; -- Drop unused columns