[Mailman-Users] smtp error - [Errno 111] Connection refused - when trying to install MM 3.0

Danci Emanuel danci_emanuel at yahoo.com
Mon Jun 11 15:15:46 CEST 2012

Hello everyone!

I am working on configuring MM 3.0 on my machine using these
instructions - http://bazaar.launchpad.net/~mailman-coders/mailman/3.0/view/head:/src/mailman/docs/WebUIin5.rst 
and when I run the bin/test command (line 34), when running the 
'mailman.testing.layers.SMTPLayer tests' I get the following 
error: 'error: [Errno 111] Connection refused'. 

This is the complete error message: 
 Running mailman.testing.layers.SMTPLayer tests:
  Tear down mailman.testing.layers.LMTPLayer in 0.009 seconds.
  Set up mailman.testing.layers.SMTPLayer Traceback (most recent call last):
  File "/usr/local/mm3/mailman/eggs/zope.testrunner-4.0.4-py2.6.egg/zope/testrunner/runner.py", line 380, in run_layer
    setup_layer(options, layer, setup_layers)
  File "/usr/local/mm3/mailman/eggs/zope.testrunner-4.0.4-py2.6.egg/zope/testrunner/runner.py", line 672, in setup_layer
  File "/usr/local/mm3/mailman/src/mailman/testing/layers.py", line 254, in setUp
  File "/usr/local/mm3/mailman/src/mailman/testing/mta.py", line 197, in start
  File "/usr/local/mm3/mailman/eggs/lazr.smtptest-1.3-py2.6.egg/lazr/smtptest/controller.py", line 69, in start
    smtpd = self._connect()
  File "/usr/local/mm3/mailman/eggs/lazr.smtptest-1.3-py2.6.egg/lazr/smtptest/controller.py", line 60, in _connect
    smtpd.connect(self._server.host, self._server.port)
  File "/usr/lib/python2.6/smtplib.py", line 295, in connect
    self.sock = self._get_socket(host, port, self.timeout)
  File "/usr/lib/python2.6/smtplib.py", line 273, in _get_socket
    return socket.create_connection((port, host), timeout)
  File "/usr/lib/python2.6/socket.py", line 514, in create_connection
    raise error, msg
error: [Errno 111] Connection refused

I know that has to do something with the smtp server, 
but I do not know exactly how to solve it, so any feedback
is welcome!

Thanks in advance for your help! 

Emanuel Danci

More information about the Mailman-Users mailing list