Upgrade/iRedMail/0.8.3-0.8.4
From iRedMail
(Difference between revisions)
(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- | + | * 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 = | ||
| - | == | + | == 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 = | = 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.
