Unable to access maillists: AttributeError: 'module' object has no attribute 'default_algorithm'

Created:

2016-11-16 12:46:22 UTC

Modified:

2017-04-24 12:12:16 UTC

0

Was this article helpful?


Have more questions?

Submit a request

Unable to access maillists: AttributeError: 'module' object has no attribute 'default_algorithm'

Applicable to:

  • Plesk 12.5 for Linux

Symptoms

Mailman URL shown the following error after upgrade to Plesk 12.5:

 Bug in Mailman version 2.1.12

We're sorry, we hit a bug!

Execution of utility /usr/lib/mailman/bin/check_perms results in error:

Traceback (most recent call last):
File "/usr/lib/mailman/bin/check_perms", line 397, in <module>
checkmta()
File "/usr/lib/mailman/bin/check_perms", line 327, in checkmta
__import__(modname)
File "/usr/lib/mailman/Mailman/MTA/Manual.py", line 25, in <module>
from Mailman import Message
File "/usr/lib/mailman/Mailman/Message.py", line 37, in <module>
from Mailman import Utils
File "/usr/lib/mailman/Mailman/Utils.py", line 75, in <module>
import dns.resolver
File "/usr/lib/mailman/Mailman/dns/resolver.py", line 430, in <module>
class Resolver(object):
File "/usr/lib/mailman/Mailman/dns/resolver.py", line 918, in Resolver
algorithm=dns.tsig.default_algorithm):
AttributeError: 'module' object has no attribute 'default_algorithm'

python-dns package is installed:

# rpm -qa | grep python-dns
python-dns-1.5.0-3.el6.rf.noarch

Cause

mailman conflicts with outdated python-dns

Resolution

python-dns package is not provided by Plesk 12.5

Remove the package:

# rpm -e --nodeps python-dns
Have more questions? Submit a request
Please sign in to leave a comment.