Commits

Zhang Huangbin  committed ec7b29f

* Fixed: Add missing SQL column (mailbox.enableindexer-worker) and LDAP attribute/value pair: enabledService=indexer-worker. Required by Dovecot.
Thanks dwbotsch <botsch _at_ cnf.cornell.edu> for the report.
* Bump version number for next release: iRedMail-0.9.0.

  • Participants
  • Parent commits 4f8db54

Comments (0)

Files changed (8)

File iRedMail/ChangeLog

+iRedMail-0.9.0:
+    * Fixed:
+        - Add missing SQL column (mailbox.enableindexer-worker) and LDAP
+          attribute/value pair: enabledService=indexer-worker. Required by
+          Dovecot.
+          Thanks dwbotsch <botsch _at_ cnf.cornell.edu> for the report.
+
 iRedMail-0.8.7:
     * Works on new Linux/BSD distribution releases:
         + Ubuntu 14.04 LTS. With MariaDB support.

File iRedMail/conf/global

 
 export PROG_NAME='iRedMail'
 export PROG_NAME_LOWERCASE='iredmail'
-export PROG_VERSION='0.8.7'
+export PROG_VERSION='0.9.0'
 
 export DATE="$(/bin/date +%Y.%m.%d.%H.%M.%S)"
 

File iRedMail/conf/openldap

 export LDAP_SERVICE_SHADOW_ADDRESS='shadowaddress'
 export LDAP_SERVICE_DISPLAYED_IN_ADDRBOOK='displayedInGlobalAddressBook'
 export LDAP_SERVICE_LIB_STORAGE='lib-storage'
+export LDAP_SERVICE_INDEXER_WORKER='indexer-worker'
 export LDAP_SERVICE_DOMAIN_ADMIN='domainadmin'
 
 # Shared attributes.

File iRedMail/functions/ldap_server.sh

 ${LDAP_ENABLED_SERVICE}: ${LDAP_SERVICE_DISPLAYED_IN_ADDRBOOK}
 ${LDAP_ENABLED_SERVICE}: ${LDAP_SERVICE_SHADOW_ADDRESS}
 ${LDAP_ENABLED_SERVICE}: ${LDAP_SERVICE_LIB_STORAGE}
+${LDAP_ENABLED_SERVICE}: ${LDAP_SERVICE_INDEXER_WORKER}
 ${LDAP_ENABLED_SERVICE}: ${LDAP_SERVICE_DOMAIN_ADMIN}
 ${LDAP_ATTR_DOMAIN_GLOBALADMIN}: yes
 EOF

File iRedMail/samples/iredmail.mysql

     enableinternal TINYINT(1) NOT NULL DEFAULT 1,
     enabledoveadm TINYINT(1) NOT NULL DEFAULT 1,
     `enablelib-storage` TINYINT(1) NOT NULL DEFAULT 1,
+    `enableindexer-worker` TINYINT(1) NOT NULL DEFAULT 1,
     enablelmtp TINYINT(1) NOT NULL DEFAULT 1,
     lastlogindate DATETIME NOT NULL DEFAULT '0000-00-00 00:00:00',
     lastloginipv4 INT(4) UNSIGNED NOT NULL DEFAULT 0,
     INDEX (enableinternal),
     INDEX (enabledoveadm),
     INDEX (`enablelib-storage`),
+    INDEX (`enableindexer-worker`),
     INDEX (passwordlastchange),
     INDEX (expired),
     INDEX (active)

File iRedMail/samples/iredmail.pgsql

     enableinternal INT2 NOT NULL DEFAULT 1,
     enabledoveadm INT2 NOT NULL DEFAULT 1,
     "enablelib-storage" INT2 NOT NULL DEFAULT 1,
+    "enableindexer-worker" INT2 NOT NULL DEFAULT 1,
     enablelmtp INT2 NOT NULL DEFAULT 1,
     lastlogindate TIMESTAMP WITHOUT TIME ZONE NOT NULL DEFAULT '1970-01-01 00:00:00',
     lastloginipv4 INET NOT NULL DEFAULT '0.0.0.0',
 CREATE INDEX idx_mailbox_enableinternal ON mailbox (enableinternal);
 CREATE INDEX idx_mailbox_enabledoveadm ON mailbox (enabledoveadm);
 CREATE INDEX idx_mailbox_enablelib_storage ON mailbox ("enablelib-storage");
+CREATE INDEX idx_mailbox_enableindexer_worker ON mailbox ("enableindexer-worker");
 CREATE INDEX idx_mailbox_passwordlastchange ON mailbox (passwordlastchange);
 CREATE INDEX idx_mailbox_expired ON mailbox (expired);
 CREATE INDEX idx_mailbox_active ON mailbox (active);

File iRedMail/tools/create_mail_user_OpenLDAP.py

         ('homeDirectory',       [homeDirectory]),
         ('accountStatus',       ['active']),
         ('mtaTransport',        ['dovecot']),
-        ('enabledService',      ['internal', 'doveadm', 'lib-storage',
+        ('enabledService',      ['internal', 'doveadm', 'lib-storage', 'indexer-worker',
                                  'mail', 'smtp', 'smtpsecured',
                                  'pop3', 'pop3secured', 'imap', 'imapsecured',
                                 'deliver', 'lda', 'forward', 'senderbcc', 'recipientbcc',

File iRedMail/tools/create_mail_user_OpenLDAP.sh

 enabledService: internal
 enabledService: doveadm
 enabledService: lib-storage
+enabledService: indexer-worker
 enabledService: mail
 enabledService: pop3
 enabledService: pop3secured