1 (edited by Frank_at_work 2022-05-30 19:17:03)

Topic: [Solved] Error while managing whitelist with wblist_admin.py

==== REQUIRED BASIC INFO OF YOUR IREDMAIL SERVER ====
- iRedMail version 1.4.0 OPENLDAP edition.:
- Deployed with iRedMail Easy or the downloadable installer? Not shure
- Linux/BSD distribution name and version: UBUNTU 20.04
- Store mail accounts in which backend LDAP Users / MySQL for admin
- Web server (Apache or Nginx): Nginx
- Manage mail accounts with Samba-AD Users/iRedAdmin for admin
- [IMPORTANT] Related original log or error message is required if you're experiencing an issue.
====

Hi all,
i want to manage whitelisting (systemwide) with wblist_admin.py but i get an error while running the command as root:
----
# cd /opt/iredapd/tools/
# python wblist_admin.py --list --whitelist
Traceback (most recent call last):
  File "wblist_admin.py", line 7, in <module>
    import web
ImportError: No module named web
-----

I have looked into several how-tos. Looks really simple.
Tried
pip3 install web.py
did'nt fix
Upgraded to admin 1.7
did'nt fix
apt install libapache2-mod-wsgi-py3
did'nt fix

What am i doing wrong?
I have now no more idea what to google.
Any help is really welcome.

Thank you

Frank

----

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

2

Re: [Solved] Error while managing whitelist with wblist_admin.py

Run it with "python3", not "python".

3

Re: [Solved] Error while managing whitelist with wblist_admin.py

Thanks,
that worked fine.