[Mailman-Users] DNS Rdatatype?

Mark Sapiro mark at msapiro.net
Tue Jun 30 05:09:12 CEST 2015


On 06/29/2015 07:51 PM, Larry Rosenman wrote:
> 
> [root at gothamweb02 ~]# python
> Python 2.4.3 (#1, Jan  9 2013, 06:47:03)
> [GCC 4.1.2 20080704 (Red Hat 4.1.2-54)] on linux2
> Type "help", "copyright", "credits" or "license" for more information.
>>>> import dns.resolver
>>>> dns.rdatatype.TXT
> 16
>>>>
> [root at gothamweb02 ~]#
> 


Look at /usr/lib/mailman/Mailman/Utils.py. Near the beginning do you see

try:
    import dns.resolver
    from dns.exception import DNSException
    dns_resolver = True
except ImportError:
    dns_resolver = False


If not, what do you see for imports of 'dns' modules?

Also, how do you start Mailman. If via an init.d script what Python does
it use (Note that a definition of PYTHON may be overridden by something
imported from /etc/sysconfig).

-- 
Mark Sapiro <mark at msapiro.net>        The highway is for gamblers,
San Francisco Bay Area, California    better use your sense - B. Dylan


More information about the Mailman-Users mailing list