Fixed: incorrect owner of new sql table 'amavisd.outbound_wblist'.

This commit is contained in:
Zhang Huangbin 2016-01-21 10:29:40 +08:00
parent b7837a7bfc
commit 9bfdb4902a
2 changed files with 10 additions and 2 deletions

View File

@ -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.

View File

@ -69,12 +69,16 @@
<p>We offer remote upgrade service, check <a href="../support.html">the price</a> and <a href="../contact.html">contact us</a>.</p>
</blockquote>
<ul>
<li>2016-01-21: Fix incorrect permission on new sql table <code>amavisd.outbound_wblist</code>.</li>
<li>2016-01-14: Mention updating backup script to backup iRedAPD SQL database.</li>
<li>2015-12-23: Run <code>a2enmod headers</code> on Debian/Ubuntu to make sure required Apache module is enabled.</li>
<li>2015-12-16: Mention how to enable greylisting in iRedAPD.</li>
<li>2015-12-14: New section: <code>Upgrade iRedAdmin (open source edition) to the latest stable release</code>.</li>
<li>2015-12-14: New section: <code>Migrate from Cluebringer to iRedAPD</code>.</li>
<li>2015-12-14: Fix duplicate folder name in section <code>Dovecot-2.2: Add more special folders as alias folders</code>.</li>
</ul>
<hr />
<ul>
<li>2015-12-14: Initial release.</li>
</ul>
<h2 id="general-all-backends-should-apply-these-steps">General (All backends should apply these steps)</h2>
@ -884,8 +888,9 @@ to store white/blacklists for outbound message, required by iRedAPD plugin
<li>On OpenBSD, PostgreSQL daemon user is <code>_postgresql</code>.</li>
</ul>
<pre><code># su - postgres
$ psql -d cluebringer -d amavisd
$ psql -d amavisd
sql&gt; CREATE TABLE outbound_wblist (rid integer NOT NULL CHECK (rid &gt;= 0), sid integer NOT NULL CHECK (sid &gt;= 0), wb varchar(10) NOT NULL, PRIMARY KEY (rid,sid));
sql&gt; ALTER TABLE outbound_wblist OWNER TO 'amavisd';
</code></pre>
<p>After table created, please restart iRedAPD service.</p>