Sync iRedMail upgrade tutorial.

This commit is contained in:
Zhang Huangbin 2017-12-24 11:11:15 +08:00
parent 2e61dfcdc4
commit 1bf766f00c
4 changed files with 58 additions and 2 deletions

View File

@ -11,9 +11,10 @@ You can also contact us via email directly: [Contact Us](https://www.iredmail.or
### Work In Progress
* Integrate [mlmmj](http://mlmmj.org) mailing list manager.
* Improve iRedAPD to handle access policy of mlmmj mailing list.
* [DONE] RESTful API server used to manage mlmmj: [mlmmj-admin](https://bitbucket.org/iredmail/mlmmj-admin/src).
* [DONE] Integrate mlmmj and mlmmj-admin in iRedAdmin-Pro for SQL backends.
* Integrate mlmmj and mlmmj-admin in iRedAdmin-Pro for LDAP backends.
* [DONE] Integrate mlmmj and mlmmj-admin in iRedAdmin-Pro for LDAP backends.
* Replace Awstats by [netdata](https://my-netdata.io).
* [DONE] <strike>Remove Awstats.</strike>
@ -88,6 +89,7 @@ Features listed below have been implemented in latest development edition.
message if necessary.
* Destroy delivered messages which matches given query.
* LOW: Allow domain admin to share someone's mailbox folder to others.
* SOGo management via command line tool `sogo-tool`.
* Dovecot:
* Enable plugin `imap_sieve` for spam learning while user moving message to

View File

@ -23,6 +23,7 @@
* New table: `vmail.maillists`
* New doc: how to add a standalone (mlmmj) mailing list account
* New doc: how to deploy mlmmj + mlmmj-admin
* Dec 18, 2017: Don't hard-code static file types in Nginx template for iRedAdmin.
* Nov 24, 2017: Amavisd: Add new SQL column `maddr.email_raw` to store mail address without address extension.
* Nov 17, 2017: Fixed: Improper Postfix SQL queries used to query per-user bcc address.
* Oct 6, 2017: Fixed: SOGo backup script contains 3 issues
@ -72,6 +73,34 @@ chown root backup_sogo.sh
chmod 0400 backup_sogo.sh
```
### Fixed: Nginx snippet file hard-codes static file types for iRedAdmin
!!! attention
This is only applicable to Nginx.
With default iRedMail settings, Nginx snippet file `/etc/nginx/templates/iredadmin.tmpl`
(on Linux/OpenBSD) or `/usr/local/etc/nginx/templates/iredadmin.tmpl` (on FreeBSD)
hard-codes static file types like below:
```
location ~ ^/iredadmin/static/(.*)\.(png|jpg|gif|css|js) {
alias /var/www/iredadmin/static/$1.$2;
}
```
Note: The path in `alias` directive is different on different Linux/BSD distributions.
Please replace it by:
```
location ~ ^/iredadmin/static/(.*) { # Remove file types
alias /var/www/iredadmin/static/$1; # Remove '.$2'
}
```
Reloading or restarting Nginx service is required.
### [OPTIONAL] Fix improper expected DNSBL filter for site `b.barracudacentral.org`
Postfix config file generated by iRedMail enables DNSBL service for postscreen

View File

@ -38,9 +38,10 @@
<li>
<p>Integrate <a href="http://mlmmj.org">mlmmj</a> mailing list manager.</p>
<ul>
<li>Improve iRedAPD to handle access policy of mlmmj mailing list.</li>
<li>[DONE] RESTful API server used to manage mlmmj: <a href="https://bitbucket.org/iredmail/mlmmj-admin/src">mlmmj-admin</a>.</li>
<li>[DONE] Integrate mlmmj and mlmmj-admin in iRedAdmin-Pro for SQL backends.</li>
<li>Integrate mlmmj and mlmmj-admin in iRedAdmin-Pro for LDAP backends.</li>
<li>[DONE] Integrate mlmmj and mlmmj-admin in iRedAdmin-Pro for LDAP backends.</li>
</ul>
</li>
<li>
@ -148,6 +149,7 @@
</ul>
</li>
<li>LOW: Allow domain admin to share someone's mailbox folder to others.</li>
<li>SOGo management via command line tool <code>sogo-tool</code>.</li>
</ul>
</li>
<li>

View File

@ -24,6 +24,7 @@
<li><a href="#update-etciredmail-release-with-new-iredmail-version-number">Update /etc/iredmail-release with new iRedMail version number</a></li>
<li><a href="#upgrade-iredapd-postfix-policy-server-to-the-latest-stable-release-22">Upgrade iRedAPD (Postfix policy server) to the latest stable release (2.2)</a></li>
<li><a href="#fixed-sogo-backup-script-contains-3-issues">Fixed: SOGo backup script contains 3 issues</a></li>
<li><a href="#fixed-nginx-snippet-file-hard-codes-static-file-types-for-iredadmin">Fixed: Nginx snippet file hard-codes static file types for iRedAdmin</a></li>
<li><a href="#optional-fix-improper-expected-dnsbl-filter-for-site-bbarracudacentralorg">[OPTIONAL] Fix improper expected DNSBL filter for site b.barracudacentral.org</a></li>
<li><a href="#optional-log-mail-subject-sender-size-in-mail-deliver-log">[OPTIONAL] Log mail subject, sender, size in mail deliver log</a></li>
</ul>
@ -75,6 +76,7 @@ check <a href="https://www.iredmail.org/support.html">the details</a> and
<li>New doc: how to deploy mlmmj + mlmmj-admin</li>
</ul>
</li>
<li>Dec 18, 2017: Don't hard-code static file types in Nginx template for iRedAdmin.</li>
<li>Nov 24, 2017: Amavisd: Add new SQL column <code>maddr.email_raw</code> to store mail address without address extension.</li>
<li>Nov 17, 2017: Fixed: Improper Postfix SQL queries used to query per-user bcc address.</li>
<li>Oct 6, 2017: Fixed: SOGo backup script contains 3 issues</li>
@ -115,6 +117,27 @@ chown root backup_sogo.sh
chmod 0400 backup_sogo.sh
</code></pre>
<h3 id="fixed-nginx-snippet-file-hard-codes-static-file-types-for-iredadmin">Fixed: Nginx snippet file hard-codes static file types for iRedAdmin</h3>
<div class="admonition attention">
<p class="admonition-title">Attention</p>
<p>This is only applicable to Nginx.</p>
</div>
<p>With default iRedMail settings, Nginx snippet file <code>/etc/nginx/templates/iredadmin.tmpl</code>
(on Linux/OpenBSD) or <code>/usr/local/etc/nginx/templates/iredadmin.tmpl</code> (on FreeBSD)
hard-codes static file types like below:</p>
<pre><code>location ~ ^/iredadmin/static/(.*)\.(png|jpg|gif|css|js) {
alias /var/www/iredadmin/static/$1.$2;
}
</code></pre>
<p>Note: The path in <code>alias</code> directive is different on different Linux/BSD distributions.</p>
<p>Please replace it by:</p>
<pre><code>location ~ ^/iredadmin/static/(.*) { # Remove file types
alias /var/www/iredadmin/static/$1; # Remove '.$2'
}
</code></pre>
<p>Reloading or restarting Nginx service is required.</p>
<h3 id="optional-fix-improper-expected-dnsbl-filter-for-site-bbarracudacentralorg">[OPTIONAL] Fix improper expected DNSBL filter for site <code>b.barracudacentral.org</code></h3>
<p>Postfix config file generated by iRedMail enables DNSBL service for postscreen
service like below:</p>