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 <[email protected]>        The highway is for gamblers,
San Francisco Bay Area, California    better use your sense - B. Dylan
------------------------------------------------------
Mailman-Users mailing list [email protected]
https://mail.python.org/mailman/listinfo/mailman-users
Mailman FAQ: http://wiki.list.org/x/AgA3
Security Policy: http://wiki.list.org/x/QIA9
Searchable Archives: http://www.mail-archive.com/mailman-users%40python.org/
Unsubscribe: 
https://mail.python.org/mailman/options/mailman-users/archive%40jab.org

Reply via email to