Upgrade/iRedAdmin-Pro/LDAP/1.3.0-1.4.0
From iRedMail
(Difference between revisions)
(→Display real-time mailbox usage) |
|||
| Line 19: | Line 19: | ||
* [[iRedMail/FAQ/Upgrade.Dovecot.1.1.to.1.2 |Upgrade Dovecot 1.1.x to 1.2.x]] | * [[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]] | * [[iRedMail/FAQ/Store.Realtime.Quota.In.MySQL |Store Realtime Quota in MySQL with Dovecot 1.2]] | ||
| + | |||
| + | == Add missing value for mail users == | ||
| + | |||
| + | iRedMail-0.7.0 requires '''enabledService=smtpsecured''' for SMTP over SSL. so we should add it if users doesn't have it. | ||
| + | |||
| + | Steps: | ||
| + | * Download python script used to adding missing values. | ||
| + | {{cmd|<pre> | ||
| + | # cd /root/ | ||
| + | # wget http://iredmail.googlecode.com/hg/extra/update/updateLDAPValues_061_to_070.py | ||
| + | </pre>}} | ||
| + | |||
| + | * Open '''updateLDAPValues_061_to_070.py''', config below parameters in file head: | ||
| + | {{cfg|updateLDAPValues_061_to_070.py|<pre> | ||
| + | uri = 'ldap://127.0.0.1:389' | ||
| + | basedn = 'o=domains,dc=iredmail,dc=org' | ||
| + | bind_dn = 'cn=vmailadmin,dc=iredmail,dc=org' | ||
| + | bind_pw = 'passwd' | ||
| + | </pre>}} | ||
| + | |||
| + | Tip: | ||
| + | ** You can find them in iRedAdmin config file or '''iRedMail.tips''' file under your iRedMail installation directory. | ||
| + | ** Use 'cn=Manager' instead of 'cn=vmailadmin' here is ok too. | ||
| + | |||
| + | * Execute this script, it will add missing values for mail accounts: | ||
| + | {{cmd|<pre> | ||
| + | # python updateLDAPValues_061_to_070.py | ||
| + | </pre>}} | ||
= Enable new version = | = Enable new version = | ||
Revision as of 16:10, 27 January 2011
Contents |
- Release notes of iRedAdmin-Pro-1.4.0: Release.Notes/iRedAdmin-Pro/LDAP/1.4.0
- Any questions please mail to: support@ iredmail.org
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:
Add missing value for mail users
iRedMail-0.7.0 requires enabledService=smtpsecured for SMTP over SSL. so we should add it if users doesn't have it.
Steps:
- Download python script used to adding missing values.
| Terminal: |
# cd /root/ # wget http://iredmail.googlecode.com/hg/extra/update/updateLDAPValues_061_to_070.py |
- Open updateLDAPValues_061_to_070.py, config below parameters in file head:
| File: updateLDAPValues_061_to_070.py |
uri = 'ldap://127.0.0.1:389' basedn = 'o=domains,dc=iredmail,dc=org' bind_dn = 'cn=vmailadmin,dc=iredmail,dc=org' bind_pw = 'passwd' |
Tip:
- You can find them in iRedAdmin config file or iRedMail.tips file under your iRedMail installation directory.
- Use 'cn=Manager' instead of 'cn=vmailadmin' here is ok too.
- Execute this script, it will add missing values for mail accounts:
| Terminal: |
# python updateLDAPValues_061_to_070.py |
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/ # 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/ # 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/ # 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 = False quarantine_port = 9998 logging_into_sql = False host = 127.0.0.1 port = 3306 db = amavisd user = amavisd passwd = mypasswd |
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 |
