Commits

Zhang Huangbin  committed a7d7b53

New SQL column and LDAP attribute for mail domain, used to store
preferred language for newly created mail users.
- SQL: 'domain.defaultlang'
- OpenLDAP: attribute 'preferredLanguage' for mailDomain object.

  • Participants
  • Parent commits a149310

Comments (0)

Files changed (4)

File iRedMail/ChangeLog

+iRedMail-0.8.5:
+    * New SQL column and LDAP attribute for mail domain, used to store
+      preferred language for newly created mail users.
+      - SQL: column domain.defaultlang
+      - OpenLDAP: attribute 'preferredLanguage' for mailDomain object
+
 iRedMail-0.8.4:
     * Enable Dovecot Master User by default, but no pre-defined account.
     * [SQL] New SQL columns in `vmail.mailbox` for per-user restriction, used

File iRedMail/samples/iredmail.mysql

     -- Per-domain transport. e.g. dovecot, smtp:[192.168.1.1]:25
     transport VARCHAR(255) NOT NULL DEFAULT 'dovecot',
     backupmx TINYINT(1) NOT NULL DEFAULT 0,
+    -- Default preferred language for newly created mail user.
+    defaultlanguage VARCHAR(5) NOT NULL DEFAULT 'en_US',
     -- Default quota size for newly created mail account.
     defaultuserquota BIGINT(20) NOT NULL DEFAULT '1024',
     -- List of mail alias addresses, Newly created user will be

File iRedMail/samples/iredmail.pgsql

     -- Per-domain transport. e.g. dovecot, smtp:[192.168.1.1]:25
     transport VARCHAR(255) NOT NULL DEFAULT 'dovecot',
     backupmx INT2 NOT NULL DEFAULT 0,
+    -- Default preferred language for newly created mail user.
+    defaultlanguage VARCHAR(5) NOT NULL DEFAULT 'en_US',
     -- Default quota size for newly created mail account.
     defaultuserquota INT8 NOT NULL DEFAULT '1024',
     -- List of mail alias addresses, Newly created user will be

File iRedMail/samples/iredmail.schema

         description $ street $ telephoneNumber $
         facsimileTelephoneNumber $ expiredDate $ accountSetting $
         domainWhitelistIP $ domainWhitelistSender $
-        domainBlacklistIP $ domainBlacklistSender ))
+        domainBlacklistIP $ domainBlacklistSender $
+        preferredLanguage ))
 objectclass ( 1.3.6.1.4.1.32349.1.2.4.2 NAME 'mailAdmin'
     DESC 'Mail Domain Admin' SUP top STRUCTURAL
     MUST ( mail )