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)
 
(12 intermediate revisions not shown)
Line 1: Line 1:
-
* [[iRedMail/FAQ/Integrate.MySQL.in.Amavisd |Integrate MySQL in Amavisd for better spam management]]
+
__TOC__
 +
 
 +
 
 +
* [[Release.Notes/iRedAdmin-Pro/LDAP/1.4.1 |Release notes of iRedAdmin-Pro-1.4.1]]
 +
* [[Release.Notes/iRedAdmin-Pro/LDAP/1.4.0 |Release notes of iRedAdmin-Pro-1.4.0]]
 +
* Any questions please mail to: support@ iredmail.org
 +
 
 +
 
 +
'''You can upgrade iRedAdmin-Pro-LDAP-1.3.0 to v1.4.0 or v1.4.1 with this tutorial.'''
 +
 
 +
= New features =
 +
== 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:
 +
 
 +
* [[iRedMail/FAQ/Integrate.MySQL.in.Amavisd |Integrate MySQL in Amavisd]]
* [[iRedMail/FAQ/Quarantining.Messages |Quarantining SPAM into MySQL with Amavisd]]
* [[iRedMail/FAQ/Quarantining.Messages |Quarantining SPAM into MySQL with Amavisd]]
-
* Display real-time mailbox usage:
+
 
-
** [[iRedMail/FAQ/Upgrade.Dovecot.1.1.to.1.2 |Upgrade Dovecot 1.1.x to 1.2.x]]
+
== Display real-time mailbox usage ==
-
** [[iRedMail/FAQ/Store.Realtime.Quota.In.MySQL |Store Realtime Quota in MySQL with Dovecot 1.2]]
+
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:
 +
* [[iRedMail/FAQ/Upgrade.Dovecot.1.1.to.1.2 |Upgrade Dovecot 1.1.x to 1.2.x]]
 +
* [[iRedMail/FAQ/Store.Realtime.Quota.In.MySQL |Store Realtime Quota in MySQL with Dovecot 1.2]]
 +
 
 +
= 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:
 +
{{cmd|<pre>
 +
# 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
 +
</pre>}}
 +
 
 +
* For Debian/Ubuntu users:
 +
{{cmd|<pre>
 +
# 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
 +
</pre>}}
 +
 
 +
* For FreeBSD users:
 +
{{cmd|<pre>
 +
# 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
 +
</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 should backup old '''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>
 +
skin =
 +
mailbox_type =
 +
hashed_maildir =
 +
dbn =
 +
</pre>}}
 +
 
 +
* New settings (used for Amavisd integration):
 +
 
 +
{{cfg|settings.ini|<pre>
 +
[amavisd]
 +
quarantine = True
 +
quarantine_port = 9998
 +
 
 +
logging_into_sql = True
 +
host = 127.0.0.1
 +
port = 3306
 +
db = amavisd
 +
user = amavisd
 +
passwd = mypasswd
 +
</pre>}}
 +
 
 +
'''Note''': Make sure you have '''quarantine = True''' and '''logging_into_sql = True'''.
 +
 
 +
* Set correct file permission:
 +
{{cmd|<pre>
 +
# chown iredadmin:iredadmin settings.ini
 +
# chmod 0400 settings.ini
 +
</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 13: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.

New features

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:

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:

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

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

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