1

Topic: Seems Impossible to add whitelist domain

==== REQUIRED BASIC INFO OF YOUR IREDMAIL SERVER ====
- iRedMail version (check /etc/iredmail-release): 1.3.1
- Deployed with iRedMail Easy or the downloadable installer? Installer
- Linux/BSD distribution name and version: Ubuntu server 20.04.1
- Store mail accounts in which backend (LDAP/MySQL/PGSQL): MariaDB
- Web server (Apache or Nginx): Nginx
- Manage mail accounts with iRedAdmin-Pro? No
- [IMPORTANT] Related original log or error message is required if you're experiencing an issue.
====
Dear Sirs, Dear Mr. Huangbin,
I want to white listing all domain and sub-domain of mediamarkt.gr for all of my email users in order to permit emails coming from this domain. I read the documentation:
https://docs.iredmail.org/manage.iredapd.html

and I gave (as root) the following command:
python3 ./wblist_admin.py --add --whitelist @.mediamarkt.gr
and got on the terminal:
* Establishing SQL connection.
* Add inbound whitelist for account: @.
* Add senders: @.mediamarkt.gr

So, I assumed that everything is ok...

But, doing the verification I got nothing... see:
python3 ./wblist_admin.py --list --whitelist
I got on the terminal:
* Establishing SQL connection.
* List all inbound whitelist for account: @.
* No whitelist/blacklist.

The above does not seem ok to me. Is the --add --whitelist command ignored some how? What's wrong? Am I doing something wrong?
Please help me.

Thanks and Best Regards,
Mike Kranidis

2

Re: Seems Impossible to add whitelist domain

I'm using LDAP and Centos 7
Your commands worked perfectly on my system.

3

Re: Seems Impossible to add whitelist domain

To answer my question, after chatting with Mr. Huangbin, I discovered that the current version of iRedAPD 4.4 has a little problem regarding this feature. The git Master is corrected so I installed them and all are working fine now.
Thanks.