1 (edited by junos 2020-07-02 18:53:32)

Topic: no module named ipaddress

==== REQUIRED BASIC INFO OF YOUR IREDMAIL SERVER ====
- iRedMail version (check /etc/iredmail-release): 1.3
- Deployed with iRedMail Easy or the downloadable installer?iRedMail Easy
- Linux/BSD distribution name and version: Ubuntu 20.04 LTS
- 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.
====
I am trying out iRedMail for a project I am doing.

i tried to run  the command "python2 greylisting_admin.py --disable from xx.xx.xx.xx

i get the ouput:
Traceback (most recent call last):
  File "greylisting_admin.py", line 14, in <module>
    from libs import utils
  File "/opt/iRedAPD-4.1/tools/../libs/utils.py", line 9, in <module>
    import ipaddress
ImportError: No module named ipaddress

any help would be very much appreciated. tia

----

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 ipaddress

For iRedMail-1.3, the mlmmjadmin and iRedAPD now require Python 3, not Python 2.
So please run "python3 greylisting_admin.py ..." instead.