1

Topic: Whitelist/Blacklist 404 not found

==== Required information ====
- iRedMail version: iRedAdmin-Pro v1.7.2 (LDAP)
- Store mail accounts in which backend (LDAP/MySQL/PGSQL): LDAP
- Linux/BSD distribution name and version: CentOS release 5.5 (Final)
- Related log if you're reporting an issue:
"GET /iredadmin/system/whitelist HTTP/1.1" 404 29
====

Hi all,
when I log into iredmail as postmaster@domain.xx and click on system -> whitelist or blacklist button I have only a "not found" message. And this seems to be correct beacuse on my server does not exist the path for the url: https://mail.domain.xx/iredadmin/system/whitelist

This is my "ls -la" output for the /var/www/iredadmin folder:
dr-xr-xr-x  9 iredadmin iredadmin  4096 Jun  1  2012 .
drwxr-xr-x 20 root      root       4096 May 23  2012 ..
-r-xr-xr-x  1 iredadmin iredadmin    49 May 15  2012 AUTHORS
-r-xr-xr-x  1 iredadmin iredadmin 15618 May 15  2012 ChangeLog.ldap
dr-xr-xr-x  6 iredadmin iredadmin  4096 May 15  2012 controllers
dr-xr-xr-x  3 iredadmin iredadmin  4096 May 15  2012 docs
-r-xr-xr-x  1 iredadmin iredadmin   550 May 15  2012 EULA
dr-xr-xr-x 15 iredadmin iredadmin  4096 May 15  2012 i18n
-r-xr-xr-x  1 iredadmin iredadmin   402 May 15  2012 iredadmin.py
dr-xr-xr-x  6 iredadmin iredadmin  4096 May 15  2012 libs
-r-xr-xr-x  1 iredadmin iredadmin   416 May 15  2012 README
-r--------  1 iredadmin iredadmin  4628 Jun  1  2012 settings.ini
-r-xr-xr-x  1 iredadmin iredadmin  4302 May 15  2012 settings.ini.ldap.sample
dr-xr-xr-x  4 iredadmin iredadmin  4096 May 15  2012 static
dr-xr-xr-x  3 iredadmin iredadmin  4096 May 15  2012 templates
dr-xr-xr-x  2 iredadmin iredadmin  4096 May 15  2012 tools

How can I miss the folder /var/www/iredadmin/system? And how can I create it?

Thanks for your collaboration,
Cocco.

----

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

2

Re: Whitelist/Blacklist 404 not found

- Do you have directory /var/www/iredadmin/libs/policyd/ and /var/www/iredadmin/controllers/policyd?
- Do you have below settings in /var/www/iredadmin/settings.ini?

[policyd]
enabled = True

3

Re: Whitelist/Blacklist 404 not found

ZhangHuangbin wrote:

- Do you have directory /var/www/iredadmin/libs/policyd/ and /var/www/iredadmin/controllers/policyd?
- Do you have below settings in /var/www/iredadmin/settings.ini?

[policyd]
enabled = True

Yes I have both folders. Policyd is disabled.

4

Re: Whitelist/Blacklist 404 not found

mr.cocco wrote:

Policyd is disabled.

Please enable it, otherwise the URL (/system/whitelist, /system/blacklist) will not be activated.

5 (edited by mr.cocco 2012-12-21 22:23:42)

Re: Whitelist/Blacklist 404 not found

Hi Zhang,
I have enabled policyd. Now /system/whitelist and /system/blacklist are available but only for my general postmaster admin.
When I logon into iredadmin as a customer domain admin the links /system/whitelist and /system/blacklist are not shown and if i try to manually type the urls I got the error "permission denied" and the url in address bar become "https://mail.domain.xx/iredadmin/domain … ION_DENIED"

Thanks for your collaboration,
Cocco.

6

Re: Whitelist/Blacklist 404 not found

Hi Cocco,

Currently, Policyd provides server-wide white/blacklisting, so it's available to global admin through iRedAdmin.