Commits

Zhang Huangbin committed 48057ee

Add new column 'mailbox.language' in MySQL & PGSQL backends, used by iRedAdmin.

  • Participants
  • Parent commits 0a45ab0

Comments (0)

Files changed (5)

File iRedMail/ChangeLog

 iRedMail-0.8.1:
+    * Add new column 'mailbox.language' in MySQL & PGSQL backends, used by
+      iRedAdmin.
     * Make sure per-user BCC settings have higher priority than per-domain
       settings.
     * Enforce connections over https in Roundcube.
-    * Fix incorrect MySQL user password and databases in MySQL backup script.
     * Fixed:
+        + Incorrect MySQL user password and databases in MySQL backup script.
         + Add missing rotate config for iRedAPD log file on FreeBSD, OpenBSD.
         + Add missing config and SQL table required for sharing IMAP folder to
           anyone. Thanks BigMichi1 <bigmichi1 _at_ bigmichi1.de>.

File iRedMail/functions/policyd.sh

     perl -pi -e 's#^(TRIPLET_AUTH_TIMEOUT=)(.*)#${1}7d#' ${POLICYD_CONF}
     perl -pi -e 's#^(TRIPLET_UNAUTH_TIMEOUT=)(.*)#${1}2d#' ${POLICYD_CONF}
     perl -pi -e 's#^(OPTINOUT=)(.*)#${1}1#' ${POLICYD_CONF}
+    perl -pi -e 's#^(OPTINOUTALL=)(.*)#${1}1#' ${POLICYD_CONF}
 
     # Disable sender throttling here, it should be invoked in postfix
     # 'smtpd_end_of_data_restrictions'.

File iRedMail/samples/iredmail.mysql

     username VARCHAR(255) NOT NULL,
     password VARCHAR(255) NOT NULL DEFAULT '',
     name VARCHAR(255) NOT NULL DEFAULT '',
+    language VARCHAR(5) NOT NULL DEFAULT 'en_US',
     storagebasedirectory VARCHAR(255) NOT NULL DEFAULT '',
     storagenode VARCHAR(255) NOT NULL DEFAULT '',
     maildir VARCHAR(255) NOT NULL DEFAULT '',

File iRedMail/samples/iredmail.pgsql

     username VARCHAR(255) NOT NULL,
     password VARCHAR(255) NOT NULL DEFAULT '',
     name VARCHAR(255) NOT NULL DEFAULT '',
+    language VARCHAR(5) NOT NULL DEFAULT 'en_US',
     storagebasedirectory VARCHAR(255) NOT NULL DEFAULT '',
     storagenode VARCHAR(255) NOT NULL DEFAULT '',
     maildir VARCHAR(255) NOT NULL DEFAULT '',

File iRedMail/tools/backup_mysql.sh

 
         # Compress
         if [ X"${COMPRESS}" == X"YES" ]; then
-            ${CMD_COMPRESS} ${output_sql} &>>${LOGFILE}
+            ${CMD_COMPRESS} ${output_sql} >>${LOGFILE}
 
             if [ X"$?" == X'0' -a X"${DELETE_PLAIN_SQL_FILE}" == X'YES' ]; then
-                rm -f ${output_sql} &>> ${LOGFILE}
+                rm -f ${output_sql} >> ${LOGFILE}
             fi
         fi
     fi
 # Backup.
 echo "* Backing up databases ..." >> ${LOGFILE}
 for db in ${DATABASES}; do
-    backup_db ${db} &>>${LOGFILE}
+    backup_db ${db} >>${LOGFILE}
 
     if [ X"$?" == X"0" ]; then
         echo "  - ${db} [DONE]" >> ${LOGFILE}