[Mailman-Users] Name or service not known

Mark Sapiro msapiro at value.net
Sat Nov 5 02:34:05 CET 2005

Ole Markus With wrote:
>I tried to set up mailman with postfix but I can't seem to get mailman to
>send out mail. Postfix sends mail just fine, but when I for example make a
>new list, I get this error in the smtp-failure log:
>Nov 05 01:19:45 2005 (17939) delivery to with at yagr.com failed with code
>-1: (-2, 'Name or service not known')
>I did a search for this both on google and on this list, but nothing seem
>to be the same problem as mine.

That's odd. This google search
gets 51 hits, and I'm sure most are relevant.

Searching the FAQ wizard
>Mailman FAQ: http://www.python.org/cgi-bin/faqw-mm.py
for the simple string

   name or service

finds article 6.14 which is also relevant.

The problem is Python's smtplib can't find your host name or the IP
address for your hostname because it isn't in /etc/hosts or maybe
because of a resolve.conf problem as described in the FAQ.

Mark Sapiro <msapiro at value.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