From 9526e51a115cfe16bf88c3b25bc60c7e35a76da2 Mon Sep 17 00:00:00 2001
From: Zhang Huangbin
Date: Mon, 3 Feb 2020 01:46:29 +0800
Subject: [PATCH] Sync iRedMail upgrade tutorial and iRedMail Easy release
notes.
---
.../4-iredmail-easy.release.notes.md | 12 ++++++++--
en_US/upgrade/0-upgrade.iredmail.1.0-1.1.md | 20 ++++++++++++++++-
html/iredmail-easy.release.notes.html | 14 +++++++++---
html/upgrade.iredmail.1.0-1.1.html | 22 +++++++++++++++++--
4 files changed, 60 insertions(+), 8 deletions(-)
diff --git a/en_US/iredmail-easy/4-iredmail-easy.release.notes.md b/en_US/iredmail-easy/4-iredmail-easy.release.notes.md
index ff80ac8c..bc35c17d 100644
--- a/en_US/iredmail-easy/4-iredmail-easy.release.notes.md
+++ b/en_US/iredmail-easy/4-iredmail-easy.release.notes.md
@@ -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.
diff --git a/en_US/upgrade/0-upgrade.iredmail.1.0-1.1.md b/en_US/upgrade/0-upgrade.iredmail.1.0-1.1.md
index d9de3b99..abab6fb8 100644
--- a/en_US/upgrade/0-upgrade.iredmail.1.0-1.1.md
+++ b/en_US/upgrade/0-upgrade.iredmail.1.0-1.1.md
@@ -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
diff --git a/html/iredmail-easy.release.notes.html b/html/iredmail-easy.release.notes.html
index 1d5189de..0708a496 100644
--- a/html/iredmail-easy.release.notes.html
+++ b/html/iredmail-easy.release.notes.html
@@ -19,7 +19,7 @@
-Upcoming Version: 202001XX01 (Jan XX, 2020)
+Upcoming Version: 202002XX01 (Feb XX, 2020)
-
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:
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
removal, but not anymore in iRedMail-1.1. Please download the latest version