[Mailman-Users] DNS Rdatatype?

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


On 06/29/2015 08:15 PM, Larry Rosenman wrote:

> Those lines ARE there:
> try:
>     import dns.resolver
>     from dns.exception import DNSException
>     dns_resolver = True
> except ImportError:
>     dns_resolver = False
> 
> init.d script:
...
> MAILMANHOME=/usr/lib/mailman
> MAILMANCTL=$MAILMANHOME/bin/mailmanctl


What is the shebang line at the top of /usr/lib/mailman/bin/mailmanctl?
Is it the python command you expect?

What if you do

sudo -u mailman python

and then do

import dns.resolver
dns.rdatatype.TXT

-- 
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