RE: [Zope] Help with mail error -- Error Value: (111, 'Connection refused')
you can make sure your host is able to connect to the remote host using telnet on port 25. You will need to be on the Zope server and try and telnet on port 25 on the remote server. type: telnet yourmailhost 25 If it responds with something like: 220 mplsfw1.rottlundhomes.com ESMTP Sendmail 8.12.8/8.12.8; Fri, 9 Jul 2004 17:4 6:55 -0500 you know that at a minimum you can communicate to the mail host from your zope host. Gene -----Original Message----- From: Paul Winkler [mailto:pw_lists@slinkp.com] Sent: Friday, July 09, 2004 2:26 PM To: 'zope@zope.org' List Subject: Re: [Zope] Help with mail error -- Error Value: (111, 'Connection refused') On Fri, Jul 09, 2004 at 02:48:04PM -0400, Dan Gaibel wrote:
On Jul 9, 2004, at 1:36 PM, Paul Winkler wrote:
On Fri, Jul 09, 2004 at 01:01:29PM -0400, Dan Gaibel wrote:
After switching machines around due to a crash/recovery. I find that I'm getting an error when I try to use methods which utilize the Mailhost object. I get "Error Value: (111, 'Connection refused')" I don't understand what could have caused this change, except for changing IP addresses. Any thoughts? I'm running on RH 7.3, Zope 2.5.1, Python 2.1.3. Does Mailhost need to use sendmail?
It needs to use the MTA on whatever IP / port you configure it to use. By default this is port 25 on localhost. Go to your mailhost instance in the ZMI and check what you've got it set to, then check that the designated IP/port is actually available on the system that is running zope. Maybe since your IP changed, there are routing or firewall issues.
If I am using an external SMTP host, then there doesn't need to be any port available on my server, right? Just on the external machine?
right.
Changing IPs is the only possible cause I can think of for the problem, but I don't know what to look for.
that's why I suspect routing or firewall issues between your box and the mail server. It's happened to me before. -- Paul Winkler http://www.slinkp.com _______________________________________________ Zope maillist - Zope@zope.org http://mail.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://mail.zope.org/mailman/listinfo/zope-announce http://mail.zope.org/mailman/listinfo/zope-dev )
participants (1)
-
Tuttle, Gene