From 4b126092a2a3383cf28641c21b3ab112507b7865 Mon Sep 17 00:00:00 2001
From: Zhang Huangbin WARNING: Still working in progress, do NOT apply it.ChangeLog
-
allowNets
and SQL column
+policy.spam_modifies_subj
.allowNets
and SQL column
mailbox.allow_nets
, which used to restrict mail user to login
from specified IP addresses or networks.DATABASES=
. For example:
Save your change and that's all.
+policy.spam_modifies_subj
Note: This is applicable to Amavisd-new-2.7.0 and later releases.
+Amavisd drops column policy.spam_modifies_subj
since amavisd-new-2.7.0
+release, we'd better remove this column.
Login to MySQL server as root user, then execute below SQL commands to drop it:
+mysql> USE amavisd;
+mysql> ALTER TABLE policy DROP COLUMN spam_modifies_subj;
+
+
ISPs' mail servers send out spams, but also normal business mails. Applying greylisting on them is helpless.
@@ -422,6 +435,15 @@ database name in variableDATABASES=
. For example:
Save your change and that's all.
+policy.spam_modifies_subj
Note: This is applicable to Amavisd-new-2.7.0 and later releases.
+Amavisd drops column policy.spam_modifies_subj
since amavisd-new-2.7.0
+release, we'd better remove this column.
Login to MySQL server as root user, then execute below SQL commands to drop it:
+mysql> USE amavisd;
+mysql> ALTER TABLE policy DROP COLUMN spam_modifies_subj;
+
+
ISPs' mail servers send out spams, but also normal business mails. Applying greylisting on them is helpless.
@@ -489,6 +511,15 @@ database name in variableDATABASES=
. For example:
Save your change and that's all.
+policy.spam_modifies_subj
Note: This is applicable to Amavisd-new-2.7.0 and later releases.
+Amavisd drops column policy.spam_modifies_subj
since amavisd-new-2.7.0
+release, we'd better remove this column.
Login to PostgreSQL server as admin user, then execute below SQL commands to drop it:
+sql> \c amavisd;
+sql> ALTER TABLE policy DROP COLUMN spam_modifies_subj;
+
+
ISPs' mail servers send out spams, but also normal business mails. Applying greylisting on them is helpless.
diff --git a/upgrade/0-upgrade.iredmail.0.9.0-0.9.1.md b/upgrade/0-upgrade.iredmail.0.9.0-0.9.1.md index 88328cb7..bfb05c6b 100644 --- a/upgrade/0-upgrade.iredmail.0.9.0-0.9.1.md +++ b/upgrade/0-upgrade.iredmail.0.9.0-0.9.1.md @@ -7,7 +7,8 @@ __WARNING: Still working in progress, do _NOT_ apply it.__ ## ChangeLog -* 2015-02-25: [All backends] Add new LDAP attribute `allowNets` and SQL column +* 2015-02-28: [LDAP, MySQL] Drop retired column in Amavisd database: `policy.spam_modifies_subj`. +* 2015-02-27: [All backends] Add new LDAP attribute `allowNets` and SQL column `mailbox.allow_nets`, which used to restrict mail user to login from specified IP addresses or networks. * 2015-02-25: [All backends] Upgrade iRedAPD to 1.4.5. @@ -357,6 +358,20 @@ DATABASES='... sogo' Save your change and that's all. +### Fixed: drop retired column in Amavisd database: `policy.spam_modifies_subj` + +Note: This is applicable to Amavisd-new-2.7.0 and later releases. + +Amavisd drops column `policy.spam_modifies_subj` since amavisd-new-2.7.0 +release, we'd better remove this column. + +Login to MySQL server as root user, then execute below SQL commands to drop it: + +``` +mysql> USE amavisd; +mysql> ALTER TABLE policy DROP COLUMN spam_modifies_subj; +``` + ### [__OPTIONAL__] Bypass greylisting for some big ISPs ISPs' mail servers send out spams, but also normal business mails. Applying @@ -440,6 +455,20 @@ DATABASES='... sogo' Save your change and that's all. +### Fixed: drop retired column in Amavisd database: `policy.spam_modifies_subj` + +Note: This is applicable to Amavisd-new-2.7.0 and later releases. + +Amavisd drops column `policy.spam_modifies_subj` since amavisd-new-2.7.0 +release, we'd better remove this column. + +Login to MySQL server as root user, then execute below SQL commands to drop it: + +``` +mysql> USE amavisd; +mysql> ALTER TABLE policy DROP COLUMN spam_modifies_subj; +``` + ### [__OPTIONAL__] Bypass greylisting for some big ISPs ISPs' mail servers send out spams, but also normal business mails. Applying @@ -523,6 +552,20 @@ DATABASES='... sogo' Save your change and that's all. +### Fixed: drop retired column in Amavisd database: `policy.spam_modifies_subj` + +Note: This is applicable to Amavisd-new-2.7.0 and later releases. + +Amavisd drops column `policy.spam_modifies_subj` since amavisd-new-2.7.0 +release, we'd better remove this column. + +Login to PostgreSQL server as admin user, then execute below SQL commands to drop it: + +``` +sql> \c amavisd; +sql> ALTER TABLE policy DROP COLUMN spam_modifies_subj; +``` + ### [__OPTIONAL__] Bypass greylisting for some big ISPs ISPs' mail servers send out spams, but also normal business mails. Applying