Topic: Module missing web.py
==== REQUIRED BASIC INFO OF YOUR IREDMAIL SERVER ====
Comment on help file
iRedMail v1.2.1
iRedAdmin v1.0 (MySQL)
====
Hi
In this help page ( https://docs.iredmail.org/manage.iredapd.html ) it shows an example of setting a blacklist by calling a command using python3
python3 wblist_admin.py --account @mydomain.com --list --whitelist
However that leaves an error of module not found (line 8, web.py)
Following the iRed help files to fix this points to installing using python2 ( pip2) and that leaves it broken.
I did the pip-install ... >=0.51 as suggested https://forum.iredmail.org/topic16739-a … 42004.html
It is only when I altered the info from the top article to do a call in python2 that the error disappeared.
python2 wblist_admin.py --account @mydomain.com --list --whitelist
I think there is now a disconnect between the modern iredmail / iredadmin using python3 and the help docs for the issues around import.web.py causing issues. The help docs are less than 6 months old so likely to be a few people caught in the change over. Possibly the top help file needs a note to try using python2 when adding black lists.
I am using the latest version of iredmail, installed three months ago.
HTH
Shane
----
Spider Email Archiver: On-Premises, lightweight email archiving software developed by iRedMail team. Supports Amazon S3 compatible storage and custom branding.