Status check dnspython ipv6 lookup error

After the last update, the status page and python script is broken after IPv6 address is looked up via

Can someone please fix this problem. I’ve reinstalled python, pip, fixed permission etc, all I know is that this stuff broke with the latest apt upgrades.

I’ve tried all the solutions listed here.


I know this error is effecting many people. Can someone please have a look at this issue?

ubuntu@mail:~/mailinabox/management$ sudo ./
[sudo] password for ubuntu:


✓ All system services are running.
:heavy_multiplication_x: The SSH server on this machine permits password-based login. A more secure way to log in is using a public key. Add your SSH public key to $HOME/.ssh/authorized_keys, check that you can log in without a
password, set the option ‘PasswordAuthentication no’ in /etc/ssh/sshd_config, and then restart the openssh via ‘sudo service ssh restart’.
✓ System software is up to date.
? You are running version Mail-in-a-Box v0.47. Mail-in-a-Box version check disabled by privacy setting.
✓ System administrator address exists as a mail alias. [ ↦,]
✓ The disk has 67.58 GB space remaining.
✓ System memory is 83% free.


✓ Firewall is active.
✓ Outbound mail (SMTP port 25) is not blocked.
✓ IP address is not blacklisted by
Traceback (most recent call last):
File “/usr/lib/python3.6/multiprocessing/”, line 119, in worker
result = (True, func(*args, **kwds))
File “/usr/lib/python3.6/multiprocessing/”, line 47, in starmapstar
return list(itertools.starmap(args[0], args[1]))
File “./”, line 349, in run_domain_checks_on_domain
check_mail_domain(domain, env, output)
File “./”, line 587, in check_mail_domain
mxhost = mx.split(’; ‘)[0].split(’ ')[1]
IndexError: list index out of range

The above exception was the direct cause of the following exception:

Traceback (most recent call last):
File “./”, line 976, in
run_checks(False, env, ConsoleOutput(), pool)
File “./”, line 64, in run_checks
run_domain_checks(rounded_values, env, output, pool)
File “./”, line 322, in run_domain_checks
ret = pool.starmap(run_domain_checks_on_domain, args, chunksize=1)
File “/usr/lib/python3.6/multiprocessing/”, line 274, in starmap
return self._map_async(func, iterable, starmapstar, chunksize).get()
File “/usr/lib/python3.6/multiprocessing/”, line 644, in get
raise self._value
IndexError: list index out of range

This is an issue which needs to be reported on the project’s GitHub page. This forum is for support so the devs do not regularly visit it.