Help with mail error -- Error Value: (111, 'Connection refused')
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? Many thanks, Dan
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. -- Paul Winkler http://www.slinkp.com
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? Changing IPs is the only possible cause I can think of for the problem, but I don't know what to look for. Thanks for the fast response, Dan
--
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 )
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
Dan Gaibel wrote:
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? Changing IPs is the only possible cause I can think of for the problem, but I don't know what to look for.
Is the external SMTP host configured with IP addresses which are allowed to connect to it ? If your servers IP has changed, this would be something to check. -- Les Ferguson Software developer Waitakere, NZ
participants (3)
-
Dan Gaibel -
Les Ferguson -
Paul Winkler