Upgrade/iRedAdmin-Pro/LDAP/1.2.0-1.3.0
From iRedMail
(Difference between revisions)
(Created page with '* Add [policyd] section in settings.ini for policyd integration.') |
(→Enable new version) |
||
| (15 intermediate revisions not shown) | |||
| Line 1: | Line 1: | ||
| - | * | + | __TOC__ |
| + | |||
| + | = Secure your existing iRedAdmin-Pro = | ||
| + | You can simply secure iRedAdmin-Pro with some simple settings, please follow this tutorial: | ||
| + | * [[Addition/Secure.Your.Exist.iRedAdmin |Secure your exist iRedAdmin]] | ||
| + | |||
| + | = Update iRedMail for sender/recipient throttling = | ||
| + | Please follow this tutorial to enable 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 | ||
| + | |||
| + | 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/ | ||
| + | </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/ | ||
| + | </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/ | ||
| + | </pre>}} | ||
| + | |||
| + | = 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: | ||
| + | {{cfg|settings.ini|<pre> | ||
| + | trace_level = | ||
| + | protocol_version = | ||
| + | default_pw_scheme = | ||
| + | </pre>}} | ||
| + | |||
| + | * New settings (used for Policyd integration): | ||
| + | |||
| + | {{cfg|settings.ini|<pre> | ||
| + | [policyd] | ||
| + | enabled = True | ||
| + | dbn = mysql | ||
| + | host = localhost | ||
| + | port = 3306 | ||
| + | db = policyd | ||
| + | user = policyd | ||
| + | passwd = secret_passwd | ||
| + | </pre>}} | ||
| + | |||
| + | = Restart Apache to make it work = | ||
| + | * For RHEL/CentOS user: | ||
| + | {{cmd|<pre> | ||
| + | # /etc/init.d/httpd restart | ||
| + | </pre>}} | ||
| + | |||
| + | * For Debian/Ubuntu user: | ||
| + | {{cmd|<pre> | ||
| + | # /etc/init.d/apache2 restart | ||
| + | </pre>}} | ||
| + | |||
| + | * For FreeBSD user: | ||
| + | {{cmd|<pre> | ||
| + | # /usr/local/etc/rc.d/apache22 restart | ||
| + | </pre>}} | ||
Current revision as of 08:09, 21 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
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 |
