From 9bfdb4902ae59381f87db5e644b6441ea6781139 Mon Sep 17 00:00:00 2001 From: Zhang Huangbin Date: Thu, 21 Jan 2016 10:29:40 +0800 Subject: [PATCH] Fixed: incorrect owner of new sql table 'amavisd.outbound_wblist'. --- en_US/upgrade/0-upgrade.iredmail.0.9.2-0.9.3.md | 5 ++++- html/upgrade.iredmail.0.9.2-0.9.3.html | 7 ++++++- 2 files changed, 10 insertions(+), 2 deletions(-) diff --git a/en_US/upgrade/0-upgrade.iredmail.0.9.2-0.9.3.md b/en_US/upgrade/0-upgrade.iredmail.0.9.2-0.9.3.md index 8b1bf220..cf37ef8b 100644 --- a/en_US/upgrade/0-upgrade.iredmail.0.9.2-0.9.3.md +++ b/en_US/upgrade/0-upgrade.iredmail.0.9.2-0.9.3.md @@ -6,12 +6,14 @@ > We offer remote upgrade service, check [the price](../support.html) and [contact us](../contact.html). +* 2016-01-21: Fix incorrect permission on new sql table `amavisd.outbound_wblist`. * 2016-01-14: Mention updating backup script to backup iRedAPD SQL database. * 2015-12-23: Run `a2enmod headers` on Debian/Ubuntu to make sure required Apache module is enabled. * 2015-12-16: Mention how to enable greylisting in iRedAPD. * 2015-12-14: New section: `Upgrade iRedAdmin (open source edition) to the latest stable release`. * 2015-12-14: New section: `Migrate from Cluebringer to iRedAPD`. * 2015-12-14: Fix duplicate folder name in section `Dovecot-2.2: Add more special folders as alias folders`. +---- * 2015-12-14: Initial release. ## General (All backends should apply these steps) @@ -950,8 +952,9 @@ Please switch to PostgreSQL daemon user, then execute SQL commands to import it: ``` # su - postgres -$ psql -d cluebringer -d amavisd +$ psql -d amavisd sql> CREATE TABLE outbound_wblist (rid integer NOT NULL CHECK (rid >= 0), sid integer NOT NULL CHECK (sid >= 0), wb varchar(10) NOT NULL, PRIMARY KEY (rid,sid)); +sql> ALTER TABLE outbound_wblist OWNER TO 'amavisd'; ``` After table created, please restart iRedAPD service. diff --git a/html/upgrade.iredmail.0.9.2-0.9.3.html b/html/upgrade.iredmail.0.9.2-0.9.3.html index e9536d13..2c0d7bf9 100644 --- a/html/upgrade.iredmail.0.9.2-0.9.3.html +++ b/html/upgrade.iredmail.0.9.2-0.9.3.html @@ -69,12 +69,16 @@

We offer remote upgrade service, check the price and contact us.

+
+

General (All backends should apply these steps)

@@ -884,8 +888,9 @@ to store white/blacklists for outbound message, required by iRedAPD plugin
  • On OpenBSD, PostgreSQL daemon user is _postgresql.
  • # su - postgres
    -$ psql -d cluebringer -d amavisd
    +$ psql -d amavisd
     sql> CREATE TABLE outbound_wblist (rid integer NOT NULL CHECK (rid >= 0), sid integer NOT NULL CHECK (sid >= 0), wb varchar(10) NOT NULL, PRIMARY KEY (rid,sid));
    +sql> ALTER TABLE outbound_wblist OWNER TO 'amavisd';
     

    After table created, please restart iRedAPD service.