Commits

Zhang Huangbin committed 8b9bd3f

[LDAP] Fixed: Incorrect maildir path while using Postfix built-in 'virtual' transport.

Comments (0)

Files changed (2)

iRedMail/ChangeLog

     * Rotate Dovecot log files on OpenBSD and FreeBSD.
     * Allow to use attribute domainGlobalAdmin for mail user.
     * Fixed:
+        + [LDAP] Incorrect maildir path while using Postfix built-in
+          'virtual' transport.
         + Incorrect log rotate setting of iRedAPD log file on FreeBSD.
           Thanks openbsdnoob <w-chi _at_ gmx.de> for the report.
 

iRedMail/functions/postfix.sh

 scope           = sub
 query_filter    = (&(objectClass=${LDAP_OBJECTCLASS_MAILUSER})(|(${LDAP_ATTR_USER_RDN}=%s)(&(${LDAP_ENABLED_SERVICE}=${LDAP_SERVICE_SHADOW_ADDRESS})(${LDAP_ATTR_USER_SHADOW_ADDRESS}=%s)))(${LDAP_ATTR_ACCOUNT_STATUS}=${LDAP_STATUS_ACTIVE})(${LDAP_ENABLED_SERVICE}=${LDAP_SERVICE_MAIL})(${LDAP_ENABLED_SERVICE}=${LDAP_SERVICE_DELIVER}))
 result_attribute= mailMessageStore
+result_format   = %s/Maildir/
 debuglevel      = 0
 EOF