1

Topic: Errors after update to Iredapd 4.3

==== REQUIRED BASIC INFO OF YOUR IREDMAIL SERVER ====
- iRedMail version (check /etc/iredmail-release): 1.3.1
- Deployed with iRedMail Easy or the downloadable installer?downloadable
- Linux/BSD distribution name and version: Freebsd 12.1
- Store mail accounts in which backend (LDAP/MySQL/PGSQL):mysql
- Web server (Apache or Nginx):ngins
- Manage mail accounts with iRedAdmin-Pro?no
- [IMPORTANT] Related original log or error message is required if you're experiencing an issue.
====
Hello,
After the recent upgradge to IredAPD 4.3, I am getting the following error in the log.

Traceback (most recent call last):
  File "/opt/iredapd/tools/spf_to_greylist_whitelists.py", line 69, in <module>
    from libs import utils, dnsspf
  File "/opt/iredapd/tools/../libs/dnsspf.py", line 2, in <module>
    from dns import resolver
ModuleNotFoundError: No module named 'dns'

Can you please help to rectify it?
BW,
T

----

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

2

Re: Errors after update to Iredapd 4.3

Do you have port "dns/py-dnspython" installed for Python 3?

3

Re: Errors after update to Iredapd 4.3

Thank you, Zhang.

No, I don't have it installed.

I still have py27. Is it safe to upgrade to python3.
I read in another post you said your code wasn't tested with python3 yet.

BW,
T

4

Re: Errors after update to Iredapd 4.3

iRedAPD (4.x) and mlmmjadmin (3.x) have been ported to Python 3, but not yet iRedAdmin (both open source edition and iRedAdmin-Pro).