Commits

Zhang Huangbin committed 19a0c91

[ldap] Require enabledService=deliver instead of enabledService=smtp for maillist members.

  • Participants
  • Parent commits dcf4189

Comments (0)

Files changed (2)

File iRedMail/ChangeLog

           Thanks moreni <fmoreni _at_ simtrack.com.br> for the report.
         + [mysql & pgsql] Incorrect maildir path while using Postfix built-in
           'virtual' as transport.
-        + [ldap] Don't require enabledService=smtp for maillist members.
+        + [ldap] Require enabledService=deliver instead of enabledService=smtp
+          for maillist members.
           Thanks rain6966 <uenuan@gmail> for the report.
 
 iRedMail-0.8.0:

File iRedMail/functions/postfix.sh

 bind_pw         = ${LDAP_BINDPW}
 search_base     = ${LDAP_BASEDN}
 scope           = sub
-query_filter    = (&(objectClass=${LDAP_OBJECTCLASS_MAILUSER})(${LDAP_ATTR_ACCOUNT_STATUS}=${LDAP_STATUS_ACTIVE})(${LDAP_ENABLED_SERVICE}=${LDAP_SERVICE_MAIL})(|(${LDAP_ATTR_USER_RDN}=%s)(&(${LDAP_ENABLED_SERVICE}=${LDAP_SERVICE_SHADOW_ADDRESS})(${LDAP_ATTR_USER_SHADOW_ADDRESS}=%s))))
+query_filter    = (&(objectClass=${LDAP_OBJECTCLASS_MAILUSER})(${LDAP_ATTR_ACCOUNT_STATUS}=${LDAP_STATUS_ACTIVE})(${LDAP_ENABLED_SERVICE}=${LDAP_SERVICE_MAIL})(${LDAP_ENABLED_SERVICE}=${LDAP_SERVICE_DELIVER})(|(${LDAP_ATTR_USER_RDN}=%s)(&(${LDAP_ENABLED_SERVICE}=${LDAP_SERVICE_SHADOW_ADDRESS})(${LDAP_ATTR_USER_SHADOW_ADDRESS}=%s))))
 result_attribute= ${LDAP_ATTR_USER_RDN}
 debuglevel      = 0
 EOF