Upgrade/iRedAdmin-Pro/LDAP/1.2.0-1.3.0

From iRedMail
Jump to: navigation, search

Contents


Secure your existing iRedAdmin-Pro

You can simply secure iRedAdmin-Pro with some simple settings, please follow this tutorial:

Update iRedMail for sender/recipient throttling

Please follow this tutorial to enable throttling with Policyd:

Enable new version

To active new version of iRedAdmin-Pro, we need to:

  • Uncompress iRedAdmin-Pro-1.3.0.tar.bz2
  • Copy it to correct directory
  • Replace old symbol link

Here we go:

  • For RHEL/CentOS users:
Terminal:
# tar xjf iRedAdmin-Pro-1.3.0.tar.bz2
# cp -rf iRedAdmin-Pro-1.3.0 /var/www/
# cd /var/www/
# rm iredadmin      # This is old symbol link.
# ln -s iRedAdmin-Pro-1.3.0 iredadmin
# cp iRedAdmin-Pro-1.2.0/settings.ini iredadmin/
  • For Debian/Ubuntu users:
Terminal:
# tar xjf iRedAdmin-Pro-1.3.0.tar.bz2
# cp -rf iRedAdmin-Pro-1.3.0 /usr/share/apache2/
# cd /usr/share/apache2/
# rm iredadmin      # This is old symbol link.
# ln -s iRedAdmin-Pro-1.3.0 iredadmin
# cp iRedAdmin-Pro-1.2.0/settings.ini iredadmin/
  • For FreeBSD users:
Terminal:
# tar xjf iRedAdmin-Pro-1.3.0.tar.bz2
# cp -rf iRedAdmin-Pro-1.3.0 /usr/local/www/
# cd /usr/local/www/
# rm iredadmin      # This is old symbol link.
# ln -s iRedAdmin-Pro-1.3.0 iredadmin
# cp iRedAdmin-Pro-1.2.0/settings.ini iredadmin/

Update iRedAdmin-Pro configure file settings.ini

We removed some settings and add some new in configure file settings.ini, please update it before you use it.

You can backup existing settings.ini, copy settings.ini.ldap.sample as new configure file, and then sync settings between these two files.

  • Removed settings:
File: settings.ini
trace_level = 
protocol_version =
default_pw_scheme =
  • New settings (used for Policyd integration):
File: settings.ini
[policyd]
enabled = True
dbn = mysql
host = localhost
port = 3306
db = policyd
user = policyd
passwd = secret_passwd

Restart Apache to make it work

  • For RHEL/CentOS user:
Terminal:
# /etc/init.d/httpd restart
  • For Debian/Ubuntu user:
Terminal:
# /etc/init.d/apache2 restart
  • For FreeBSD user:
Terminal:
# /usr/local/etc/rc.d/apache22 restart
Personal tools