Sync iRedMail upgrade tutorial and iRedMail Easy release notes.

This commit is contained in:
Zhang Huangbin 2020-02-03 01:46:29 +08:00
parent 7a98286d16
commit 9526e51a11
4 changed files with 60 additions and 8 deletions

View File

@ -2,17 +2,21 @@
[TOC]
## Upcoming Version: 202001XX01 (Jan XX, 2020) {: id=2020012301 }
## Upcoming Version: 202002XX01 (Feb XX, 2020) {: id=202002XX }
* Postfix:
- Fixed: Backup MX doesn't work.
- Fixed: [LDAP backend] improper filter which causes missing external
members while querying (not-subscribeable) mailing list with alias domain.
- Add 3 files for custom settings:
- `/opt/iredmail/custom/postfix/aliases`: alias file.
- `/opt/iredmail/custom/postfix/sender_bcc`: hash file.
- `/opt/iredmail/custom/postfix/recipient_bcc`: hash file.
* Roundcube:
- Enable plugin `markasjunk` by default.
- Enable plugin `markasjunk` by default. When message is moved to Junk
folder, it will be learnt as spam message. When message is moved from
Junk to any other folder, it will be learnt as clean message.
* Antispam:
- Explicitly specify (DKIM) signed header fields.
@ -41,6 +45,10 @@
- Backup scripts don't rely on Python to calculate dates anymore.
* Improvements of iRedMail Easy platform:
- Fixed: Updating MariaDB/PostgreSQL/OpenLDAP/SOGo separatedly didn't
update their backup scripts.
- New options for cross-domain user query and global address book in
SOGo Groupware.
- Increase php-fpm setting `request_slowlog_timeout` to 60 seconds.
- Updated Postfix package in iRedMail yum repo for PostgreSQL backend on
CentOS 7.

View File

@ -103,7 +103,25 @@ perl -pi -e 's#%d#%s#g' /etc/postfix/ldap/relay_domains.cf
postfix reload
```
### Fixed: OpenLDAP backup script doesn't relies on Python anymore
### Fixed: improper LDAP query filter
The LDAP query used in file `/etc/postfix/ldap/virtual_group_maps.cf`
(Linux/OpenBSD) or `/usr/local/etc/postfix/ldap/virtual_group_maps.cf`
(FreeBSD) is not accurate, it will cause missing external members while
querying (not-subscribeable) mailing list with alias domain.
Please follow steps below to fix it.
* Open file `/etc/postfix/ldap/virtual_group_maps.cf`
(Linux/OpenBSD) or `/usr/local/etc/postfix/ldap/virtual_group_maps.cf`, replace
the `query_filter =` line by below one:
```
query_filter = (&(accountStatus=active)(!(domainStatus=disabled))(enabledService=mail)(enabledService=deliver)(|(&(|(memberOfGroup=%s)(shadowAddress=%s))(|(objectClass=mailUser)(objectClass=mailExternalUser)))(&(memberOfGroup=%s)(|(objectClass=mailAlias)(&(objectClass=mailList)(!(enabledService=mlmmj)))))(&(objectClass=mailList)(enabledService=mlmmj)(|(mail=%s)(shadowAddress=%s)))))
```
* Save your change and restart or reload Postfix service.
### Improvement: OpenLDAP backup script doesn't relies on Python anymore
OpenLDAP backup script `/var/vmail/backup/backup_openldap.sh` shipped in iRedMail-1.0
and earlier releases relies on Python to calculate the date of old backup for

View File

@ -19,7 +19,7 @@
<div class="toc">
<ul>
<li><a href="#iredmail-easy-release-notes">iRedMail Easy: Release Notes</a><ul>
<li><a href="#2020012301">Upcoming Version: 202001XX01 (Jan XX, 2020)</a></li>
<li><a href="#202002XX">Upcoming Version: 202002XX01 (Feb XX, 2020)</a></li>
<li><a href="#20191210">Version: 2019121301 (Dec 13, 2019)</a></li>
<li><a href="#20191210">Version: 2019121001 (Dec 10, 2019)</a></li>
<li><a href="#20191209">Version: 2019120901 (Dec 09, 2019)</a></li>
@ -42,12 +42,14 @@
</li>
</ul>
</div>
<h2 id="2020012301">Upcoming Version: 202001XX01 (Jan XX, 2020)</h2>
<h2 id="202002XX">Upcoming Version: 202002XX01 (Feb XX, 2020)</h2>
<ul>
<li>
<p>Postfix:</p>
<ul>
<li>Fixed: Backup MX doesn't work.</li>
<li>Fixed: [LDAP backend] improper filter which causes missing external
members while querying (not-subscribeable) mailing list with alias domain.</li>
<li>Add 3 files for custom settings:<ul>
<li><code>/opt/iredmail/custom/postfix/aliases</code>: alias file.</li>
<li><code>/opt/iredmail/custom/postfix/sender_bcc</code>: hash file.</li>
@ -59,7 +61,9 @@
<li>
<p>Roundcube:</p>
<ul>
<li>Enable plugin <code>markasjunk</code> by default.</li>
<li>Enable plugin <code>markasjunk</code> by default. When message is moved to Junk
folder, it will be learnt as spam message. When message is moved from
Junk to any other folder, it will be learnt as clean message.</li>
</ul>
</li>
<li>
@ -108,6 +112,10 @@
<li>
<p>Improvements of iRedMail Easy platform:</p>
<ul>
<li>Fixed: Updating MariaDB/PostgreSQL/OpenLDAP/SOGo separatedly didn't
update their backup scripts.</li>
<li>New options for cross-domain user query and global address book in
SOGo Groupware.</li>
<li>Increase php-fpm setting <code>request_slowlog_timeout</code> to 60 seconds.</li>
<li>Updated Postfix package in iRedMail yum repo for PostgreSQL backend on
CentOS 7.</li>

View File

@ -33,7 +33,8 @@
</li>
<li><a href="#for-openldap-backend">For OpenLDAP backend</a><ul>
<li><a href="#fixed-backup-mx-doesnt-work">Fixed: Backup MX doesn't work.</a></li>
<li><a href="#fixed-openldap-backup-script-doesnt-relies-on-python-anymore">Fixed: OpenLDAP backup script doesn't relies on Python anymore</a></li>
<li><a href="#fixed-improper-ldap-query-filter">Fixed: improper LDAP query filter</a></li>
<li><a href="#improvement-openldap-backup-script-doesnt-relies-on-python-anymore">Improvement: OpenLDAP backup script doesn't relies on Python anymore</a></li>
</ul>
</li>
<li><a href="#for-mysqlmariadb-backends">For MySQL/MariaDB backends</a><ul>
@ -126,7 +127,24 @@ incorrect, please run commands below to fix it.</p>
postfix reload
</code></pre>
<h3 id="fixed-openldap-backup-script-doesnt-relies-on-python-anymore">Fixed: OpenLDAP backup script doesn't relies on Python anymore</h3>
<h3 id="fixed-improper-ldap-query-filter">Fixed: improper LDAP query filter</h3>
<p>The LDAP query used in file <code>/etc/postfix/ldap/virtual_group_maps.cf</code>
(Linux/OpenBSD) or <code>/usr/local/etc/postfix/ldap/virtual_group_maps.cf</code>
(FreeBSD) is not accurate, it will cause missing external members while
querying (not-subscribeable) mailing list with alias domain.
Please follow steps below to fix it.</p>
<ul>
<li>Open file <code>/etc/postfix/ldap/virtual_group_maps.cf</code>
(Linux/OpenBSD) or <code>/usr/local/etc/postfix/ldap/virtual_group_maps.cf</code>, replace
the <code>query_filter =</code> line by below one:</li>
</ul>
<pre><code>query_filter = (&amp;(accountStatus=active)(!(domainStatus=disabled))(enabledService=mail)(enabledService=deliver)(|(&amp;(|(memberOfGroup=%s)(shadowAddress=%s))(|(objectClass=mailUser)(objectClass=mailExternalUser)))(&amp;(memberOfGroup=%s)(|(objectClass=mailAlias)(&amp;(objectClass=mailList)(!(enabledService=mlmmj)))))(&amp;(objectClass=mailList)(enabledService=mlmmj)(|(mail=%s)(shadowAddress=%s)))))
</code></pre>
<ul>
<li>Save your change and restart or reload Postfix service.</li>
</ul>
<h3 id="improvement-openldap-backup-script-doesnt-relies-on-python-anymore">Improvement: OpenLDAP backup script doesn't relies on Python anymore</h3>
<p>OpenLDAP backup script <code>/var/vmail/backup/backup_openldap.sh</code> shipped in iRedMail-1.0
and earlier releases relies on Python to calculate the date of old backup for
removal, but not anymore in iRedMail-1.1. Please download the latest version