Danci Emanuel | 11 Jun 15:15 2012
Picon

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

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
    layer.setUp()
  File "/usr/local/mm3/mailman/src/mailman/testing/layers.py", line 254, in setUp
    cls.smtpd.start()
  File "/usr/local/mm3/mailman/src/mailman/testing/mta.py", line 197, in start
    QueueController.start(self)
  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
------------------------------------------------------
Mailman-Users mailing list Mailman-Users <at> python.org
http://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: http://mail.python.org/mailman/options/mailman-users/gmmu-mailman-users%40m.gmane.org


Gmane