1 (edited by Jochie 2012-12-30 23:26:06)

Topic: blacklist/whitelist gone

==== Required information ====
- iRedMail version: iRedAdmin-Pro-MySQL-1.5.1
- Store mail accounts in which backend (LDAP/MySQL/PGSQL): MySQL
- Linux/BSD distribution name and version:  Ubuntu 12.04LTS
- Related log if you're reporting an issue:
====

http://screenshots.iredmail.googlecode.com/hg/iredadmin/user_profile_restrictions.png  <-- as seen on this pic, theres the white/blacklist.
For some reason, after a fresh install mine is gone.

Do you have any clue as to why it wouldnt show up, after a fresh install?

2

Re: blacklist/whitelist gone

i've been doing some searching , by default policyd option in the settings of iredadmin is false. I've enabled it.

[Sun Dec 30 21:00:13 2012] [error] [client 1.2.3.4] Traceback (most recent call last):
[Sun Dec 30 21:00:13 2012] [error] [client 1.2.3.4]   File "/usr/lib/pymodules/python2.7/web/application.py", line 242, in process
[Sun Dec 30 21:00:13 2012] [error] [client 1.2.3.4]     return self.handle()
[Sun Dec 30 21:00:13 2012] [error] [client 1.2.3.4]   File "/usr/lib/pymodules/python2.7/web/application.py", line 233, in handle
[Sun Dec 30 21:00:13 2012] [error] [client 1.2.3.4]     return self._delegate(fn, self.fvars, args)
[Sun Dec 30 21:00:13 2012] [error] [client 1.2.3.4]   File "/usr/lib/pymodules/python2.7/web/application.py", line 415, in _delegate
[Sun Dec 30 21:00:13 2012] [error] [client 1.2.3.4]     return handle_class(cls)
[Sun Dec 30 21:00:13 2012] [error] [client 1.2.3.4]   File "/usr/lib/pymodules/python2.7/web/application.py", line 390, in handle_class
[Sun Dec 30 21:00:13 2012] [error] [client 1.2.3.4]     return tocall(*args)
[Sun Dec 30 21:00:13 2012] [error] [client 1.2.3.4]   File "/usr/share/apache2/iredadmin/controllers/decorators.py", line 21, in proxyfunc
[Sun Dec 30 21:00:13 2012] [error] [client 1.2.3.4]     return func(self, *args, **kw)
[Sun Dec 30 21:00:13 2012] [error] [client 1.2.3.4]   File "/usr/share/apache2/iredadmin/controllers/policyd/whitelist.py", line 18, in GET
[Sun Dec 30 21:00:13 2012] [error] [client 1.2.3.4]     whitelistLib = wlist.Whitelist()
[Sun Dec 30 21:00:13 2012] [error] [client 1.2.3.4] TypeError: __init__() should return None

Does this say anything to you?

https://domain.ext/iredadmin/system/blacklist and
https://domain.ext/iredadmin/system/whitelist
gives an internal server error which results in the above error.

3

Re: blacklist/whitelist gone

Jochie wrote:

i've been doing some searching , by default policyd option in the settings of iredadmin is false. I've enabled it.

iRedAdmin-Pro supports Policyd-1.82, but not the one provided by Ubuntu 12.04 - Cluebringer (a.k.a. Policyd-2).

4

Re: blacklist/whitelist gone

ZhangHuangbin wrote:
Jochie wrote:

i've been doing some searching , by default policyd option in the settings of iredadmin is false. I've enabled it.

iRedAdmin-Pro supports Policyd-1.82, but not the one provided by Ubuntu 12.04 - Cluebringer (a.k.a. Policyd-2).

The weird thing is, i reinstalled the same taste of OS, and my previous system had it, and now its gone.
Any workaround to get it working again? Or any suggestions.

Tnx!

5

Re: blacklist/whitelist gone

As mentioned in my previous post, it's not supported on Ubuntu 12.04. Sorry.

6

Re: blacklist/whitelist gone

so, switching back to debian 6 would do the trick?

7

Re: blacklist/whitelist gone

You can manage global white/blacklist (and more) with Cluebringer webui:
httpS://[your_server]/cluebringer/

8

Re: blacklist/whitelist gone

funny fact is, after opening the link provided above. I see the whitelist and blacklist in the pro-menu now.
Still an error when wanting to open up the white/blacklist. But i can add white/blacklist (i think).
Any idea as to how that's possible or it would work one way or the other?

9

Re: blacklist/whitelist gone

Hi Jochie,

White/blacklist in iRedAdmin-Pro won't work at all, because it doesn't support Cluebringer. So, please disable it in iRedAdin config file (settings.ini), and restart Apache web server.