Upgrade/iRedMail/0.8.3-0.8.4

From iRedMail

(Difference between revisions)
Jump to: navigation, search
(Created page with '__TOC__ = ChangeLog = * 2012-10-16: [ldap] Fix incorrect LDAP URI in Cluebringer config file. = General (All backends should apply these steps) = = OpenLDAP backend special = …')
Line 2: Line 2:
= ChangeLog =
= ChangeLog =
-
* 2012-10-16: [ldap] Fix incorrect LDAP URI in Cluebringer config file.
+
* 2012-10-24: [ldap] Fixed: cannot handle alias domains in Postfix per-user bcc lookup files.
= General (All backends should apply these steps) =
= General (All backends should apply these steps) =
= OpenLDAP backend special =
= OpenLDAP backend special =
-
== Fix incorrect LDAP URI in Cluebringer config file ==
+
== Supports alias domains in Postfix per-user bcc lookup files ==
 +
* In /etc/postfix/ldap/sender_bcc_maps_user.cf, replace "(mail=%s)" by "(|(mail=%s)(&(enabledService=shadowaddress)(shadowAddress=%s)))" in parameter "query_filter =". The final LDAP filter looks like below:
 +
[code]
 +
query_filter    = (&(|(mail=%s)(&(enabledService=shadowaddress)(shadowAddress=%s)))(objectClass=mailUser)(accountStatus=active)(enabledService=mail)(enabledService=senderbcc))
 +
[/code]
-
Note: This step is applicable if you have Cluebringer installed, which means you're running PostgreSQL backend, or running Debian 7 (wheezy), Ubuntu 11.10 and later releases.
+
* Perform the same modification in file /etc/postfix/ldap/recipient_bcc_user.cf, the final LDAP filter looks like below:
 +
[code]
 +
query_filter    = (&(|(mail=%s)(&(enabledService=shadowaddress)(shadowAddress=%s)))(objectClass=mailUser)(accountStatus=active)(enabledService=mail)(enabledService=recipientbcc))
 +
[/code]
-
* Open Apache config file of Cluebringer
+
* Restarting Postfix service is required.
-
** on RHEL/CentOS/Scientific Linux 6, it's '''/etc/httpd/conf.d/cluebringer.conf'''.
+
-
** on Debian 7 (wheezy), or Ubuntu 11.10 or later releases, it's '''/etc/apache2/conf.d/cluebringer.conf'''.
+
-
** on FreeBSD, it's '''/usr/local/etc/apache22/Includes/cluebringer.conf'''.
+
-
 
+
-
* Find parameter '''AuthLDAPUrl''' and update it:
+
-
** replace '''o=domainAdmins''' by '''o=domains'''
+
-
** replace '''objectclass=mailAdmin''' by '''objectclass=mailUser'''
+
-
 
+
-
* Save changes and restarting Apache web server.
+
= MySQL backend special =
= MySQL backend special =
= PostgreSQL backend special =
= PostgreSQL backend special =

Revision as of 14:11, 24 October 2012

Contents


ChangeLog

  • 2012-10-24: [ldap] Fixed: cannot handle alias domains in Postfix per-user bcc lookup files.

General (All backends should apply these steps)

OpenLDAP backend special

Supports alias domains in Postfix per-user bcc lookup files

  • In /etc/postfix/ldap/sender_bcc_maps_user.cf, replace "(mail=%s)" by "(|(mail=%s)(&(enabledService=shadowaddress)(shadowAddress=%s)))" in parameter "query_filter =". The final LDAP filter looks like below:

[code] query_filter = (&(|(mail=%s)(&(enabledService=shadowaddress)(shadowAddress=%s)))(objectClass=mailUser)(accountStatus=active)(enabledService=mail)(enabledService=senderbcc)) [/code]

  • Perform the same modification in file /etc/postfix/ldap/recipient_bcc_user.cf, the final LDAP filter looks like below:

[code] query_filter = (&(|(mail=%s)(&(enabledService=shadowaddress)(shadowAddress=%s)))(objectClass=mailUser)(accountStatus=active)(enabledService=mail)(enabledService=recipientbcc)) [/code]

  • Restarting Postfix service is required.

MySQL backend special

PostgreSQL backend special

Personal tools