Zhang Huangbin avatar Zhang Huangbin committed 4f6c571

* Install php53 from vender official yum repo on RHEL/CentOS 5.
* Allow to assign mail list/alias as member of mailing list.

Comments (0)

Files changed (4)

iRedMail/ChangeLog

 iRedMail-0.8.5:
+    * Install php53 from vender official yum repo on RHEL/CentOS 5.
+    * Allow to assign mail list/alias as member of mailing list.
     * New SQL column and LDAP attribute for mail domain, used to store
       preferred language for newly created mail users.
       - SQL: column domain.defaultlang

iRedMail/functions/packages.sh

     #
     ENABLED_SERVICES="${ENABLED_SERVICES} ${HTTPD_RC_SCRIPT_NAME}"
     if [ X"${DISTRO}" == X"RHEL" ]; then
-        ALL_PKGS="${ALL_PKGS} httpd${PKG_ARCH} mod_ssl${PKG_ARCH} php${PKG_ARCH} php-common${PKG_ARCH} php-gd${PKG_ARCH} php-xml${PKG_ARCH} php-mysql${PKG_ARCH} php-ldap${PKG_ARCH} php-pgsql${PKG_ARCH}"
+        ALL_PKGS="${ALL_PKGS} httpd${PKG_ARCH} mod_ssl${PKG_ARCH}"
+
         if [ X"${DISTRO_VERSION}" == X"5" ]; then
-            ALL_PKGS="${ALL_PKGS} php-imap${PKG_ARCH} libmcrypt${PKG_ARCH} php-mcrypt${PKG_ARCH} php-mhash${PKG_ARCH} php-mbstring${PKG_ARCH}"
+            ALL_PKGS="${ALL_PKGS} php53${PKG_ARCH} php53-common${PKG_ARCH} php53-gd${PKG_ARCH} php53-xml${PKG_ARCH} php53-mysql${PKG_ARCH} php53-ldap${PKG_ARCH} php53-pgsql${PKG_ARCH} php53-imap${PKG_ARCH} php53-mbstring${PKG_ARCH}"
+        else
+            ALL_PKGS="${ALL_PKGS} php${PKG_ARCH} php-common${PKG_ARCH} php-gd${PKG_ARCH} php-xml${PKG_ARCH} php-mysql${PKG_ARCH} php-ldap${PKG_ARCH} php-pgsql${PKG_ARCH} php-imap${PKG_ARCH} php-mbstring${PKG_ARCH}"
         fi
 
     elif [ X"${DISTRO}" == X"SUSE" ]; then

iRedMail/samples/iredmail.schema

 objectclass ( 1.3.6.1.4.1.32349.1.2.4.4 NAME 'mailAlias'
     DESC 'Mail Alias' SUP top STRUCTURAL
     MUST ( mail )
-    MAY ( enabledService $ accountStatus $ description $ cn $
+    MAY ( enabledService $ accountStatus $ description $ cn $ memberOfGroup $
         mailForwardingAddress $ shadowAddress $ expiredDate $
         accountSetting $ mailHost ))
 objectclass ( 1.3.6.1.4.1.32349.1.2.4.5 NAME 'mailList'
     DESC 'Mail Domain Admin' SUP top STRUCTURAL
     MUST ( mail )
     MAY ( accountStatus $ description $ accessPolicy $ shadowAddress $
-        enabledService $ hasMember $ listAllowedUser $ cn $
+        enabledService $ memberOfGroup $ hasMember $ listAllowedUser $ cn $
         expiredDate $ accountSetting $ mailHost ))
 objectclass ( 1.3.6.1.4.1.32349.1.2.4.6 NAME 'mailExternalUser'
     DESC 'Mail External User' SUP top STRUCTURAL

iRedMail/samples/postfix/ldap/virtual_group_maps.cf

 bind_pw         = RBUuFDo31MJbLkJgrwkaKkmRg7Cldw
 search_base     = PH_LDAP_BASEDN
 scope           = sub
-query_filter    = (&(accountStatus=active)(enabledService=mail)(enabledService=deliver)(|(memberOfGroup=%s)(shadowAddress=%s))(|(objectClass=mailUser)(objectClass=mailExternalUser)))
+query_filter    = (&(accountStatus=active)(enabledService=mail)(enabledService=deliver)(|(memberOfGroup=%s)(shadowAddress=%s))(|(objectClass=mailUser)(objectClass=mailExternalUser)(objectClass=mailList)(objectClass=mailAlias)))
 result_attribute= mail
 debuglevel      = 0
Tip: Filter by directory path e.g. /media app.js to search for public/media/app.js.
Tip: Use camelCasing e.g. ProjME to search for ProjectModifiedEvent.java.
Tip: Filter by extension type e.g. /repo .js to search for all .js files in the /repo directory.
Tip: Separate your search with spaces e.g. /ssh pom.xml to search for src/ssh/pom.xml.
Tip: Use ↑ and ↓ arrow keys to navigate and return to view the file.
Tip: You can also navigate files with Ctrl+j (next) and Ctrl+k (previous) and view the file with Ctrl+o.
Tip: You can also navigate files with Alt+j (next) and Alt+k (previous) and view the file with Alt+o.