Upgrade/iRedAdmin-Pro/LDAP/1.2.0-1.3.0

From iRedMail

(Difference between revisions)
Jump to: navigation, search
(Update iRedAdmin-Pro configure file settings.ini)
(Update iRedAdmin-Pro configure file settings.ini)
Line 8: Line 8:
Please follow this tutorial to enable throttling with Policyd:
Please follow this tutorial to enable throttling with Policyd:
* [[IRedMail/FAQ/Enable.Throttling |Enable sender & recipient throttling with Policyd]]
* [[IRedMail/FAQ/Enable.Throttling |Enable sender & recipient 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
 +
* Copy old config file
 +
* Restart Apache web server
 +
 +
Here we go:
 +
 +
* For RHEL/CentOS users:
 +
{{cmd|<pre>
 +
# 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/
 +
# /etc/init.d/httpd restart
 +
</pre>}}
 +
 +
* For Debian/Ubuntu users:
 +
{{cmd|<pre>
 +
# 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/
 +
# /etc/init.d/apache2 restart
 +
</pre>}}
 +
 +
* For FreeBSD users:
 +
{{cmd|<pre>
 +
# 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/
 +
# /usr/local/etc/rc.d/apache22 restart
 +
</pre>}}
= Update iRedAdmin-Pro configure file settings.ini =
= Update iRedAdmin-Pro configure file settings.ini =

Revision as of 04:35, 15 September 2010

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
  • Copy old config file
  • Restart Apache web server

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/
# /etc/init.d/httpd restart
  • 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/
# /etc/init.d/apache2 restart
  • 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/
# /usr/local/etc/rc.d/apache22 restart

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
Personal tools