This commit is contained in:
Zhang Huangbin 2014-12-03 22:51:42 +08:00
parent c173aff557
commit 901ba598d5
6 changed files with 52 additions and 28 deletions

View File

@ -21,8 +21,9 @@
</li> </li>
</ul> </ul>
</div> </div>
<p>This tutorial describes how to migrate iRedAdmin open source edition or old <p>This tutorial describes how to update or migrate iRedAdmin (either open source
iRedAdmin-Pro release to the latest iRedAdmin-Pro (full-featured edition).</p> edition or old iRedAdmin-Pro release) to the latest iRedAdmin release (again,
either open source edition or iRedAdmin-Pro).</p>
<h2 id="requirements">Requirements</h2> <h2 id="requirements">Requirements</h2>
<ul> <ul>
<li>You <strong>MUST</strong> have iRedAdmin open source edition or old iRedAdmin-Pro release <li>You <strong>MUST</strong> have iRedAdmin open source edition or old iRedAdmin-Pro release

View File

@ -45,9 +45,10 @@ so that you can know which version of iRedMail you're running. For example:</p>
latest stable release immediately: <a href="http://trac.roundcube.net/wiki/Howto_Upgrade">How to upgrade Roundcube</a></p> latest stable release immediately: <a href="http://trac.roundcube.net/wiki/Howto_Upgrade">How to upgrade Roundcube</a></p>
<h3 id="upgrade-iredapd-postfix-policy-server-to-the-latest-143">Upgrade iRedAPD (Postfix policy server) to the latest 1.4.3</h3> <h3 id="upgrade-iredapd-postfix-policy-server-to-the-latest-143">Upgrade iRedAPD (Postfix policy server) to the latest 1.4.3</h3>
<p>Please follow below tutorial to upgrade iRedAPD to the latest stable release: <p>Please follow below tutorial to upgrade iRedAPD to the latest stable release:
* <a href="http://www.iredmail.org/wiki/index.php?title=IRedMail/FAQ/Upgrade.iRedAPD">How to upgrade iRedAPD-1.4.1 or later versions to iRedAPD-1.4.3</a></p> <a href="http://www.iredmail.org/wiki/index.php?title=IRedMail/FAQ/Upgrade.iRedAPD">How to upgrade iRedAPD-1.4.1 or later versions to iRedAPD-1.4.3</a></p>
<h3 id="upgrade-iredadmin-open-source-edition-to-the-latest-033">Upgrade iRedAdmin (open source edition) to the latest 0.3.3</h3> <h3 id="upgrade-iredadmin-open-source-edition-to-the-latest-stable-release">Upgrade iRedAdmin (open source edition) to the latest stable release</h3>
<p>Please follow this tutorial to upgrade iRedAdmin open source edition to the latest stable release: [[IRedMail/FAQ/Upgrade.iRedAdmin.Open.Source.Edition |How to upgrade iRedAdmin (open source edition) to the latest stable release]]</p> <p>Please follow this tutorial to upgrade iRedAdmin open source edition to the
latest stable release: <a href="./migrate.or.upgrade.iredadmin.html">Upgrade iRedAdmin to the latest stable release</a></p>
<h3 id="upgrade-phpmyadmin-to-the-latest-stable-release">Upgrade phpMyAdmin to the latest stable release</h3> <h3 id="upgrade-phpmyadmin-to-the-latest-stable-release">Upgrade phpMyAdmin to the latest stable release</h3>
<p>Please follow this short tutorial to upgrade phpMyAdmin to the latest stable <p>Please follow this short tutorial to upgrade phpMyAdmin to the latest stable
release: http://docs.phpmyadmin.net/en/latest/setup.html#upgrading-from-an-older-version</p> release: http://docs.phpmyadmin.net/en/latest/setup.html#upgrading-from-an-older-version</p>
@ -67,11 +68,13 @@ Postfix service.</p>
</code></pre> </code></pre>
<p>After this change, you have to update Roundcube config file to use SMTP service <p>After this change, you have to update Roundcube config file to use SMTP service
over TLS. For example: over TLS. For example:</p>
<em> On RHEL/CentOS, it's /var/www/roundcubemail/config/main.inc.php (or config.inc.php) <ul>
</em> On Debian/Ubuntu, it's /usr/share/apache2/roundcubemail/config/main.inc.php (or config.inc.php) <li>On RHEL/CentOS, it's <code>/var/www/roundcubemail/config/main.inc.php</code> (or <code>config.inc.php</code>)</li>
<em> On FreeBSD, it's /usr/local/www/roundcubemail/config/main.inc.php (or config.inc.php) <li>On Debian/Ubuntu, it's <code>/usr/share/apache2/roundcubemail/config/main.inc.php</code> (or <code>config.inc.php</code>)</li>
</em> On OpenBSD, it's /var/www/roundcubemail/config/main.inc.php (or config.inc.php)</p> <li>On FreeBSD, it's <code>/usr/local/www/roundcubemail/config/main.inc.php</code> (or <code>config.inc.php</code>)</li>
<li>On OpenBSD, it's <code>/var/www/roundcubemail/config/main.inc.php</code> (or <code>config.inc.php</code>)</li>
</ul>
<pre><code># Part of Roundcube config file: config.inc.php <pre><code># Part of Roundcube config file: config.inc.php
// OLD settings // OLD settings
@ -175,20 +178,28 @@ protocol lmtp {
</code></pre> </code></pre>
<ul> <ul>
<li>Enable logrotate service for this newly created log file: <li>
** on Linux, please append this new log file name in <code>/etc/logrotate.d/dovecot</code> like below:</li> <p>Enable logrotate service for this newly created log file:</p>
<ul>
<li>on Linux, please append this new log file name in <code>/etc/logrotate.d/dovecot</code> like below:</li>
</ul>
</li>
</ul> </ul>
<pre><code># Part of file: /etc/logrotate.d/dovecot <pre><code># Part of file: /etc/logrotate.d/dovecot
/var/log/dovecot.log /var/log/dovecot-lmtp.log { /var/log/dovecot.log /var/log/dovecot-lmtp.log {
</code></pre> </code></pre>
<p>** on FreeBSD, please append below line in file <code>/etc/newsyslog.conf</code>:</p> <ul>
<li>on FreeBSD, please append below line in file <code>/etc/newsyslog.conf</code>:</li>
</ul>
<pre><code># Part of file: /etc/newsyslog.conf <pre><code># Part of file: /etc/newsyslog.conf
/var/log/dovecot-lmtp.log vmail:vmail 600 7 * 24 Z /var/run/dovecot/master.pid /var/log/dovecot-lmtp.log vmail:vmail 600 7 * 24 Z /var/run/dovecot/master.pid
</code></pre> </code></pre>
<p>** on OpenBSD, please append below line in file <code>/etc/newsyslog.conf</code>:</p> <ul>
<li>on OpenBSD, please append below line in file <code>/etc/newsyslog.conf</code>:</li>
</ul>
<pre><code># Part of file: /etc/newsyslog.conf <pre><code># Part of file: /etc/newsyslog.conf
/var/log/dovecot-lmtp.log vmail:vmail 600 7 * 24 Z &quot;/usr/local/bin/doveadm log reopen&quot; /var/log/dovecot-lmtp.log vmail:vmail 600 7 * 24 Z &quot;/usr/local/bin/doveadm log reopen&quot;

View File

@ -19,6 +19,7 @@
<li><a href="#update-etciredmail-release-with-iredmail-version-number">Update /etc/iredmail-release with iRedMail version number</a></li> <li><a href="#update-etciredmail-release-with-iredmail-version-number">Update /etc/iredmail-release with iRedMail version number</a></li>
<li><a href="#upgrade-roundcube-webmail-to-the-latest-stable-release">Upgrade Roundcube webmail to the latest stable release</a></li> <li><a href="#upgrade-roundcube-webmail-to-the-latest-stable-release">Upgrade Roundcube webmail to the latest stable release</a></li>
<li><a href="#upgrade-iredapd-postfix-policy-server-to-the-latest-144">Upgrade iRedAPD (Postfix policy server) to the latest 1.4.4</a></li> <li><a href="#upgrade-iredapd-postfix-policy-server-to-the-latest-144">Upgrade iRedAPD (Postfix policy server) to the latest 1.4.4</a></li>
<li><a href="#upgrade-iredadmin-open-source-edition-to-the-latest-stable-release">Upgrade iRedAdmin (open source edition) to the latest stable release</a></li>
<li><a href="#fix-improper-postfix-setting-in-both-maincf-and-mastercf">Fix improper Postfix setting in both main.cf and master.cf</a></li> <li><a href="#fix-improper-postfix-setting-in-both-maincf-and-mastercf">Fix improper Postfix setting in both main.cf and master.cf</a></li>
<li><a href="#fix-improper-file-permission-of-amavisd-config-file">Fix improper file permission of Amavisd config file</a></li> <li><a href="#fix-improper-file-permission-of-amavisd-config-file">Fix improper file permission of Amavisd config file</a></li>
<li><a href="#fix-incorrect-setting-to-enable-daily-cron-job-to-update-spamassassin-rules">Fix incorrect setting to enable daily cron job to update SpamAssassin rules</a></li> <li><a href="#fix-incorrect-setting-to-enable-daily-cron-job-to-update-spamassassin-rules">Fix incorrect setting to enable daily cron job to update SpamAssassin rules</a></li>
@ -76,7 +77,10 @@ latest stable release immediately: <a href="http://trac.roundcube.net/wiki/Howto
<p>iRedAPD-1.4.4 brings several new plugins, and works with Postfix parameter <p>iRedAPD-1.4.4 brings several new plugins, and works with Postfix parameter
<code>smtpd_end_of_data_restrictions</code> (protocol state <code>END-OF-MESSAGE</code>).</p> <code>smtpd_end_of_data_restrictions</code> (protocol state <code>END-OF-MESSAGE</code>).</p>
<p>Please follow below tutorial to upgrade iRedAPD to the latest stable release: <p>Please follow below tutorial to upgrade iRedAPD to the latest stable release:
* <a href="http://www.iredmail.org/wiki/index.php?title=IRedMail/FAQ/Upgrade.iRedAPD">How to upgrade iRedAPD-1.4.1 or later versions to iRedAPD-1.4.4</a></p> <a href="http://www.iredmail.org/wiki/index.php?title=IRedMail/FAQ/Upgrade.iRedAPD">How to upgrade iRedAPD-1.4.1 or later versions to iRedAPD-1.4.4</a></p>
<h3 id="upgrade-iredadmin-open-source-edition-to-the-latest-stable-release">Upgrade iRedAdmin (open source edition) to the latest stable release</h3>
<p>Please follow this tutorial to upgrade iRedAdmin open source edition to the
latest stable release: <a href="./migrate.or.upgrade.iredadmin.html">Upgrade iRedAdmin to the latest stable release</a></p>
<h3 id="fix-improper-postfix-setting-in-both-maincf-and-mastercf">Fix improper Postfix setting in both main.cf and master.cf</h3> <h3 id="fix-improper-postfix-setting-in-both-maincf-and-mastercf">Fix improper Postfix setting in both main.cf and master.cf</h3>
<p>Currently, we don't have Postfix parameter <code>receive_override_options=</code> set in <p>Currently, we don't have Postfix parameter <code>receive_override_options=</code> set in
<code>/etc/postfix/main.cf</code>, instead, we have it in transport <code>127.0.0.1:10025</code> <code>/etc/postfix/main.cf</code>, instead, we have it in transport <code>127.0.0.1:10025</code>

View File

@ -2,8 +2,9 @@
[TOC] [TOC]
This tutorial describes how to migrate iRedAdmin open source edition or old This tutorial describes how to update or migrate iRedAdmin (either open source
iRedAdmin-Pro release to the latest iRedAdmin-Pro (full-featured edition). edition or old iRedAdmin-Pro release) to the latest iRedAdmin release (again,
either open source edition or iRedAdmin-Pro).
## Requirements ## Requirements

View File

@ -38,11 +38,12 @@ latest stable release immediately: [How to upgrade Roundcube](http://trac.roundc
### Upgrade iRedAPD (Postfix policy server) to the latest 1.4.3 ### Upgrade iRedAPD (Postfix policy server) to the latest 1.4.3
Please follow below tutorial to upgrade iRedAPD to the latest stable release: Please follow below tutorial to upgrade iRedAPD to the latest stable release:
* [How to upgrade iRedAPD-1.4.1 or later versions to iRedAPD-1.4.3](http://www.iredmail.org/wiki/index.php?title=IRedMail/FAQ/Upgrade.iRedAPD) [How to upgrade iRedAPD-1.4.1 or later versions to iRedAPD-1.4.3](http://www.iredmail.org/wiki/index.php?title=IRedMail/FAQ/Upgrade.iRedAPD)
### Upgrade iRedAdmin (open source edition) to the latest 0.3.3 ### Upgrade iRedAdmin (open source edition) to the latest stable release
Please follow this tutorial to upgrade iRedAdmin open source edition to the latest stable release: [[IRedMail/FAQ/Upgrade.iRedAdmin.Open.Source.Edition |How to upgrade iRedAdmin (open source edition) to the latest stable release]] Please follow this tutorial to upgrade iRedAdmin open source edition to the
latest stable release: [Upgrade iRedAdmin to the latest stable release](./migrate.or.upgrade.iredadmin.html)
### Upgrade phpMyAdmin to the latest stable release ### Upgrade phpMyAdmin to the latest stable release
@ -69,10 +70,11 @@ Postfix service.
After this change, you have to update Roundcube config file to use SMTP service After this change, you have to update Roundcube config file to use SMTP service
over TLS. For example: over TLS. For example:
* On RHEL/CentOS, it's /var/www/roundcubemail/config/main.inc.php (or config.inc.php)
* On Debian/Ubuntu, it's /usr/share/apache2/roundcubemail/config/main.inc.php (or config.inc.php) * On RHEL/CentOS, it's `/var/www/roundcubemail/config/main.inc.php` (or `config.inc.php`)
* On FreeBSD, it's /usr/local/www/roundcubemail/config/main.inc.php (or config.inc.php) * On Debian/Ubuntu, it's `/usr/share/apache2/roundcubemail/config/main.inc.php` (or `config.inc.php`)
* On OpenBSD, it's /var/www/roundcubemail/config/main.inc.php (or config.inc.php) * On FreeBSD, it's `/usr/local/www/roundcubemail/config/main.inc.php` (or `config.inc.php`)
* On OpenBSD, it's `/var/www/roundcubemail/config/main.inc.php` (or `config.inc.php`)
``` ```
# Part of Roundcube config file: config.inc.php # Part of Roundcube config file: config.inc.php
@ -183,7 +185,8 @@ __NOTE__: For OpenBSD users, please replace `user = postfix` by
``` ```
* Enable logrotate service for this newly created log file: * Enable logrotate service for this newly created log file:
** on Linux, please append this new log file name in `/etc/logrotate.d/dovecot` like below:
* on Linux, please append this new log file name in `/etc/logrotate.d/dovecot` like below:
``` ```
# Part of file: /etc/logrotate.d/dovecot # Part of file: /etc/logrotate.d/dovecot
@ -191,14 +194,14 @@ __NOTE__: For OpenBSD users, please replace `user = postfix` by
/var/log/dovecot.log /var/log/dovecot-lmtp.log { /var/log/dovecot.log /var/log/dovecot-lmtp.log {
``` ```
** on FreeBSD, please append below line in file `/etc/newsyslog.conf`: * on FreeBSD, please append below line in file `/etc/newsyslog.conf`:
``` ```
# Part of file: /etc/newsyslog.conf # Part of file: /etc/newsyslog.conf
/var/log/dovecot-lmtp.log vmail:vmail 600 7 * 24 Z /var/run/dovecot/master.pid /var/log/dovecot-lmtp.log vmail:vmail 600 7 * 24 Z /var/run/dovecot/master.pid
``` ```
** on OpenBSD, please append below line in file `/etc/newsyslog.conf`: * on OpenBSD, please append below line in file `/etc/newsyslog.conf`:
``` ```
# Part of file: /etc/newsyslog.conf # Part of file: /etc/newsyslog.conf

View File

@ -43,8 +43,12 @@ iRedAPD-1.4.4 brings several new plugins, and works with Postfix parameter
`smtpd_end_of_data_restrictions` (protocol state `END-OF-MESSAGE`). `smtpd_end_of_data_restrictions` (protocol state `END-OF-MESSAGE`).
Please follow below tutorial to upgrade iRedAPD to the latest stable release: Please follow below tutorial to upgrade iRedAPD to the latest stable release:
* [How to upgrade iRedAPD-1.4.1 or later versions to iRedAPD-1.4.4](http://www.iredmail.org/wiki/index.php?title=IRedMail/FAQ/Upgrade.iRedAPD) [How to upgrade iRedAPD-1.4.1 or later versions to iRedAPD-1.4.4](http://www.iredmail.org/wiki/index.php?title=IRedMail/FAQ/Upgrade.iRedAPD)
### Upgrade iRedAdmin (open source edition) to the latest stable release
Please follow this tutorial to upgrade iRedAdmin open source edition to the
latest stable release: [Upgrade iRedAdmin to the latest stable release](./migrate.or.upgrade.iredadmin.html)
### Fix improper Postfix setting in both main.cf and master.cf ### Fix improper Postfix setting in both main.cf and master.cf