Topic: [SOLVED] cleanup_amavisd_db.py: No module named 'settings'
==== REQUIRED BASIC INFO OF YOUR IREDMAIL SERVER ====
- iRedMail version (check /etc/iredmail-release): iRedAdmin-1.4
- Deployed with iRedMail Easy or the downloadable installer? downloaded
- Linux/BSD distribution name and version: Ubuntu 20.04.3
- Store mail accounts in which backend (LDAP/MySQL/PGSQL): MariaDB 10.3.31
- Web server (Apache or Nginx): nginx 1.18.0
- Manage mail accounts with iRedAdmin-Pro? No
- [IMPORTANT] Related original log or error message is required if you're experiencing an issue.
====
root@host:~# python3 /opt/www/iredadmin/tools/cleanup_amavisd_db.py
Traceback (most recent call last):
File "/opt/www/iredadmin/tools/cleanup_amavisd_db.py", line 41, in <module>
import settings
ModuleNotFoundError: No module named 'settings'
root@host:~# pip3 install settings
ERROR: Could not find a version that satisfies the requirement settings (from versions: none)
ERROR: No matching distribution found for settings
Any help appreciated, thanks.
Regards
----
Spider Email Archiver: On-Premises, lightweight email archiving software developed by iRedMail team. Supports Amazon S3 compatible storage and custom branding.