Mention SQL scheme change of column 'log.ip' in iredadmin database.

This commit is contained in:
Zhang Huangbin 2014-12-23 22:42:44 +08:00
parent 0a599280a8
commit 645e1c548a
4 changed files with 89 additions and 27 deletions

View File

@ -14,17 +14,23 @@
<div class="toc">
<ul>
<li><a href="#iredadmin-pro-release-notes-and-upgrade-tutorial">iRedAdmin-Pro release notes and upgrade tutorial</a><ul>
<li><a href="#upgrade-iredadmin-pro">Upgrade iRedAdmin-Pro</a></li>
<li><a href="#release-notes">Release Notes</a><ul>
<li><a href="#iredadmin-pro-ldap-for-openldap-backend">iRedAdmin-Pro-LDAP (for OpenLDAP backend)</a></li>
<li><a href="#iredadmin-pro-mysql-for-mysqlmariadb-backend">iRedAdmin-Pro-MySQL (for MySQL/MariaDB backend)</a></li>
<li><a href="#iredadmin-pro-pgsql-for-postgresql-backend">iRedAdmin-Pro-PGSQL (for PostgreSQL backend)</a></li>
</ul>
</li>
</ul>
</li>
</ul>
</div>
<h2 id="upgrade-iredadmin-pro">Upgrade iRedAdmin-Pro</h2>
<p>With the latest iRedAdmin-Pro, you can simply upgrade old releases by following
this tutorial with just one shell command:
<a href="./migrate.or.upgrade.iredadmin.html">Migrate or upgrade iRedAdmin</a></p>
<h2 id="iredadmin-pro-ldap-for-openldap-backend">iRedAdmin-Pro-LDAP (for OpenLDAP backend)</h2>
<h2 id="release-notes">Release Notes</h2>
<h3 id="iredadmin-pro-ldap-for-openldap-backend">iRedAdmin-Pro-LDAP (for OpenLDAP backend)</h3>
<ul>
<li>2.2.0, 2014-12-??</li>
<li><a href="http://www.iredmail.org/forum/topic6925-news-announcements-bug-fixes-iredadminproldap212-has-been-released.html">2.1.2</a>, 2014-05-16</li>
@ -44,7 +50,7 @@ this tutorial with just one shell command:
<li><a href="http://www.iredmail.org/wiki/index.php?title=Release.Notes/iRedAdmin-Pro/LDAP/1.3.0">1.3.0</a>, 2010-10-01</li>
<li><a href="http://www.iredmail.org/wiki/index.php?title=Release.Notes/iRedAdmin-Pro/LDAP/1.2.0">1.2.0</a>, 2010-06-18</li>
</ul>
<h2 id="iredadmin-pro-mysql-for-mysqlmariadb-backend">iRedAdmin-Pro-MySQL (for MySQL/MariaDB backend)</h2>
<h3 id="iredadmin-pro-mysql-for-mysqlmariadb-backend">iRedAdmin-Pro-MySQL (for MySQL/MariaDB backend)</h3>
<ul>
<li>1.9.0, 2014-12-??</li>
<li><a href="http://www.iredmail.org/forum/topic6924-news-announcements-bug-fixes-irdadminpromysql182-has-been-released.html">1.8.2</a>, 2014-05-16.</li>
@ -61,7 +67,7 @@ this tutorial with just one shell command:
<li><a href="http://www.iredmail.org/wiki/index.php?title=Release.Notes/iRedAdmin-Pro/MySQL/1.1.0">1.1.0</a>, 2011-05-03</li>
<li><a href="http://www.iredmail.org/wiki/index.php?title=Release.Notes/iRedAdmin-Pro/MySQL/1.0">1.0</a>, 2011-02-01</li>
</ul>
<h2 id="iredadmin-pro-pgsql-for-postgresql-backend">iRedAdmin-Pro-PGSQL (for PostgreSQL backend)</h2>
<h3 id="iredadmin-pro-pgsql-for-postgresql-backend">iRedAdmin-Pro-PGSQL (for PostgreSQL backend)</h3>
<ul>
<li>1.5.0, 2014-12-??</li>
<li><a href="http://www.iredmail.org/forum/topic6926-news-announcements-bug-fixes-iredadminpropgsql142-has-been-released.html">1.4.2</a>, 2014-05-16.</li>

View File

@ -16,7 +16,7 @@
<li><a href="#migrate-or-upgrade-iredadmin">Migrate or upgrade iRedAdmin</a><ul>
<li><a href="#requirements">Requirements</a></li>
<li><a href="#upgrade-steps">Upgrade Steps</a></li>
<li><a href="#addition-optional-steps">Addition optional steps</a></li>
<li><a href="#addition-steps">Addition steps</a></li>
</ul>
</li>
</ul>
@ -32,30 +32,58 @@ installed and running on your server before upgrading.</li>
<h2 id="upgrade-steps">Upgrade Steps</h2>
<ul>
<li>
<p>Upload or copy the latest iRedAdmin-Pro to your server which has iRedAdmin
<p>Upload or copy the latest iRedAdmin to your server which has iRedAdmin
open source edition or old iRedAdmin-Pro release running. We assume you
uploaded it to <code>/root/iRedAdmin-Pro-{BACKEND}-x.y.z.tar.bz2</code> ({BACKEND} is one
of <code>LDAP</code>, <code>MySQL</code>, <code>PGSQL</code>). We will use iRedAdmin-Pro-x.y.z below for
uploaded it to <code>/root/iRedAdmin-{BACKEND}-x.y.z.tar.bz2</code> ({BACKEND} is one
of <code>LDAP</code>, <code>MySQL</code>, <code>PGSQL</code>). We will use iRedAdmin-x.y.z below for
example, please replace x.y.z by the real file name. For example,
<code>iRedAdmin-Pro-LDAP-2.1.2.tar.bz2</code>.</p>
</li>
<li>
<p>Uncompress and upgrade iRedAdmin-Pro</p>
<p>Uncompress and upgrade iRedAdmin:</p>
</li>
</ul>
<pre><code># cd /root/
# tar xjf iRedAdmin-Pro-x.y.z.tar.bz2
# cd iRedAdmin-Pro-x.y.z/tools/
# tar xjf iRedAdmin-x.y.z.tar.bz2
# cd iRedAdmin-x.y.z/tools/
# bash upgrade_iredadmin.sh
</code></pre>
<ul>
<li>
<p>If you're running iRedMail-<code>0.8.7</code> or earlier version, please login to SQL
server as root user (for MySQL/MariaDB, it's <code>root</code> user, for PostgreSQL,
it's <code>postgres</code> user) to alter SQL table <code>iredadmin.log</code> with below SQL command:</p>
<ul>
<li>For MySQL/MariaDB:</li>
</ul>
</li>
</ul>
<pre><code>sql&gt; ALTER TABLE log MODIFY COLUMN ip VARCHAR(40) NOT NULL DEFAULT '';
</code></pre>
<pre><code>* For PostgreSQL:
</code></pre>
<pre><code>sql&gt; ALTER TABLE log ALTER COLUMN ip TYPE varchar(40);
</code></pre>
<p>That's all. If it doesn't work for you, please post a new topic in our
<a href="http://www.iredmail.org/forum/">online support forum</a>.</p>
<h2 id="addition-optional-steps">Addition optional steps</h2>
<h2 id="addition-steps">Addition steps</h2>
<ul>
<li>If you want to quarantine SPAM/Virus into SQL database and manage them with
iRedAdmin-Pro, please follow this tutorial to update Amavisd settings:
<a href="./quarantining.html">Quarantining SPAM and Virus emails into SQL database</a></li>
<li>
<p>To quarantine SPAM/Virus into SQL database and manage them with
iRedAdmin-Pro, please follow this tutorial to update Amavisd settings:
<a href="./quarantining.html">Quarantining SPAM and Virus emails into SQL database</a></p>
</li>
<li>
<p>To manage white/blacklist with iRedAdmin-Pro, please enable
per-recipient policy lookup in Amavisd, and enable plugin <code>amavisd_wblist</code>
in iRedAPD config file (<code>/opt/iredapd/settings.py</code>, parameter <code>plugins =</code>):
<a href="./amavisd.per-recipient.policy.lookup.html">Amavisd: Enable per-recipient policy lookup</a></p>
<p>Note: Cluebringer still provides white/blacklists, but iRedAdmin-Pro
doesn't manage them anymore after iRedMail-0.9.0 release.</p>
</li>
</ul><p style="text-align: center; color: grey;">Document published under a <a href="http://creativecommons.org/licenses/by-nd/3.0/us/" target="_blank">CC BY-ND 3.0</a> license. If you found something wrong, please do <a href="http://www.iredmail.org/contact.html">contact us</a> to fix it.<!-- Google Analytics -->
<script type="text/javascript">
var gaJsHost = (("https:" == document.location.protocol) ? "https://ssl." : "http://www.");

View File

@ -13,27 +13,51 @@ installed and running on your server before upgrading.
## Upgrade Steps
* Upload or copy the latest iRedAdmin-Pro to your server which has iRedAdmin
* Upload or copy the latest iRedAdmin to your server which has iRedAdmin
open source edition or old iRedAdmin-Pro release running. We assume you
uploaded it to `/root/iRedAdmin-Pro-{BACKEND}-x.y.z.tar.bz2` ({BACKEND} is one
of `LDAP`, `MySQL`, `PGSQL`). We will use iRedAdmin-Pro-x.y.z below for
uploaded it to `/root/iRedAdmin-{BACKEND}-x.y.z.tar.bz2` ({BACKEND} is one
of `LDAP`, `MySQL`, `PGSQL`). We will use iRedAdmin-x.y.z below for
example, please replace x.y.z by the real file name. For example,
`iRedAdmin-Pro-LDAP-2.1.2.tar.bz2`.
* Uncompress and upgrade iRedAdmin-Pro
* Uncompress and upgrade iRedAdmin:
```
# cd /root/
# tar xjf iRedAdmin-Pro-x.y.z.tar.bz2
# cd iRedAdmin-Pro-x.y.z/tools/
# tar xjf iRedAdmin-x.y.z.tar.bz2
# cd iRedAdmin-x.y.z/tools/
# bash upgrade_iredadmin.sh
```
* If you're running iRedMail-`0.8.7` or earlier version, please login to SQL
server as root user (for MySQL/MariaDB, it's `root` user, for PostgreSQL,
it's `postgres` user) to alter SQL table `iredadmin.log` with below SQL command:
* For MySQL/MariaDB:
```
sql> ALTER TABLE log MODIFY COLUMN ip VARCHAR(40) NOT NULL DEFAULT '';
```
* For PostgreSQL:
```
sql> ALTER TABLE log ALTER COLUMN ip TYPE varchar(40);
```
That's all. If it doesn't work for you, please post a new topic in our
[online support forum](http://www.iredmail.org/forum/).
## Addition optional steps
## Addition steps
* If you want to quarantine SPAM/Virus into SQL database and manage them with
iRedAdmin-Pro, please follow this tutorial to update Amavisd settings:
[Quarantining SPAM and Virus emails into SQL database](./quarantining.html)
* To quarantine SPAM/Virus into SQL database and manage them with
iRedAdmin-Pro, please follow this tutorial to update Amavisd settings:
[Quarantining SPAM and Virus emails into SQL database](./quarantining.html)
* To manage white/blacklist with iRedAdmin-Pro, please enable
per-recipient policy lookup in Amavisd, and enable plugin `amavisd_wblist`
in iRedAPD config file (`/opt/iredapd/settings.py`, parameter `plugins =`):
[Amavisd: Enable per-recipient policy lookup](./amavisd.per-recipient.policy.lookup.html)
Note: Cluebringer still provides white/blacklists, but iRedAdmin-Pro
doesn't manage them anymore after iRedMail-0.9.0 release.

View File

@ -2,11 +2,15 @@
[TOC]
## Upgrade iRedAdmin-Pro
With the latest iRedAdmin-Pro, you can simply upgrade old releases by following
this tutorial with just one shell command:
[Migrate or upgrade iRedAdmin](./migrate.or.upgrade.iredadmin.html)
## iRedAdmin-Pro-LDAP (for OpenLDAP backend)
## Release Notes
### iRedAdmin-Pro-LDAP (for OpenLDAP backend)
* 2.2.0, 2014-12-??
* [2.1.2](http://www.iredmail.org/forum/topic6925-news-announcements-bug-fixes-iredadminproldap212-has-been-released.html), 2014-05-16
@ -26,7 +30,7 @@ this tutorial with just one shell command:
* [1.3.0](http://www.iredmail.org/wiki/index.php?title=Release.Notes/iRedAdmin-Pro/LDAP/1.3.0), 2010-10-01
* [1.2.0](http://www.iredmail.org/wiki/index.php?title=Release.Notes/iRedAdmin-Pro/LDAP/1.2.0), 2010-06-18
## iRedAdmin-Pro-MySQL (for MySQL/MariaDB backend)
### iRedAdmin-Pro-MySQL (for MySQL/MariaDB backend)
* 1.9.0, 2014-12-??
* [1.8.2](http://www.iredmail.org/forum/topic6924-news-announcements-bug-fixes-irdadminpromysql182-has-been-released.html), 2014-05-16.
@ -43,7 +47,7 @@ this tutorial with just one shell command:
* [1.1.0](http://www.iredmail.org/wiki/index.php?title=Release.Notes/iRedAdmin-Pro/MySQL/1.1.0), 2011-05-03
* [1.0](http://www.iredmail.org/wiki/index.php?title=Release.Notes/iRedAdmin-Pro/MySQL/1.0), 2011-02-01
## iRedAdmin-Pro-PGSQL (for PostgreSQL backend)
### iRedAdmin-Pro-PGSQL (for PostgreSQL backend)
* 1.5.0, 2014-12-??
* [1.4.2](http://www.iredmail.org/forum/topic6926-news-announcements-bug-fixes-iredadminpropgsql142-has-been-released.html), 2014-05-16.