1

Topic: Blacklist doesn't work

======== Required information ====
- iRedMail version (check /etc/iredmail-release): 0.9.7
- Linux/BSD distribution name and version: Debian Stretch
- Store mail accounts in which backend (LDAP/MySQL/PGSQL): MySQL
- Web server (Apache or Nginx): Nginx
- Manage mail accounts with iRedAdmin-Pro? Yes
- [IMPORTANT] Related original log or error message is required if you're experiencing an issue.
====
Hi,
I added some senders to the blacklist sender-email and some to sender-domain in the backend. After that (and a reload) the blacklist boxes in the backend were empty. Also --list --blacklist shows no entries. So I assume, this doesn't work.
The backend shows a hint to enable amavisd_blacklist plugin but it was enabled (screenshots 1 and 2). The service in postfix is enabled too (screenshot 3).

What can I do to fix this issue?

Regards
Peter

Post's attachments

1.png
1.png 11.45 kb, file has never been downloaded. 

2.png
2.png 16.36 kb, file has never been downloaded. 

3.png
3.png 8.72 kb, file has never been downloaded. 

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

----

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

2

Re: Blacklist doesn't work

nuwinfo wrote:

I added some senders to the blacklist sender-email and some to sender-domain in the backend. After that (and a reload) the blacklist boxes in the backend were empty.

Did you add blacklists with iRedAdmin-Pro? If yes, could you please add some testing blacklists again? After submitting the blacklists, does iRedAdmin-Pro correctly display them in web UI?

After added blacklists, does command below correctly list the blacklists?

cd /opt/iredapd/tools/
python wblist_admin.py --list --blacklist

3

Re: Blacklist doesn't work

ZhangHuangbin wrote:
nuwinfo wrote:

I added some senders to the blacklist sender-email and some to sender-domain in the backend. After that (and a reload) the blacklist boxes in the backend were empty.

Did you add blacklists with iRedAdmin-Pro? If yes, could you please add some testing blacklists again? After submitting the blacklists, does iRedAdmin-Pro correctly display them in web UI?

After added blacklists, does command below correctly list the blacklists?

cd /opt/iredapd/tools/
python wblist_admin.py --list --blacklist

Yes, I added with Pro-version.
I added @johndoe.de manually in the blacklist and yes, the UI shows correct but:

python wblist_admin.py --list --blacklist
* Establishing SQL connection.
* List all inbound blacklist for account: @.
* No whitelist/blacklist.

4

Re: Blacklist doesn't work

nuwinfo wrote:

I added @johndoe.de manually in the blacklist and yes, the UI shows correct but:

Could you capture a screenshot of this web UI to help us understand this issue?

5

Re: Blacklist doesn't work

ZhangHuangbin wrote:
nuwinfo wrote:

I added @johndoe.de manually in the blacklist and yes, the UI shows correct but:

Could you capture a screenshot of this web UI to help us understand this issue?

Here they come:

Post's attachments

1.png
1.png 120.15 kb, file has never been downloaded. 

2.png
2.png 27.06 kb, file has never been downloaded. 

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

6

Re: Blacklist doesn't work

You should run command with "--account <user@ruhrmail.de>" option to get per-account white/blacklists:

python wblist_admin.py --account <user@ruhrmail.de> --list --blacklist

7

Re: Blacklist doesn't work

ZhangHuangbin wrote:

You should run command with "--account <user@ruhrmail.de>" option to get per-account white/blacklists:

python wblist_admin.py --account <user@ruhrmail.de> --list --blacklist

Okay, now I understand and it seems to work correctly. Only the "Plugin amavisd_wblist is required" message is irritating.

Regards
Peter

8

Re: Blacklist doesn't work

nuwinfo wrote:

Only the "Plugin amavisd_wblist is required" message is irritating.

This message is gone in upcoming iRedAdmin-Pro release.