Upgrade/iRedAdmin-Pro/LDAP/1.3.0-1.4.0

From iRedMail
(Difference between revisions)
Jump to: navigation, search
(Update iRedAdmin-Pro configure file settings.ini)
 

Latest revision as of 06:42, 15 September 2011

Contents



You can upgrade iRedAdmin-Pro-LDAP-1.3.0 to v1.4.0 or v1.4.1 with this tutorial.

[edit] New features

[edit] Better SPAM management with Amavisd + MySQL integration

With Amavisd + MySQL integration, you can view sent/received mail logs in iRedAdmin-Pro, quarantine SPAM into MySQL, release or delete quarantined SPAMs.

Here's steps:

[edit] Display real-time mailbox usage

This feature requires dovecot-1.2 and its dictquota support, so if you're still running dovecot-1.1, please upgrade it.

Here's steps:

[edit] Enable new version

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

  • Uncompress iRedAdmin-Pro-1.4.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.4.0.tar.bz2
# cp -rf iRedAdmin-Pro-1.4.0 /var/www/
# cd /var/www/
# chown -R iredadmin:iredadmin iRedAdmin-Pro-1.4.0
# chmod -R 0555 iRedAdmin-Pro-1.4.0
# rm iredadmin      # This is old symbol link.
# ln -s iRedAdmin-Pro-1.4.0 iredadmin
  • For Debian/Ubuntu users:
Terminal:
# tar xjf iRedAdmin-Pro-1.4.0.tar.bz2
# cp -rf iRedAdmin-Pro-1.4.0 /usr/share/apache2/
# cd /usr/share/apache2/
# chown -R iredadmin:iredadmin iRedAdmin-Pro-1.4.0
# chmod -R 0555 iRedAdmin-Pro-1.4.0
# rm iredadmin      # This is old symbol link.
# ln -s iRedAdmin-Pro-1.4.0 iredadmin
  • For FreeBSD users:
Terminal:
# tar xjf iRedAdmin-Pro-1.4.0.tar.bz2
# cp -rf iRedAdmin-Pro-1.4.0 /usr/local/www/
# cd /usr/local/www/
# chown -R iredadmin:iredadmin iRedAdmin-Pro-1.4.0
# chmod -R 0555 iRedAdmin-Pro-1.4.0
# rm iredadmin      # This is old symbol link.
# ln -s iRedAdmin-Pro-1.4.0 iredadmin

[edit] 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 should backup old settings.ini, copy settings.ini.ldap.sample as new configure file, and then sync settings between these two files.

  • Removed settings:
File: settings.ini
skin =
mailbox_type =
hashed_maildir =
dbn =
  • New settings (used for Amavisd integration):
File: settings.ini
[amavisd]
quarantine = True
quarantine_port = 9998

logging_into_sql = True
host = 127.0.0.1
port = 3306
db = amavisd 
user = amavisd
passwd = mypasswd

Note: Make sure you have quarantine = True and logging_into_sql = True.

  • Set correct file permission:
Terminal:
# chown iredadmin:iredadmin settings.ini
# chmod 0400 settings.ini

[edit] 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