1

Topic: ModuleNotFoundError: No module named 'web'

==== REQUIRED BASIC INFO OF YOUR IREDMAIL SERVER ====
- iRedMail version (check /etc/iredmail-release): 
  Version: 1.6.8 MARIADB edition.
  Installation : Brand new - no modifications

- Deployed with iRedMail Easy or the downloadable installer? No

- Linux/BSD distribution name and version:
          Operating System: Debian GNU/Linux 12 (bookworm)
          Kernel: Linux 6.1.0-21-amd64
- Store mail accounts in which backend (LDAP/MySQL/PGSQL): MySQL
- 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.
====

When I try to run:  python3 amavisd_wblist.py
I get :
Traceback (most recent call last):
  File "/opt/iRedAPD-5.3.3/plugins/amavisd_wblist.py", line 48, in <module>
    from web import sqlquote

For troubleshooting purposes, I ran tree /opt/iRedAPD-5.3.3/ > iRedAPD_Tree.txt and included the output as an attachment


Your assistance in fixing this would be greatly appreciated.

----

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

2

Re: ModuleNotFoundError: No module named 'web'

You should not run "/opt/iRedAPD-5.3.3/plugins/amavisd_wblist.py" script directly, it's a plugin, not a command line script tool.
I guess you're looking for "/opt/iRedAPD-5.3.3/tools/wblist_admin.py" instead.

3

Re: ModuleNotFoundError: No module named 'web'

Thank you
That worked.