Upgrade/iRedMail/0.7.4-0.8.0

From iRedMail

(Difference between revisions)
Jump to: navigation, search
(Disable case sensitive user authentication in Roundcube webmail)
Line 4: Line 4:
= General =
= General =
 +
 +
== Set strict file permission for Dovecot config files ==
 +
 +
There're two Dovecot config files are world-readable, we should set strict file owner and permission on them so that it won't leak SQL server infomation.
 +
 +
Please execute below command to fix it, then restart Dovecot service:
 +
 +
* On RHEL/CentOS/Scientific Linux 5.x:
 +
{{cmd|<pre>
 +
# chown dovecot:dovecot /etc/dovecot-used-quota.conf /etc/dovecot-share-folder.conf
 +
# chmod 0500 /etc/dovecot-used-quota.conf /etc/dovecot-share-folder.conf
 +
</pre>}}
 +
 +
* On RHEL/CentOS/Scientific Linux 6.x, Debian, Ubuntu, openSUSE:
 +
{{cmd|<pre>
 +
# chown dovecot:dovecot /etc/dovecot/dovecot-used-quota.conf /etc/dovecot/dovecot-share-folder.conf
 +
# chmod 0500 /etc/dovecot/dovecot-used-quota.conf /etc/dovecot/dovecot-share-folder.conf
 +
</pre>}}
 +
 +
* On FreeBSD:
 +
{{cmd|<pre>
 +
# chown dovecot:dovecot /usr/local/etc/dovecot-used-quota.conf /usr/local/etc/dovecot-share-folder.conf
 +
# chmod 0500 /usr/local/etc/dovecot-used-quota.conf /usr/local/etc/dovecot-share-folder.conf
 +
</pre>}}
 +
 +
== Enable case insensitive user authentication in Roundcube webmail ==
== Enable case insensitive user authentication in Roundcube webmail ==

Revision as of 09:56, 20 February 2012

Contents


THIS UPGRADE TUTORIAL IS A DRAFT, DO NOT APPLY IT.

General

Set strict file permission for Dovecot config files

There're two Dovecot config files are world-readable, we should set strict file owner and permission on them so that it won't leak SQL server infomation.

Please execute below command to fix it, then restart Dovecot service:

  • On RHEL/CentOS/Scientific Linux 5.x:
Terminal:
# chown dovecot:dovecot /etc/dovecot-used-quota.conf /etc/dovecot-share-folder.conf
# chmod 0500 /etc/dovecot-used-quota.conf /etc/dovecot-share-folder.conf
  • On RHEL/CentOS/Scientific Linux 6.x, Debian, Ubuntu, openSUSE:
Terminal:
# chown dovecot:dovecot /etc/dovecot/dovecot-used-quota.conf /etc/dovecot/dovecot-share-folder.conf
# chmod 0500 /etc/dovecot/dovecot-used-quota.conf /etc/dovecot/dovecot-share-folder.conf
  • On FreeBSD:
Terminal:
# chown dovecot:dovecot /usr/local/etc/dovecot-used-quota.conf /usr/local/etc/dovecot-share-folder.conf
# chmod 0500 /usr/local/etc/dovecot-used-quota.conf /usr/local/etc/dovecot-share-folder.conf


Enable case insensitive user authentication in Roundcube webmail

Please change below setting to true in Roundcube webmail config file 'config/main.inc.php' to enable case insensitive user authentication. The config file should be:

  • /var/www/roundcubemail/config/main.inc.php on RHEL/CentOS/Scientific Linux
  • /usr/share/apache2/roundcubemail/config.inc.php on Debian/Ubuntu
  • /srv/www/roundcubemail/config/main.inc.php on openSUSE
  • /usr/local/www/roundcubemail/config/main.inc.php on FreeBSD
File: config/main.inc.php
$rcmail_config['login_lc'] = false;
Personal tools