Sync release notes of iRedMail Easy.

Update iRedMail upgrade tutorials.
This commit is contained in:
Zhang Huangbin 2021-09-13 11:33:05 +08:00
parent 798e37b699
commit abf7c6834d
8 changed files with 77 additions and 8 deletions

View File

@ -2,6 +2,19 @@
[TOC] [TOC]
## Version: 2021091301 (Sep 13, 2021) {: id=2021091301 }
- Remove unused LDAP attributes: lastLoginDate, lastLoginIP, lastLoginProtocol.
- Remove unused sql columns in `vmail.mailbox`:
- lastlogindate
- lastloginipv4
- lastloginprotocol
- Fix improper SQL column types in `vmail` and `sogo` databases:
- mailbox.enablesogowebmail
- mailbox.enablesogocalendar
- mailbox.enablesogoactivesync
## Version: 2021090801 (Sep 8, 2021) {: id=2021090801 } ## Version: 2021090801 (Sep 8, 2021) {: id=2021090801 }
+ Debian Linux 11 (Bullseye) is now supported. + Debian Linux 11 (Bullseye) is now supported.

View File

@ -10,6 +10,7 @@
## ChangeLog ## ChangeLog
* Sep 13, 2021: Upgrade netdata to 1.31.0.
* Sep 13, 2021: Fix incorrect PostgreSQL column type for new columns introduced * Sep 13, 2021: Fix incorrect PostgreSQL column type for new columns introduced
in table `vmail.mailbox`. in table `vmail.mailbox`.
* Sep 08, 2021: initial release. * Sep 08, 2021: initial release.
@ -49,6 +50,11 @@ Please follow below tutorial to upgrade iRedAdmin to the latest stable release:
Please follow below tutorial to upgrade mlmmjadmin to the latest stable release: Please follow below tutorial to upgrade mlmmjadmin to the latest stable release:
[Upgrade mlmmjadmin to the latest stable release](./upgrade.mlmmjadmin.html) [Upgrade mlmmjadmin to the latest stable release](./upgrade.mlmmjadmin.html)
### Upgrade netdata to the latest stable release (1.31.0)
If you have netdata installed, you can upgrade it by following this tutorial:
[Upgrade netdata](./upgrade.netdata.html).
### Amavisd: Add some useful ban rules ### Amavisd: Add some useful ban rules
Microsoft Office documents are banned with iRedMail default settings, but it's Microsoft Office documents are banned with iRedMail default settings, but it's

View File

@ -78,7 +78,7 @@ rcctl restart slapd
## For MySQL and MariaDB backends ## For MySQL and MariaDB backends
### Fix incorrect SQL column types in `vmail.mailbox` tables ### Fix incorrect SQL column types and remove unused columns in `vmail.mailbox` tables
iRedMail-1.4.1 introduced 3 new columns used to enable or disable per-user iRedMail-1.4.1 introduced 3 new columns used to enable or disable per-user
SOGo webmail, calendar and activesync services, but they were set to improper SOGo webmail, calendar and activesync services, but they were set to improper
@ -89,6 +89,12 @@ column `CHAR(1)` because SOGo doesn't support it, we will change them to
- `enablesogocalendar` - `enablesogocalendar`
- `enablesogoactivesync` - `enablesogoactivesync`
3 columns are not used at all:
- `lastlogindate`
- `lastloginipv4`
- `lastloginprotocol`
Please download plain SQL file used to update SQL table, then import it as Please download plain SQL file used to update SQL table, then import it as
MySQL root user (Please run commands below as `root` user): MySQL root user (Please run commands below as `root` user):
@ -111,7 +117,7 @@ rm -f /tmp/sogo.mysql
## For PostgreSQL backend ## For PostgreSQL backend
### Fix incorrect SQL column types in `vmail.mailbox` tables ### Fix incorrect SQL column types and remove unused columns in `vmail.mailbox` tables
iRedMail-1.4.1 introduced 3 new columns used to enable or disable per-user iRedMail-1.4.1 introduced 3 new columns used to enable or disable per-user
SOGo webmail, calendar and activesync services, but they were set to improper SOGo webmail, calendar and activesync services, but they were set to improper
@ -122,6 +128,12 @@ column `CHAR(1)` because SOGo doesn't support it, we will change them to
- `enablesogocalendar` - `enablesogocalendar`
- `enablesogoactivesync` - `enablesogoactivesync`
3 columns are not used at all:
- `lastlogindate`
- `lastloginipv4`
- `lastloginprotocol`
Download plain SQL file used to update SQL table: Download plain SQL file used to update SQL table:
``` ```

View File

@ -36,7 +36,7 @@
Release Notes | Date | Upgrade tutorial | Comment Release Notes | Date | Upgrade tutorial | Comment
---|---|---|--- ---|---|---|---
[1.4.2](https://forum.iredmail.org/) | Sep 13, 2021 | [Upgrade from iRedMail-1.4.1](./upgrade.iredmail.1.4.1-1.4.2.html) | Contains SQL/LDAP structure change. [1.4.2](https://forum.iredmail.org/topic18407.html) | Sep 13, 2021 | [Upgrade from iRedMail-1.4.1](./upgrade.iredmail.1.4.1-1.4.2.html) | Contains SQL/LDAP structure change.
[1.4.1](https://forum.iredmail.org/topic18392.html) | Sep 8, 2021 | [Upgrade from iRedMail-1.4.0](./upgrade.iredmail.1.4.0-1.4.1.html) | Contains SQL/LDAP structure change. [1.4.1](https://forum.iredmail.org/topic18392.html) | Sep 8, 2021 | [Upgrade from iRedMail-1.4.0](./upgrade.iredmail.1.4.0-1.4.1.html) | Contains SQL/LDAP structure change.
[1.4.0](https://forum.iredmail.org/topic18033.html) | Apr 13, 2021 | [Upgrade from iRedMail-1.3.2](./upgrade.iredmail.1.3.2-1.4.0.html) | Contains SQL/LDAP structure change. [1.4.0](https://forum.iredmail.org/topic18033.html) | Apr 13, 2021 | [Upgrade from iRedMail-1.3.2](./upgrade.iredmail.1.3.2-1.4.0.html) | Contains SQL/LDAP structure change.
[1.3.2](https://forum.iredmail.org/topic17474.html) | Oct 28, 2020 | [Upgrade from iRedMail-1.3.1](./upgrade.iredmail.1.3.1-1.3.2.html) | Bug fix release. [1.3.2](https://forum.iredmail.org/topic17474.html) | Oct 28, 2020 | [Upgrade from iRedMail-1.3.1](./upgrade.iredmail.1.3.1-1.3.2.html) | Bug fix release.

View File

@ -19,6 +19,7 @@
<div class="toc"> <div class="toc">
<ul> <ul>
<li><a href="#iredmail-easy-release-notes">iRedMail Easy: Release Notes</a><ul> <li><a href="#iredmail-easy-release-notes">iRedMail Easy: Release Notes</a><ul>
<li><a href="#2021091301">Version: 2021091301 (Sep 13, 2021)</a></li>
<li><a href="#2021090801">Version: 2021090801 (Sep 8, 2021)</a></li> <li><a href="#2021090801">Version: 2021090801 (Sep 8, 2021)</a></li>
<li><a href="#2021062401">Version: 2021062401 (Jun 24, 2021)</a></li> <li><a href="#2021062401">Version: 2021062401 (Jun 24, 2021)</a></li>
<li><a href="#2021041301">Version: 2021041301 (Apr 13, 2021)</a></li> <li><a href="#2021041301">Version: 2021041301 (Apr 13, 2021)</a></li>
@ -54,6 +55,26 @@
</li> </li>
</ul> </ul>
</div> </div>
<h2 id="2021091301">Version: 2021091301 (Sep 13, 2021)</h2>
<ul>
<li>Remove unused LDAP attributes: lastLoginDate, lastLoginIP, lastLoginProtocol.</li>
<li>
<p>Remove unused sql columns in <code>vmail.mailbox</code>:</p>
<ul>
<li>lastlogindate</li>
<li>lastloginipv4</li>
<li>lastloginprotocol</li>
</ul>
</li>
<li>
<p>Fix improper SQL column types in <code>vmail</code> and <code>sogo</code> databases:</p>
<ul>
<li>mailbox.enablesogowebmail</li>
<li>mailbox.enablesogocalendar</li>
<li>mailbox.enablesogoactivesync</li>
</ul>
</li>
</ul>
<h2 id="2021090801">Version: 2021090801 (Sep 8, 2021)</h2> <h2 id="2021090801">Version: 2021090801 (Sep 8, 2021)</h2>
<ul> <ul>
<li>Debian Linux 11 (Bullseye) is now supported.</li> <li>Debian Linux 11 (Bullseye) is now supported.</li>

View File

@ -74,7 +74,7 @@ check <a href="https://www.iredmail.org/support.html">the details</a> and
</thead> </thead>
<tbody> <tbody>
<tr> <tr>
<td><a href="https://forum.iredmail.org/">1.4.2</a></td> <td><a href="https://forum.iredmail.org/topic18407.html">1.4.2</a></td>
<td>Sep 13, 2021</td> <td>Sep 13, 2021</td>
<td><a href="./upgrade.iredmail.1.4.1-1.4.2.html">Upgrade from iRedMail-1.4.1</a></td> <td><a href="./upgrade.iredmail.1.4.1-1.4.2.html">Upgrade from iRedMail-1.4.1</a></td>
<td>Contains SQL/LDAP structure change.</td> <td>Contains SQL/LDAP structure change.</td>

View File

@ -25,6 +25,7 @@
<li><a href="#upgrade-iredapd-postfix-policy-server-to-the-latest-stable-release-503">Upgrade iRedAPD (Postfix policy server) to the latest stable release (5.0.3)</a></li> <li><a href="#upgrade-iredapd-postfix-policy-server-to-the-latest-stable-release-503">Upgrade iRedAPD (Postfix policy server) to the latest stable release (5.0.3)</a></li>
<li><a href="#upgrade-iredadmin-open-source-edition-to-the-latest-stable-release-15">Upgrade iRedAdmin (open source edition) to the latest stable release (1.5)</a></li> <li><a href="#upgrade-iredadmin-open-source-edition-to-the-latest-stable-release-15">Upgrade iRedAdmin (open source edition) to the latest stable release (1.5)</a></li>
<li><a href="#upgrade-mlmmjadmin-to-the-latest-stable-release-312">Upgrade mlmmjadmin to the latest stable release (3.1.2)</a></li> <li><a href="#upgrade-mlmmjadmin-to-the-latest-stable-release-312">Upgrade mlmmjadmin to the latest stable release (3.1.2)</a></li>
<li><a href="#upgrade-netdata-to-the-latest-stable-release-1310">Upgrade netdata to the latest stable release (1.31.0)</a></li>
<li><a href="#amavisd-add-some-useful-ban-rules">Amavisd: Add some useful ban rules</a><ul> <li><a href="#amavisd-add-some-useful-ban-rules">Amavisd: Add some useful ban rules</a><ul>
<li><a href="#example-how-to-use-these-ban-rules">Example: How to use these ban rules</a></li> <li><a href="#example-how-to-use-these-ban-rules">Example: How to use these ban rules</a></li>
</ul> </ul>
@ -58,6 +59,7 @@ check <a href="https://www.iredmail.org/support.html">the details</a> and
</div> </div>
<h2 id="changelog">ChangeLog</h2> <h2 id="changelog">ChangeLog</h2>
<ul> <ul>
<li>Sep 13, 2021: Upgrade netdata to 1.31.0.</li>
<li>Sep 13, 2021: Fix incorrect PostgreSQL column type for new columns introduced <li>Sep 13, 2021: Fix incorrect PostgreSQL column type for new columns introduced
in table <code>vmail.mailbox</code>.</li> in table <code>vmail.mailbox</code>.</li>
<li>Sep 08, 2021: initial release.</li> <li>Sep 08, 2021: initial release.</li>
@ -87,6 +89,9 @@ so that you can know which version of iRedMail you're running. For example:</p>
<h3 id="upgrade-mlmmjadmin-to-the-latest-stable-release-312">Upgrade mlmmjadmin to the latest stable release (3.1.2)</h3> <h3 id="upgrade-mlmmjadmin-to-the-latest-stable-release-312">Upgrade mlmmjadmin to the latest stable release (3.1.2)</h3>
<p>Please follow below tutorial to upgrade mlmmjadmin to the latest stable release: <p>Please follow below tutorial to upgrade mlmmjadmin to the latest stable release:
<a href="./upgrade.mlmmjadmin.html">Upgrade mlmmjadmin to the latest stable release</a></p> <a href="./upgrade.mlmmjadmin.html">Upgrade mlmmjadmin to the latest stable release</a></p>
<h3 id="upgrade-netdata-to-the-latest-stable-release-1310">Upgrade netdata to the latest stable release (1.31.0)</h3>
<p>If you have netdata installed, you can upgrade it by following this tutorial:
<a href="./upgrade.netdata.html">Upgrade netdata</a>.</p>
<h3 id="amavisd-add-some-useful-ban-rules">Amavisd: Add some useful ban rules</h3> <h3 id="amavisd-add-some-useful-ban-rules">Amavisd: Add some useful ban rules</h3>
<p>Microsoft Office documents are banned with iRedMail default settings, but it's <p>Microsoft Office documents are banned with iRedMail default settings, but it's
common that some mailbox may need to receive such documents.</p> common that some mailbox may need to receive such documents.</p>

View File

@ -29,12 +29,12 @@
</ul> </ul>
</li> </li>
<li><a href="#for-mysql-and-mariadb-backends">For MySQL and MariaDB backends</a><ul> <li><a href="#for-mysql-and-mariadb-backends">For MySQL and MariaDB backends</a><ul>
<li><a href="#fix-incorrect-sql-column-types-in-vmailmailbox-tables">Fix incorrect SQL column types in vmail.mailbox tables</a></li> <li><a href="#fix-incorrect-sql-column-types-and-remove-unused-columns-in-vmailmailbox-tables">Fix incorrect SQL column types and remove unused columns in vmail.mailbox tables</a></li>
<li><a href="#sogo-re-create-sql-view-and-update-config-file">SOGo: Re-create SQL VIEW and update config file</a></li> <li><a href="#sogo-re-create-sql-view-and-update-config-file">SOGo: Re-create SQL VIEW and update config file</a></li>
</ul> </ul>
</li> </li>
<li><a href="#for-postgresql-backend">For PostgreSQL backend</a><ul> <li><a href="#for-postgresql-backend">For PostgreSQL backend</a><ul>
<li><a href="#fix-incorrect-sql-column-types-in-vmailmailbox-tables_1">Fix incorrect SQL column types in vmail.mailbox tables</a></li> <li><a href="#fix-incorrect-sql-column-types-and-remove-unused-columns-in-vmailmailbox-tables_1">Fix incorrect SQL column types and remove unused columns in vmail.mailbox tables</a></li>
<li><a href="#sogo-re-create-sql-view-and-update-config-file_1">SOGo: Re-create SQL VIEW and update config file</a></li> <li><a href="#sogo-re-create-sql-view-and-update-config-file_1">SOGo: Re-create SQL VIEW and update config file</a></li>
</ul> </ul>
</li> </li>
@ -114,7 +114,7 @@ rcctl restart slapd
</code></pre> </code></pre>
<h2 id="for-mysql-and-mariadb-backends">For MySQL and MariaDB backends</h2> <h2 id="for-mysql-and-mariadb-backends">For MySQL and MariaDB backends</h2>
<h3 id="fix-incorrect-sql-column-types-in-vmailmailbox-tables">Fix incorrect SQL column types in <code>vmail.mailbox</code> tables</h3> <h3 id="fix-incorrect-sql-column-types-and-remove-unused-columns-in-vmailmailbox-tables">Fix incorrect SQL column types and remove unused columns in <code>vmail.mailbox</code> tables</h3>
<p>iRedMail-1.4.1 introduced 3 new columns used to enable or disable per-user <p>iRedMail-1.4.1 introduced 3 new columns used to enable or disable per-user
SOGo webmail, calendar and activesync services, but they were set to improper SOGo webmail, calendar and activesync services, but they were set to improper
column <code>CHAR(1)</code> because SOGo doesn't support it, we will change them to column <code>CHAR(1)</code> because SOGo doesn't support it, we will change them to
@ -124,6 +124,12 @@ column <code>CHAR(1)</code> because SOGo doesn't support it, we will change them
<li><code>enablesogocalendar</code></li> <li><code>enablesogocalendar</code></li>
<li><code>enablesogoactivesync</code></li> <li><code>enablesogoactivesync</code></li>
</ul> </ul>
<p>3 columns are not used at all:</p>
<ul>
<li><code>lastlogindate</code></li>
<li><code>lastloginipv4</code></li>
<li><code>lastloginprotocol</code></li>
</ul>
<p>Please download plain SQL file used to update SQL table, then import it as <p>Please download plain SQL file used to update SQL table, then import it as
MySQL root user (Please run commands below as <code>root</code> user):</p> MySQL root user (Please run commands below as <code>root</code> user):</p>
<pre><code>wget -O /tmp/iredmail.mysql https://github.com/iredmail/iRedMail/raw/1.4.2/update/1.4.2/iredmail.mysql <pre><code>wget -O /tmp/iredmail.mysql https://github.com/iredmail/iRedMail/raw/1.4.2/update/1.4.2/iredmail.mysql
@ -140,7 +146,7 @@ rm -f /tmp/sogo.mysql
</code></pre> </code></pre>
<h2 id="for-postgresql-backend">For PostgreSQL backend</h2> <h2 id="for-postgresql-backend">For PostgreSQL backend</h2>
<h3 id="fix-incorrect-sql-column-types-in-vmailmailbox-tables_1">Fix incorrect SQL column types in <code>vmail.mailbox</code> tables</h3> <h3 id="fix-incorrect-sql-column-types-and-remove-unused-columns-in-vmailmailbox-tables_1">Fix incorrect SQL column types and remove unused columns in <code>vmail.mailbox</code> tables</h3>
<p>iRedMail-1.4.1 introduced 3 new columns used to enable or disable per-user <p>iRedMail-1.4.1 introduced 3 new columns used to enable or disable per-user
SOGo webmail, calendar and activesync services, but they were set to improper SOGo webmail, calendar and activesync services, but they were set to improper
column <code>CHAR(1)</code> because SOGo doesn't support it, we will change them to column <code>CHAR(1)</code> because SOGo doesn't support it, we will change them to
@ -150,6 +156,12 @@ column <code>CHAR(1)</code> because SOGo doesn't support it, we will change them
<li><code>enablesogocalendar</code></li> <li><code>enablesogocalendar</code></li>
<li><code>enablesogoactivesync</code></li> <li><code>enablesogoactivesync</code></li>
</ul> </ul>
<p>3 columns are not used at all:</p>
<ul>
<li><code>lastlogindate</code></li>
<li><code>lastloginipv4</code></li>
<li><code>lastloginprotocol</code></li>
</ul>
<p>Download plain SQL file used to update SQL table:</p> <p>Download plain SQL file used to update SQL table:</p>
<pre><code>wget -O /tmp/iredmail.pgsql https://github.com/iredmail/iRedMail/raw/1.4.2/update/1.4.2/iredmail.pgsql <pre><code>wget -O /tmp/iredmail.pgsql https://github.com/iredmail/iRedMail/raw/1.4.2/update/1.4.2/iredmail.pgsql
chmod +r /tmp/iredmail.pgsql chmod +r /tmp/iredmail.pgsql