1

Topic: No module named libs.logger on sql_force_change_password.py

==== REQUIRED BASIC INFO OF YOUR IREDMAIL SERVER ====
- iRedMail version (check /etc/iredmail-release):
- Deployed with iRedMail Easy or the downloadable installer?
- Linux/BSD distribution name and version:
- Store mail accounts in which backend (LDAP/MySQL/PGSQL):
- Web server (Apache or Nginx):
- Manage mail accounts with iRedAdmin-Pro?
- [IMPORTANT] Related original log or error message is required if you're experiencing an issue.
====

When we try to use the option of force user to change password periodically, the script sql_force_change_password.py gives out an error

python /opt/iredapd/plugins/sql_force_change_password.py
Traceback (most recent call last):
  File "/opt/iredapd/plugins/sql_force_change_password.py", line 28, in <module>
    from libs.logger import logger
ImportError: No module named libs.logger

Same error using

python2 /opt/iredapd/plugins/sql_force_change_password.py

Any help?

----

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

2

Re: No module named libs.logger on sql_force_change_password.py

FYI: https://docs.iredmail.org/force.user.to … sword.html