[Zope] Strange MailHost/smtplib problem ...

Jean-Francois.Doyon at CCRS.NRCan.gc.ca Jean-Francois.Doyon at CCRS.NRCan.gc.ca
Tue Mar 23 11:16:43 EST 2004


Hello,

I'm using 2.7/2.3.3 on RH7.3 ... I have a previous version of my site on
2.6.4/2.1.3 on the same server running fine as well.

The MailHost on the old one works fine, using a  DTML document and the
<dtml-sendmail> tag ...

On 2.7 however, I keep getting a "111, Connection Refused", with the EXACT
same setup.

Using tcpdump I've tracked it down to the fact that under 2.7, even though I
have a valid SMTP server and port specified, smtplib seems to insist on
using localhost for the outgoing connection, and for the SMTP server (i.e.
it tries to connect local to local, which isn't at all what I want or
specified).

Under 2.6.4, it works fine, the SMTP packet traffic shows up on the expected
interfaces and the mail gets out fine.

A quick look at the MailHost.py code doesn't bring up any obvious problems
...

Anybody else run into anything like this ?

Jean-François Doyon
Internet Service Development and Systems Support / Développement des
services et soutien de systèmes Internet
GeoAccess Division / Division GéoAccès
Canada Center for Remote Sensing / Centre canadien de télédétection
Natural Resources Canada / Ressources naturelles Canada
http://atlas.gc.ca
Phone: (613) 992-4902
Fax: (613) 947-2410




More information about the Zope mailing list