1

Topic: iRedAdmin-Pro-LDAP-2.4.0 has been released.

Dear all,

iRedAdmin-Pro-LDAP-2.4.0 (a.k.a. iRedAdmin-Pro for OpenLDAP backend) is now available for upgrading and purchasing.

How to download the latest iRedAdmin-Pro

iRedAdmin-Pro customers can get download link of this new release by following steps below:

  • Login to iRedAdmin-Pro as global admin

  • Click "License" on the top-right corner, it will show you basic license info and a "Download" button if new version is available for upgrading.

If above steps don't work for you, please send an email to support @ iredmail.org to get download link of the latest release.

Below are detailed changes since iRedAdmin-Pro-LDAP-2.3.1.

PLANNED: Dropping support for Policyd and Cluebringer

We plan to completely remove code of Policyd/Cluebringer support in next iRedAdmin-Pro release, because:

  • Policyd v1: The last Policyd stable release (v1.8.2) was released in 2007, no further development, no binary package available in some Linux/BSD distributions, and not supported in recent iRedMail releases.

  • Cluebringer (a.k.a. Policyd v2) has been removed in iRedMail-0.9.3, because it's not under active development, no new release since 2013 (the latest stable release doesn't support IPv6). We have greylisting and throttling support in iRedAPD as replacement, and here's tutorial to help you migrate from Cluebringer to iRedAPD.

  • iRedAPD is under active development by iRedMail team.

In this iRedAdmin-Pro release, greylisting and throttling offered by iRedAPD conflict with Policyd/Cluebringer, so if you want to use Policyd/Cluebringer, please disable iRedAPD integration in iRedAdmin-Pro config file `settings.py` by setting `iredapd_enabled = False`.

Improvements
  • Able to restrict user to login from specified IP addresses or network. (under user profile page, tab "Advanced".)

  • Able to manage global, per-domain and per-user greylisting and throttle settings implemented by iRedAPD.

  • Able to list disabled domains, mail users, mailing lists and mail aliases.

  • Allow to store mail user's plain password in additional attribute of user account. Check `STORE_PLAIN_PASSWORD_IN_ADDITIONAL_ATTR` setting in file `libs/default_settings.py`.

  • Able to bypass bad-header checking in spam policy setting page.

  • Show iRedMail version number stored in /etc/iredmail-release.

  • Able to manage white/blacklists for outbound message.

  • tools/cleanup_amavisd_db.py won't cause lock issue or performance issue anymore.

  • New scripts:

    • tools/wblist_admin.py: manage white/blacklists on command line. Supported operations: add/delete/list whitelists or blacklists for server-wide, per-domain, per-user. Run the script without any arguments will show you help message. Note: tools/submit_wblist.py was removed.

    • tools/update_mailbox_quota.py: update mailbox quota for one user (specified on command line) or bulk users (read from a plain text file). Run the script without any arguments will show you help message.

Fixed issues
  • Not correctly update spam subject text (spam_subject_tag3). Thanks rafaelr <rafaelr _at_ icctek.com> for the report in forum.

  • Normal domain admin can view all hosted mail domain names by clicking the first character of mail domain name on domain list page. Thanks sylonhosting <info _at_ sylon.net> for the report in forum.

  • Cannot correctly handle improper unicode string in mail headers while viewing quarantined mail.

  • Not correctly submit per-domain white/blacklists while submitting from 'Quarantined Mails' page as normal domain admin.

  • Cannot set empty time zone and preferred language.

  • After updating user's enabled services under 'Advanced' tab in user profile page, newly created user will have both enabled or disabled additional service names.

  • Cannot generate proper maildir path when first 3 characters in username part of email address contains dot.

  • Cannot verify BCRYPT password hash with '{BLF-CRYPT}' prefix.

  • Cannot update white/blacklist as normal domain admin.

  • Not correctly set access restriction to account profile page.

  • Not correctly set domain as backup mx.

Updated translations
  • Germany (de_DE). Thanks Joachim Buthe <buthe _at_ gugw.tu-darmstadt.de> and Martin Hofheiz <m.hofheinz _at_ netzwerk-design.net>.

  • Spain (es_ES). Thanks informatica _at_ ttu.es.

  • Simplified Chinese (zh_CN).

----

Spider Email Archiver: On-Premises, lightweight email archiving software developed by iRedMail team. Supports Amazon S3 compatible storage and custom branding.

2 (edited by kmihalj 2015-12-16 18:29:43)

Re: iRedAdmin-Pro-LDAP-2.4.0 has been released.

I created new server with iRedMail 0.9.3, added new iRedAdmin Pro LDAP, all on fresh installed CentOS 7.

Plan was to move users and mailboxes to new server and to shutdown old server.

Well in iRedAdminPro on new server (which is now accessed by internal intranet IP) when I click on any page to go to next page I get "not found".

When I click on licence I get "internal server error".

Navigation by letters do nothing. (Filter accounts by first character in email address).

Nothig is changed. Default fresh installation, Apache, Sogo, RoundCube, LDAP backend.

Post's attachments

Obilježeno_007.png
Obilježeno_007.png 9.69 kb, file has never been downloaded. 

Obilježeno_008.png
Obilježeno_008.png 13.87 kb, file has never been downloaded. 

You don't have the permssions to download the attachments of this post.

3

Re: iRedAdmin-Pro-LDAP-2.4.0 has been released.

Sorry about this trouble.

kmihalj wrote:

When I click on licence I get "internal server error".

Bug in the latest iRedAdmin-Pro. Here's patch to fix it:

--- a/controllers/panel/log.py    Mon Dec 14 23:01:13 2015 +0800
+++ b/controllers/panel/log.py    Tue Dec 15 09:28:31 2015 +0800
@@ -3,9 +3,8 @@
 import web
 import settings
 from libs import __id__, __url_license_terms__
-from libs import iredutils
 from controllers import decorators
-from libs.panel import LOG_EVENTS, log as loglib
+from libs.panel import LOG_EVENTS, log as loglib, get_license_info
 
 session = web.config.get('_session')
 
@@ -115,7 +114,7 @@
 class License(object):
     @decorators.require_global_admin
     def GET(self):
-        info = iredutils.get_license_info()
+        info = get_license_info()
 
         if info[0] is True:
             if version < info[1].get('latestversion'):
kmihalj wrote:

Well in iRedAdminPro on new server (which is now accessed by internal intranet IP) when I click on any page to go to next page I get "not found".

Please try this patch:

diff -r 56dd01e7d5c6 libs/regxes.py
--- a/libs/regxes.py    Tue Dec 15 09:28:31 2015 +0800
+++ b/libs/regxes.py    Wed Dec 16 22:47:18 2015 +0800
@@ -6,7 +6,7 @@
 # Email address.
 #
 # Note: `+`, `=` are used in SRS rewritten addresses.
-email = r'''[\w\-][\w\-\.\+\=]*@[\w\-][\w\-\.]*\.[a-zA-Z0-9\-]{2,15}$'''
+email = r'''[\w\-][\w\-\.\+\=]*@[\w\-][\w\-\.]*\.[a-zA-Z0-9\-]{2,15}'''
 cmp_email = re.compile(email, re.IGNORECASE | re.DOTALL)
 
 # Wildcard sender address: 'user@*'
@@ -17,7 +17,7 @@
 # Domain name
 #
 # Single domain name.
-domain = r'''[\w\-][\w\-\.]*\.[a-z0-9\-]{2,25}$'''
+domain = r'''[\w\-][\w\-\.]*\.[a-z0-9\-]{2,25}'''
 cmp_domain = re.compile(domain, re.IGNORECASE | re.DOTALL)
 
 # Top level domain. e.g. .com, .biz, .org.
kmihalj wrote:

Navigation by letters do nothing. (Filter accounts by first character in email address).

I will try to reproduce this issue and come back later with a fix.

4

Re: iRedAdmin-Pro-LDAP-2.4.0 has been released.

kmihalj wrote:

Navigation by letters do nothing. (Filter accounts by first character in email address).

I cannot reproduce this issue, could you please try the 2 patches in above post, then try again?
Sorry about this.

5 (edited by kmihalj 2015-12-17 01:31:29)

Re: iRedAdmin-Pro-LDAP-2.4.0 has been released.

ZhangHuangbin wrote:
kmihalj wrote:

Navigation by letters do nothing. (Filter accounts by first character in email address).

I cannot reproduce this issue, could you please try the 2 patches in above post, then try again?
Sorry about this.

I apply patches and they solve navigation and licence, but selecting character in users list do nothing ...

Picture below show: I selected "B" but default users list is shown, not users which email starts with "B"

Post's attachments

Slika zaslona 2015-12-16 u 18.17.31.png
Slika zaslona 2015-12-16 u 18.17.31.png 47.93 kb, file has never been downloaded. 

You don't have the permssions to download the attachments of this post.

6

Re: iRedAdmin-Pro-LDAP-2.4.0 has been released.

Confirmed. it's a bug of the latst iRedAdmin-Pro-LDAP. here's patch to fix it, sorry about this trouble.

diff -r 6195988c8546 controllers/ldap/user.py
--- a/controllers/ldap/user.py    Wed Dec 16 22:54:43 2015 +0800
+++ b/controllers/ldap/user.py    Thu Dec 17 11:31:27 2015 +0800
@@ -36,8 +36,7 @@
         if 'starts_with' in web_input:
             first_char = web_input.get('starts_with')[:1].upper()
             if iredutils.is_valid_account_first_char(first_char):
-                if disabled_only:
-                    search_filter = '(&(objectClass=mailUser)(mail=%s*))' % first_char
+                search_filter = '(&(objectClass=mailUser)(mail=%s*))' % first_char
 
         userLib = userlib.User()
         result = userLib.list_accounts(domain=domain,

7

Re: iRedAdmin-Pro-LDAP-2.4.0 has been released.

Thanx .... all is good now smile !